Kaydet (Commit) b4454c19 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Generally better to have DLLPUBLIC class with some DLLPRIVATE members

...in the same vein as 80a1a259.

Change-Id: I181d54475d82e2a01a56f48a13ac42dbad876d2c
üst 759f5d24
...@@ -33,29 +33,29 @@ namespace apphelper ...@@ -33,29 +33,29 @@ namespace apphelper
{ {
class LifeTimeGuard; class LifeTimeGuard;
class LifeTimeManager class OOO_DLLPUBLIC_CHARTTOOLS LifeTimeManager
{ {
friend class LifeTimeGuard; friend class LifeTimeGuard;
protected: protected:
mutable ::osl::Mutex m_aAccessMutex; mutable ::osl::Mutex m_aAccessMutex;
public: public:
OOO_DLLPUBLIC_CHARTTOOLS LifeTimeManager( ::com::sun::star::lang::XComponent* pComponent, bool bLongLastingCallsCancelable = false ); LifeTimeManager( ::com::sun::star::lang::XComponent* pComponent, bool bLongLastingCallsCancelable = false );
OOO_DLLPUBLIC_CHARTTOOLS virtual ~LifeTimeManager(); virtual ~LifeTimeManager();
OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposed( bool bAssert=true ); bool impl_isDisposed( bool bAssert=true );
OOO_DLLPUBLIC_CHARTTOOLS bool dispose() throw(::com::sun::star::uno::RuntimeException); bool dispose() throw(::com::sun::star::uno::RuntimeException);
public: public:
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer;
protected: protected:
virtual bool impl_canStartApiCall(); SAL_DLLPRIVATE virtual bool impl_canStartApiCall();
virtual void impl_apiCallCountReachedNull(){} SAL_DLLPRIVATE virtual void impl_apiCallCountReachedNull(){}
void impl_registerApiCall(bool bLongLastingCall); SAL_DLLPRIVATE void impl_registerApiCall(bool bLongLastingCall);
void impl_unregisterApiCall(bool bLongLastingCall); SAL_DLLPRIVATE void impl_unregisterApiCall(bool bLongLastingCall);
void impl_init(); SAL_DLLPRIVATE void impl_init();
protected: protected:
::com::sun::star::lang::XComponent* m_pComponent; ::com::sun::star::lang::XComponent* m_pComponent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment