Files
GDevelop/IDE/RecentList.h
Florian 1fd9caafd3 Adapted ProjectManager and MainFrame to uses gd::Project instead of GDL's Game class.
Added NewProjectDialog.
Added PlatformManager.

git-svn-id: svn://localhost@858 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-10-03 20:05:58 +00:00

27 lines
580 B
C++

#ifndef RECENTLIST_H_INCLUDED
#define RECENTLIST_H_INCLUDED
#include <wx/arrstr.h>
class wxMenu;
class RecentList
{
public:
RecentList();
virtual ~RecentList();
void Append(const wxString &sValue);
void SetLastUsed(const wxString &sValue);
int GetEntryCount();
int GetMaxEntries();
wxString GetEntry(int Index);
void SetMaxEntries(int iNbEntries);
void SetAssociatedMenu(wxMenu *Menu);
private:
void UpdateMenu();
int p_iMax;
wxArrayString sEntry;
wxMenu *p_Menu;
};
#endif // RECENTLIST_H_INCLUDED