From dfbd81c8c111d8df351dcf221c6a1d08bcaa13a2 Mon Sep 17 00:00:00 2001 From: Thomas Maass Date: Thu, 16 Jun 2011 17:55:50 +0200 Subject: Initial commit --- mainmenu.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 mainmenu.h (limited to 'mainmenu.h') 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 +#include +#include +#include +#include +#include +#include +#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 m_GameMap; + std::map::const_iterator m_MapIter; + cActions* Actions; + bool createGameList(); + eOSState ProcessKey(eKeys Key); + void FillFolders(); + void Open(); +}; + + + +#endif + + -- cgit v1.2.3