21 #ifndef FXFILEASSOCIATIONS_H 22 #define FXFILEASSOCIATIONS_H 115 static const FXchar defaultExecBinding[];
118 static const FXchar defaultDirBinding[];
121 static const FXchar defaultFileBinding[];
233 virtual void save(
FXStream& store)
const;
Registers stuff to know about the extension.
Definition: FXFileAssociations.h:36
FXString mimetype
Full extension name.
Definition: FXFileAssociations.h:39
FXIcon * bigiconopen
Big normal icon.
Definition: FXFileAssociations.h:41
An icon source is a class that loads an icon of any type.
Definition: FXIconSource.h:47
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
void setSettings(FXSettings *sdb)
Change settings database being used to determine extension mappings.
Definition: FXFileAssociations.h:144
The Settings class manages a key-value database.
Definition: FXSettings.h:34
FXString extension
Command to execute.
Definition: FXFileAssociations.h:38
FXIconSource * getIconSource() const
Return the current IconSource object.
Definition: FXFileAssociations.h:159
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
const FXString & getIconPath() const
Return the current icon search paths.
Definition: FXIconCache.h:91
void setIconPath(const FXString &path)
Set the icon search paths for the icon cache.
Definition: FXFileAssociations.h:164
void setIconPath(const FXString &p)
Set the icon search paths.
Definition: FXIconCache.h:88
FXIcon * miniicon
Big open icon.
Definition: FXFileAssociations.h:42
void setIconSource(FXIconSource *src)
Change the IconSource object used by the icon cache to load icons.
Definition: FXFileAssociations.h:154
void setIconSource(FXIconSource *src)
Change icon source.
Definition: FXIconCache.h:82
FXDragType dragtype
Mini open icon.
Definition: FXFileAssociations.h:44
The FileAssociations object manages file associations between a file extension and a FileAssoc record...
Definition: FXFileAssociations.h:101
FXSettings * getSettings() const
Return settings database.
Definition: FXFileAssociations.h:149
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
The Icon Cache manages a collection of icons.
Definition: FXIconCache.h:53
FXIcon * bigicon
Mime type name.
Definition: FXFileAssociations.h:40
FXIcon * miniiconopen
Mini normal icon.
Definition: FXFileAssociations.h:43
const FXString & getIconPath() const
Return the current icon search paths from the icon cache.
Definition: FXFileAssociations.h:169
FXIconSource * getIconSource() const
Return icon source.
Definition: FXIconCache.h:85
FXuint flags
Registered drag type.
Definition: FXFileAssociations.h:45
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42