From 17f89bafd559b28b5a175aa82730226dfe9f7d69 Mon Sep 17 00:00:00 2001 From: Martin Prochnow Date: Sun, 12 Mar 2006 18:14:36 +0100 Subject: Version 0.3 - details for directories are shown now (# of entries, # of new entries) - option to shown the length of a recording - option to hide recording date, time and/or length --- mymenusetup.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 mymenusetup.c (limited to 'mymenusetup.c') diff --git a/mymenusetup.c b/mymenusetup.c new file mode 100644 index 0000000..2f3ae40 --- /dev/null +++ b/mymenusetup.c @@ -0,0 +1,22 @@ +#include +#include "mymenusetup.h" + +mySetup mysetup; + +myMenuSetup::myMenuSetup() +{ + showrecdate=mysetup.ShowRecDate; + showrectime=mysetup.ShowRecTime; + showreclength=mysetup.ShowRecLength; + + Add(new cMenuEditBoolItem(tr("Show recording date"),&showrecdate)); + Add(new cMenuEditBoolItem(tr("Show recording time"),&showrectime)); + Add(new cMenuEditBoolItem(tr("Show recording length"),&showreclength)); +} + +void myMenuSetup::Store() +{ + SetupStore("ShowRecDate",mysetup.ShowRecDate=showrecdate); + SetupStore("ShowRecTime",mysetup.ShowRecTime=showrectime); + SetupStore("ShowRecLength",mysetup.ShowRecLength=showreclength); +} -- cgit v1.2.3