summaryrefslogtreecommitdiff
path: root/UnoControls/inc/basecontrol.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/inc/basecontrol.hxx')
-rw-r--r--UnoControls/inc/basecontrol.hxx80
1 files changed, 40 insertions, 40 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index be90e9d0f32c..68c47e69f471 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -92,22 +92,22 @@ namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
} } } }
-//____________________________________________________________________________________________________________
+
// "namespaces"
-//____________________________________________________________________________________________________________
+
namespace unocontrols{
-//____________________________________________________________________________________________________________
+
// macros
-//____________________________________________________________________________________________________________
+
#define TRGB_COLORDATA(TRANSPARENCE,RED,GREEN,BLUE) \
((sal_Int32)(((sal_uInt32)((sal_uInt8)(BLUE))))|(((sal_uInt32)((sal_uInt8)(GREEN)))<<8)|(((sal_uInt32)((sal_uInt8)(RED)))<<16)|(((sal_uInt32)((sal_uInt8)(TRANSPARENCE)))<<24))
-//____________________________________________________________________________________________________________
+
// structs
-//____________________________________________________________________________________________________________
+
struct IMPL_MutexContainer
{
@@ -124,15 +124,15 @@ class BaseControl : public ::com::sun::star::lang::XServiceInfo
, public IMPL_MutexContainer
, public ::cppu::OComponentHelper
{
-//____________________________________________________________________________________________________________
+
// public methods
-//____________________________________________________________________________________________________________
+
public:
- //________________________________________________________________________________________________________
+
// construct/destruct
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -164,9 +164,9 @@ public:
virtual ~BaseControl();
- //________________________________________________________________________________________________________
+
// XInterface
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short give answer, if interface is supported
@@ -217,9 +217,9 @@ public:
virtual void SAL_CALL release() throw();
- //________________________________________________________________________________________________________
+
// XTypeProvider
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short get information about supported interfaces
@@ -254,9 +254,9 @@ public:
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XAggregation
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -292,9 +292,9 @@ public:
const ::com::sun::star::uno::Type& aType
) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XServiceInfo
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -345,9 +345,9 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XComponent
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -398,9 +398,9 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener
) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XControl
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -563,9 +563,9 @@ public:
virtual sal_Bool SAL_CALL isTransparent() throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XWindow
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -850,9 +850,9 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener
) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XView
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -934,9 +934,9 @@ public:
virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// ::com::sun::star::lang::XEventListener
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -955,9 +955,9 @@ public:
const ::com::sun::star::lang::EventObject& rSource
) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XPaintListener
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -976,9 +976,9 @@ public:
const ::com::sun::star::awt::PaintEvent& rEvent
) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// XWindowListener
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -998,9 +998,9 @@ public:
virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
- //________________________________________________________________________________________________________
+
// impl but public method to register service
- //________________________________________________________________________________________________________
+
/**_______________________________________________________________________________________________________
@short -
@@ -1032,9 +1032,9 @@ public:
static const OUString impl_getStaticImplementationName();
-//____________________________________________________________________________________________________________
+
// protected methods
-//____________________________________________________________________________________________________________
+
protected:
using OComponentHelper::disposing;
@@ -1178,9 +1178,9 @@ protected:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_getDelegator();
-//____________________________________________________________________________________________________________
+
// private methods
-//____________________________________________________________________________________________________________
+
private:
@@ -1214,9 +1214,9 @@ private:
OMRCListenerMultiplexerHelper* impl_getMultiplexer();
-//____________________________________________________________________________________________________________
+
// private variables
-//____________________________________________________________________________________________________________
+
private: