Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GFileAssoc.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 #ifndef _FILE_ASSOC_H_
00006 #define _FILE_ASSOC_H_
00007 
00009 class GFileAssocAction
00010 {
00011 public:
00012     char *App;
00013     char *Action;
00014 
00015     GFileAssocAction();
00016     ~GFileAssocAction();
00017 };
00018 
00020 class GFileAssoc
00021 {
00022     class GFileAssocPrivate *d;
00023 
00024 public:
00025     GFileAssoc(char *MimeType, char *Extension);
00026     ~GFileAssoc();
00027 
00029     char *GetMimeType();
00030 
00032     char *GetExtension();
00033 
00035     bool GetExtensions(GArray<char*> &Ext);
00036 
00038     bool GetActions(GArray<GFileAssocAction*> &Actions);
00039 
00041     bool SetAction(GFileAssocAction *Action);
00042 
00044     bool SetIcon(char *File, int Index);
00045 };
00046 
00047 #endif

Generated on Wed Oct 26 14:46:48 2005 for Lgi by  doxygen 1.4.1