mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-25 04:15:49 -04:00
9203fab207
git-svn-id: svn://localhost@6 8062f311-0dae-4547-b526-b8ab9ac864a5
30 lines
619 B
C++
30 lines
619 B
C++
#ifndef RECENTLIST_H_INCLUDED
|
|
#define RECENTLIST_H_INCLUDED
|
|
|
|
#include "wx/wxprec.h"
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/wx.h"
|
|
#endif
|
|
|
|
|
|
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
|