Added a "confirm" parameter to BRoster::Shutdown() which causes the registrar
to ask the user to confirm shutting down the system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13563 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -143,7 +143,7 @@ private:
|
||||
class ArgVector;
|
||||
friend class Private;
|
||||
|
||||
status_t ShutDown(bool reboot);
|
||||
status_t ShutDown(bool reboot, bool confirm);
|
||||
|
||||
status_t AddApplication(const char *mimeSig, const entry_ref *ref,
|
||||
uint32 flags, team_id team, thread_id thread,
|
||||
|
||||
@@ -20,8 +20,8 @@ public:
|
||||
status_t SendTo(BMessage *message, BMessage *reply, bool mime);
|
||||
bool IsMessengerValid(bool mime) const;
|
||||
|
||||
status_t ShutDown(bool reboot)
|
||||
{ return fRoster->ShutDown(reboot); }
|
||||
status_t ShutDown(bool reboot, bool confirm)
|
||||
{ return fRoster->ShutDown(reboot, confirm); }
|
||||
|
||||
// needed by BApplication
|
||||
|
||||
|
||||
Reference in New Issue
Block a user