From 1f20a66d046064871407441aee8d21412fd389d9 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 26 Mar 2010 20:49:46 +0000 Subject: Move ManagementAgent class statics to be file static to avoid exposing their types in the header file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928054 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/agent/ManagementAgent.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/agent/ManagementAgent.h b/cpp/include/qpid/agent/ManagementAgent.h index 41b6423624..b6ec82862c 100644 --- a/cpp/include/qpid/agent/ManagementAgent.h +++ b/cpp/include/qpid/agent/ManagementAgent.h @@ -24,7 +24,6 @@ #include "qpid/management/ManagementObject.h" #include "qpid/management/ManagementEvent.h" #include "qpid/management/Manageable.h" -#include "qpid/sys/Mutex.h" #include "qpid/client/ConnectionSettings.h" namespace qpid { @@ -45,11 +44,6 @@ class ManagementAgent QMF_AGENT_EXTERN Singleton(bool disableManagement = false); QMF_AGENT_EXTERN ~Singleton(); QMF_AGENT_EXTERN static ManagementAgent* getInstance(); - private: - static sys::Mutex lock; - static bool disabled; - static int refCount; - static ManagementAgent* agent; }; typedef enum { -- cgit v1.2.1