21 #ifndef FXRECENTFILES_H 22 #define FXRECENTFILES_H 58 static const FXchar key[32][7];
63 long onCmdClear(
FXObject*,FXSelector,
void*);
64 long onCmdFile(
FXObject*,FXSelector,
void*);
65 long onUpdFile(
FXObject*,FXSelector,
void*);
66 long onUpdAnyFiles(
FXObject*,FXSelector,
void*);
134 void setMaxFiles(FXuint mx);
158 FXString getFile(FXuint index)
const;
161 void setFile(FXuint index,
const FXString& filename);
164 void appendFile(
const FXString& filename);
167 void removeFile(
const FXString& filename);
173 virtual void save(
FXStream& store)
const;
FXSelector getSelector() const
Return the message id.
Definition: FXRecentFiles.h:155
FXuint getMaxFiles() const
Return the maximum number of files being tracked.
Definition: FXRecentFiles.h:137
FXSettings * getSettings() const
Return settings database.
Definition: FXRecentFiles.h:131
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
FXString getGroupName() const
Return group name.
Definition: FXRecentFiles.h:143
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
The Settings class manages a key-value database.
Definition: FXSettings.h:34
void setSettings(FXSettings *s)
Change settings database.
Definition: FXRecentFiles.h:128
void setTarget(FXObject *t)
Change the target.
Definition: FXRecentFiles.h:146
Definition: FX4Splitter.h:28
void setGroupName(const FXString &name)
Set group name.
Definition: FXRecentFiles.h:140
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
The Recent Files group manages a most recently used (MRU) file list by means of the standard system r...
Definition: FXRecentFiles.h:49
FXObject * getTarget() const
Get the target.
Definition: FXRecentFiles.h:149
void setSelector(FXSelector sel)
Change the message.
Definition: FXRecentFiles.h:152
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42