summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2012-06-07 17:54:04 +0200
committeranbr <vdr07@deltab.de>2012-06-07 17:54:04 +0200
commitad2769a298840b7742b0b1cc4f9be89fa42b1062 (patch)
treeb097f227814df05785111cfbb60eaad095b63062 /commands.h
parent2bbaf47b339e6ca452f2624be7be9e3e5ca6cf11 (diff)
downloadvdr-plugin-dvdswitch-ad2769a298840b7742b0b1cc4f9be89fa42b1062.tar.gz
vdr-plugin-dvdswitch-ad2769a298840b7742b0b1cc4f9be89fa42b1062.tar.bz2
Create image - show wrong selected sub folder
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/commands.h b/commands.h
index e7d402f..2ddc376 100644
--- a/commands.h
+++ b/commands.h
@@ -58,11 +58,11 @@ class cCMDDir : public cOsdMenu, private cDirHandlingOpt
char Dir[MaxFileName];
cMainMenu *OsdObject;
bool Select;
- char *Buffer;
+ char *LastDir;
cImageList &ImageList;
- void Build(char *dir = NULL);
- void SetDir(char *value = NULL)
+ void Build(const char *dir = NULL);
+ void SetDir(const char *value = NULL)
{
if(value)
strn0cpy(Dir, value, MaxFileName);
@@ -75,7 +75,7 @@ class cCMDDir : public cOsdMenu, private cDirHandlingOpt
eOSState Edit(cMainMenuItem *mItem);
eOSState Edit(eKeys Key);
public:
- cCMDDir(cImageList &ImageList, cMainMenu *osdobject = NULL, bool select = false, char *buffer = NULL);
+ cCMDDir(cImageList &ImageList, cMainMenu *osdobject = NULL, bool select = false, char *lastdir = NULL);
virtual eOSState ProcessKey(eKeys Key);
void SetHelp(void);
@@ -90,7 +90,7 @@ class cCMDMove : public cOsdMenu, private cDirHandlingOpt
bool Direct;
cImageList &ImageList;
- void Build(char *dir = NULL);
+ void Build(const char *dir = NULL);
public:
cCMDMove(cImageList &ImageList, const char *file, cMainMenu *osdobject, bool dir = true, bool direct = false);
~cCMDMove(void) { free(File); }