Initialize BRoster's MIME messenger lazily.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34402 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
/*
|
||||
* Copyright 2001-2007, Haiku.
|
||||
* Copyright 2001-2009, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Ingo Weinhold ([email protected])
|
||||
*/
|
||||
#ifndef _ROSTER_H
|
||||
#define _ROSTER_H
|
||||
@@ -166,7 +163,9 @@ class BRoster {
|
||||
status_t _SendToRunning(team_id team, int argc, const char *const *args,
|
||||
const BList *messageList, const entry_ref *ref,
|
||||
bool readyToRun) const;
|
||||
void _InitMessengers();
|
||||
void _InitMessenger();
|
||||
static status_t _InitMimeMessenger(void* data);
|
||||
BMessenger& _MimeMessenger();
|
||||
void _AddToRecentApps(const char *appSig) const;
|
||||
void _ClearRecentDocuments() const;
|
||||
void _ClearRecentFolders() const;
|
||||
@@ -176,7 +175,8 @@ class BRoster {
|
||||
|
||||
BMessenger fMessenger;
|
||||
BMessenger fMimeMessenger;
|
||||
uint32 _reserved[3];
|
||||
int32 fMimeMessengerInitOnce;
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
// global BRoster instance
|
||||
|
||||
Reference in New Issue
Block a user