Roster: style fixes.

* Check if == NULL or == 0 explicitily
* Use NULL instead of 0 as default value for pointers in header.
* other little stuff, new lines, comments
This commit is contained in:
John Scipione
2014-06-25 19:31:24 -04:00
parent 9760ac0d19
commit 732c579702
2 changed files with 21 additions and 19 deletions
+8 -8
View File
@@ -100,21 +100,21 @@ public:
// launch app
status_t Launch(const char* mimeType,
BMessage* initialMessage = 0,
team_id* appTeam = 0) const;
BMessage* initialMessage = NULL,
team_id* appTeam = NULL) const;
status_t Launch(const char* mimeType, BList* messageList,
team_id* appTeam = 0) const;
team_id* appTeam = NULL) const;
status_t Launch(const char* mimeType, int argc,
char* *args, team_id* appTeam = 0) const;
char* *args, team_id* appTeam = NULL) const;
status_t Launch(const entry_ref* ref,
const BMessage* initialMessage = 0,
team_id* appTeam = 0) const;
const BMessage* initialMessage = NULL,
team_id* appTeam = NULL) const;
status_t Launch(const entry_ref* ref,
const BList* messageList,
team_id* appTeam = 0) const;
team_id* appTeam = NULL) const;
status_t Launch(const entry_ref* ref, int argc,
const char* const* args,
team_id* appTeam = 0) const;
team_id* appTeam = NULL) const;
// recent documents, folders, apps
void GetRecentDocuments(BMessage* refList,