diff options
Diffstat (limited to 'UnoControls/source/inc/OConnectionPointHelper.hxx')
-rw-r--r-- | UnoControls/source/inc/OConnectionPointHelper.hxx | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index b36147e727cb..0f6194d90a32 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -30,7 +30,7 @@ #define _OCONNECTIONPOINTHELPER_HXX //______________________________________________________________________________________________________________ -// includes of other projects +// includes of other projects //______________________________________________________________________________________________________________ #include <com/sun/star/lang/XConnectionPointContainer.hpp> @@ -39,12 +39,12 @@ #include <cppuhelper/propshlp.hxx> //______________________________________________________________________________________________________________ -// includes of my own project +// includes of my own project //______________________________________________________________________________________________________________ #include "OConnectionPointContainerHelper.hxx" //______________________________________________________________________________________________________________ -// namespaces +// namespaces //______________________________________________________________________________________________________________ namespace unocontrols{ @@ -53,25 +53,25 @@ namespace unocontrols{ #define CSS_LANG ::com::sun::star::lang //______________________________________________________________________________________________________________ -// defines +// defines //______________________________________________________________________________________________________________ //______________________________________________________________________________________________________________ -// class declaration OConnectionPointHelper +// class declaration OConnectionPointHelper //______________________________________________________________________________________________________________ -class OConnectionPointHelper : public CSS_LANG::XConnectionPoint - , public ::cppu::OWeakObject +class OConnectionPointHelper : public CSS_LANG::XConnectionPoint + , public ::cppu::OWeakObject { //______________________________________________________________________________________________________________ -// public methods +// public methods //______________________________________________________________________________________________________________ public: //__________________________________________________________________________________________________________ - // construct/destruct + // construct/destruct //__________________________________________________________________________________________________________ /**_________________________________________________________________________________________________________ @@ -87,9 +87,9 @@ public: @onerror */ - OConnectionPointHelper( ::osl::Mutex& aMutex , - OConnectionPointContainerHelper* pContainerImplementation , - CSS_UNO::Type aType ); + OConnectionPointHelper( ::osl::Mutex& aMutex , + OConnectionPointContainerHelper* pContainerImplementation , + CSS_UNO::Type aType ); /**_________________________________________________________________________________________________________ @short @@ -104,62 +104,62 @@ public: @onerror */ - virtual ~OConnectionPointHelper(); + virtual ~OConnectionPointHelper(); //________________________________________________________________________________________________________ - // XInterface + // XInterface //________________________________________________________________________________________________________ /**_______________________________________________________________________________________________________ - @short give answer, if interface is supported - @descr The interfaces are searched by type. + @short give answer, if interface is supported + @descr The interfaces are searched by type. - @seealso XInterface + @seealso XInterface @param "rType" is the type of searched interface. - @return Any information about found interface + @return Any information about found interface - @onerror A RuntimeException is thrown. + @onerror A RuntimeException is thrown. */ virtual CSS_UNO::Any SAL_CALL queryInterface( const CSS_UNO::Type& aType ) throw( CSS_UNO::RuntimeException ); /**_______________________________________________________________________________________________________ - @short increment refcount - @descr - + @short increment refcount + @descr - - @seealso XInterface - @seealso release() + @seealso XInterface + @seealso release() - @param - + @param - - @return - + @return - - @onerror A RuntimeException is thrown. + @onerror A RuntimeException is thrown. */ virtual void SAL_CALL acquire() throw(); /**_______________________________________________________________________________________________________ - @short decrement refcount - @descr - + @short decrement refcount + @descr - - @seealso XInterface - @seealso acquire() + @seealso XInterface + @seealso acquire() - @param - + @param - - @return - + @return - - @onerror A RuntimeException is thrown. + @onerror A RuntimeException is thrown. */ virtual void SAL_CALL release() throw(); //__________________________________________________________________________________________________________ - // XConnectionPoint + // XConnectionPoint //__________________________________________________________________________________________________________ /**_________________________________________________________________________________________________________ @@ -248,7 +248,7 @@ public: throw( CSS_UNO::RuntimeException ); //______________________________________________________________________________________________________________ -// private methods +// private methods //______________________________________________________________________________________________________________ private: @@ -284,26 +284,26 @@ private: void impl_UnlockContainer(); //______________________________________________________________________________________________________________ -// private variables +// private variables //______________________________________________________________________________________________________________ private: - ::osl::Mutex& m_aSharedMutex ; - CSS_UNO::WeakReference< CSS_LANG::XConnectionPointContainer > m_oContainerWeakReference ; // Reference to container-class!. Don't use Reference<...> + ::osl::Mutex& m_aSharedMutex ; + CSS_UNO::WeakReference< CSS_LANG::XConnectionPointContainer > m_oContainerWeakReference ; // Reference to container-class!. Don't use Reference<...> // It is a ring-reference => and must be a wekreference! - OConnectionPointContainerHelper* m_pContainerImplementation ; - CSS_UNO::Type m_aInterfaceType ; - CSS_UNO::Reference< CSS_UNO::XInterface > m_xLock ; + OConnectionPointContainerHelper* m_pContainerImplementation ; + CSS_UNO::Type m_aInterfaceType ; + CSS_UNO::Reference< CSS_UNO::XInterface > m_xLock ; -}; // class OConnectionPointHelper +}; // class OConnectionPointHelper // The namespace aliases are only used in this header #undef CSS_UNO #undef CSS_LANG -} // namespace unocontrols +} // namespace unocontrols -#endif // #ifndef _OCONNECTIONPOINTHELPER_HXX +#endif // #ifndef _OCONNECTIONPOINTHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |