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