mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00

Added NewProjectDialog. Added PlatformManager. git-svn-id: svn://localhost@858 8062f311-0dae-4547-b526-b8ab9ac864a5
27 lines
580 B
C++
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
|
|
|