BRoster: added missing const in Launch() variant.

* The argument array passed in is never touched.
This commit is contained in:
Axel Dörfler
2015-01-28 16:12:18 +01:00
parent 65b32f9c38
commit 85f43155fe
2 changed files with 33 additions and 25 deletions
+8 -7
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2001-2014 Haiku, Inc. All rights reserved.
* Copyright 2001-2015 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ROSTER_H
@@ -101,20 +101,21 @@ public:
// launch app
status_t Launch(const char* mimeType,
BMessage* initialMessage = NULL,
team_id* appTeam = NULL) const;
team_id* _appTeam = NULL) const;
status_t Launch(const char* mimeType, BList* messageList,
team_id* appTeam = NULL) const;
team_id* _appTeam = NULL) const;
status_t Launch(const char* mimeType, int argc,
char* *args, team_id* appTeam = NULL) const;
const char* const* args,
team_id* _appTeam = NULL) const;
status_t Launch(const entry_ref* ref,
const BMessage* initialMessage = NULL,
team_id* appTeam = NULL) const;
team_id* _appTeam = NULL) const;
status_t Launch(const entry_ref* ref,
const BList* messageList,
team_id* appTeam = NULL) const;
team_id* _appTeam = NULL) const;
status_t Launch(const entry_ref* ref, int argc,
const char* const* args,
team_id* appTeam = NULL) const;
team_id* _appTeam = NULL) const;
// recent documents, folders, apps
void GetRecentDocuments(BMessage* refList,