summaryrefslogtreecommitdiff
path: root/mainmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainmenu.h')
-rwxr-xr-xmainmenu.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/mainmenu.h b/mainmenu.h
new file mode 100755
index 0000000..0f68080
--- /dev/null
+++ b/mainmenu.h
@@ -0,0 +1,50 @@
+#ifndef MAINMENU_H
+#define MAINMENU_H
+
+
+
+#include <string>
+#include <algorithm>
+#include <sstream>
+#include <fstream>
+#include <iostream>
+#include <map>
+#include <vdr/osdbase.h>
+#include "actions.h"
+
+
+
+class cFolderList : public cOsdMenu
+{
+public:
+ cFolderList();
+ ~cFolderList();
+ std::string getRomName(std::string GameName);
+private:
+ eOSState ProcessKey(eKeys Key);
+ void createFolders();
+};
+
+
+
+class cGameList : public cOsdMenu
+{
+public:
+ cGameList(const char *Base=NULL);
+ ~cGameList();
+private:
+ const char* FolderName;
+ std::map<std::string, std::string> m_GameMap;
+ std::map<std::string, std::string>::const_iterator m_MapIter;
+ cActions* Actions;
+ bool createGameList();
+ eOSState ProcessKey(eKeys Key);
+ void FillFolders();
+ void Open();
+};
+
+
+
+#endif
+
+