Added default app flags to Add() so I could be lazy

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2002-11-08 08:38:21 +00:00
parent b2589492d0
commit 8528ca2e2a
+3 -1
View File
@@ -47,12 +47,14 @@ public:
RecentApps(); RecentApps();
~RecentApps(); ~RecentApps();
status_t Add(const char *appSig, int32 appFlags); status_t Add(const char *appSig, int32 appFlags = kQualifyingAppFlags);
status_t Add(const entry_ref *ref, int32 appFlags); status_t Add(const entry_ref *ref, int32 appFlags);
status_t Get(int32 maxCount, BMessage *list); status_t Get(int32 maxCount, BMessage *list);
status_t Clear(); status_t Clear();
status_t Print(); status_t Print();
status_t Save(FILE* file); status_t Save(FILE* file);
static const int32 kQualifyingAppFlags = 0;
private: private:
friend class BPrivate::TRoster; friend class BPrivate::TRoster;
// For loading from disk // For loading from disk