# Roster Tasks

Task Summary

Owner

BRoster

Joe Banafato

Task Details

BRoster Class

BRoster();

~BRoster();

bool IsRunning(const char* mime_sig) const;

bool IsRunning(entry_ref* ref) const;

team_id TeamFor(const char* mime_sig) const;

team_id TeamFor(entry_ref* ref) const;

void GetAppList(BList* team_id_list) const;

void GetAppList(const char* sig, BList* team_id_list) const;

status_t GetAppInfo(const char* sig, app_info* info) const;

status_t GetAppInfo(entry_ref* ref, app_info* info) const;

status_t GetRunningAppInfo(team_id team, app_info* info) const;

status_t GetActiveAppInfo(app_info* info) const;

status_t FindApp(const char* mime_type, entry_ref* app) const;

status_t FindApp(entry_ref* ref, entry_ref* app) const;

status_t Broadcast(BMessage* msg) const;

status_t Broadcast(BMessage* msg, BMessenger reply_to) const;

status_t StartWatching(BMessenger target, uint32 event_mask = B_REQUEST_LAUNCHED | B_REQUEST_QUIT) const;

status_t StopWatching(BMessenger target) const;

status_t ActivateApp(team_id team) const;

status_t Launch(const char* mime_type, BMessage* initial_msgs = NULL, team_id* app_team = NULL) const;

status_t Launch(const char* mime_type, BList* message_list, team_id* app_team = NULL) const;

status_t Launch(const char* mime_type, int argc, char** args, team_id* app_team = NULL) const;

status_t Launch(const entry_ref* ref, const BMessage* initial_message = NULL, team_id* app_team = NULL) const;

status_t Launch(const entry_ref* ref, const BList* message_list, team_id* app_team = NULL) const;

status_t Launch(const entry_ref* ref, int argc, const char* const* args, team_id* app_team = NULL) const;

void GetRecentDocuments(BMessage* refList, int32 maxCount, const char* ofType = NULL, const char* openedByAppSig = NULL) const;

void GetRecentDocuments(BMessage* refList, int32 maxCount, const char* ofTypeList[], int32 ofTypeListCount, const char* openedByAppSig = NULL) const;

void GetRecentFolders(BMessage* refList, int32 maxCount, const char* openedByAppSig = NULL) const;

void GetRecentApps(BMessage* refList, int32 maxCount) const;

void AddToRecentDocuments(const entry_ref* doc, const char* appSig = NULL) const;

void AddToRecentFolders(const entry_ref* folder,const char* appSig = NULL) const;

Legend

| Functional Spec
| Use Cases
| Unit Tests
| Technical Spec
| Implementation
| Completed

The OpenBeOS project is hosted by:

Copyright © 2001-2002 OpenBeOS Project