Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the

Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-07-17 16:37:11 +00:00
parent f0da8b3052
commit 2fd4a0411b
8 changed files with 50 additions and 33 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ private:
class ArgVector;
friend class Private;
status_t ShutDown(bool reboot, bool confirm);
status_t ShutDown(bool reboot, bool confirm, bool synchronous);
status_t AddApplication(const char *mimeSig, const entry_ref *ref,
uint32 flags, team_id team, thread_id thread,
+2 -2
View File
@@ -20,8 +20,8 @@ public:
status_t SendTo(BMessage *message, BMessage *reply, bool mime);
bool IsMessengerValid(bool mime) const;
status_t ShutDown(bool reboot, bool confirm)
{ return fRoster->ShutDown(reboot, confirm); }
status_t ShutDown(bool reboot, bool confirm, bool synchronous)
{ return fRoster->ShutDown(reboot, confirm, synchronous); }
// needed by BApplication