Added GetSupportingApps()/SetSupportedTypes() functionality

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@923 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2002-08-28 23:57:30 +00:00
parent 682805b291
commit 41b9ba9155
2 changed files with 15 additions and 8 deletions
+4 -2
View File
@@ -11,6 +11,7 @@
#define _MIME_DATABASE_H
#include <mime/InstalledTypes.h>
#include <mime/SupportingApps.h>
#include <Mime.h>
#include <Messenger.h>
#include <StorageDefs.h>
@@ -49,7 +50,7 @@ public:
size_t dataSize, icon_size which);
status_t SetPreferredApp(const char *type, const char *signature, app_verb verb = B_OPEN);
// status_t SetSnifferRule(const char *);
status_t SetSupportedTypes(const char *type, const BMessage *types);
status_t SetSupportedTypes(const char *type, const BMessage *types, bool fullSync);
// Non-atomic Get()
status_t GetInstalledSupertypes(BMessage *super_types);
@@ -96,8 +97,9 @@ private:
status_t SendMonitorUpdate(BMessage &msg);
status_t fCStatus;
std::set<BMessenger> fMonitorSet;
std::set<BMessenger> fMonitorMessengers;
InstalledTypes fInstalledTypes;
SupportingApps fSupportingApps;
};
} // namespace Mime