Added code for:
+ {Get,Set}IconForType()
+ Delete*() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@834 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -147,10 +147,21 @@ public:
|
||||
/* Deprecated Use SetTo instead. */
|
||||
status_t SetType(const char *mimeType);
|
||||
|
||||
/* Brand new Delete() methods */
|
||||
status_t DeleteIcon(icon_size size);
|
||||
status_t DeletePreferredApp(app_verb verb = B_OPEN);
|
||||
status_t DeleteAttrInfo();
|
||||
status_t DeleteFileExtensions();
|
||||
status_t DeleteShortDescription();
|
||||
status_t DeleteLongDescription();
|
||||
status_t DeleteSnifferRule();
|
||||
status_t DeleteIconForType(const char *type, icon_size which);
|
||||
status_t DeleteAppHint();
|
||||
|
||||
private:
|
||||
BMimeType(const char *mimeType, const char *mimePath);
|
||||
// if mimePath is NULL, defaults to "/boot/home/config/settings/beos_mime/"
|
||||
|
||||
|
||||
friend class MimeTypeTest;
|
||||
|
||||
// Uncomment, when needed...
|
||||
|
||||
Reference in New Issue
Block a user