summaryrefslogtreecommitdiff
path: root/tubes/source/manager.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-07-26 12:12:42 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-26 15:59:20 +0200
commitf86cc45d8795073e61d39edc469a4876085941b8 (patch)
tree28e4edd40d2767fa8e1c5c0d77d56079b3a51af6 /tubes/source/manager.cxx
parentbb9399e2cf0072d1de7cb0aea162d107ebde4360 (diff)
tubes: move mbChannelReadyHandlerInvoked to pImpl
Change-Id: If2ddd8bdcb11727be719e8966aa689fbabd94f44
Diffstat (limited to 'tubes/source/manager.cxx')
-rw-r--r--tubes/source/manager.cxx19
1 files changed, 14 insertions, 5 deletions
diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index cfff455951c2..9fe6d4fb579f 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -90,7 +90,8 @@ public:
TpBaseClient* mpFileTransferClient;
TpAccountManager* mpAccountManager;
TeleManager::AccountManagerStatus meAccountManagerStatus;
- bool mbAccountManagerReadyHandlerInvoked;
+ bool mbAccountManagerReadyHandlerInvoked : 1;
+ bool mbChannelReadyHandlerInvoked : 1;
ContactList* mpContactList;
OString msCurrentUUID;
typedef std::map< OString, TeleConference* > MapStringConference;
@@ -383,8 +384,6 @@ static void TeleManager_AccountManagerReadyHandler(
TeleManager::TeleManager()
- :
- mbChannelReadyHandlerInvoked( false)
{
SAL_INFO( "tubes", "TeleManager::get: count: " << nRefCount );
// The glib object types need to be initialized, else we aren't going
@@ -734,12 +733,21 @@ void TeleManager::setAccountManagerReadyHandlerInvoked( bool b )
pImpl->mbAccountManagerReadyHandlerInvoked = b;
}
-
bool TeleManager::isAccountManagerReadyHandlerInvoked() const
{
return pImpl->mbAccountManagerReadyHandlerInvoked;
}
+void TeleManager::setChannelReadyHandlerInvoked( bool b )
+{
+ pImpl->mbChannelReadyHandlerInvoked = b;
+}
+
+bool TeleManager::isChannelReadyHandlerInvoked() const
+{
+ return pImpl->mbChannelReadyHandlerInvoked;
+}
+
ContactList* TeleManager::getContactList() const
{
return pImpl->mpContactList;
@@ -902,7 +910,8 @@ TeleManagerImpl::TeleManagerImpl()
mpFileTransferClient( NULL),
mpAccountManager( NULL),
meAccountManagerStatus( TeleManager::AMS_UNINITIALIZED),
- mbAccountManagerReadyHandlerInvoked( false)
+ mbAccountManagerReadyHandlerInvoked( false),
+ mbChannelReadyHandlerInvoked( false)
{
}