12 #ifndef ROOT_TGMimeTypes
13 #define ROOT_TGMimeTypes
28 #ifndef ROOT_TGPicture
72 void AddType(
const char *
type,
const char *pat,
const char *icon,
const char *sicon,
const char *action);
void AddType(const char *type, const char *pat, const char *icon, const char *sicon, const char *action)
Add a mime type to the list of mime types.
void Print(Option_t *option="") const
Print list of mime types.
const TGPicture * GetIcon(const char *filename, Bool_t small_icon)
Return icon belonging to mime type of filename.
void SaveMimes()
Save mime types in user's mime type file.
~TGMime()
Delete mime object.
Regular expression class.
TGMimeTypes & operator=(const TGMimeTypes &gmt)
Assignment operator.
static const char * filename()
TGMimeTypes(const TGMimeTypes &gmt)
Copy constructor.
Bool_t HasChanged() const
Bool_t GetType(const char *filename, char *type)
Return in type the mime type belonging to filename.
TGMime * Find(const char *filename)
Given a filename find the matching mime type object.
#define ClassDef(name, id)
virtual ~TGMimeTypes()
Delete mime type pool.
Bool_t GetAction(const char *filename, char *action)
Return in action the mime action string belonging to filename.
Mother of all ROOT objects.