Convert ConfigurationAccess_WindowState to WeakImplHelper
Change-Id: I962e87e81905bfc61b03e1c1c7ee9f01b030df9d
This commit is contained in:
@@ -125,23 +125,15 @@ namespace framework
|
|||||||
// Configuration access class for WindowState supplier implementation
|
// Configuration access class for WindowState supplier implementation
|
||||||
//*****************************************************************************************************************
|
//*****************************************************************************************************************
|
||||||
|
|
||||||
class ConfigurationAccess_WindowState : // interfaces
|
class ConfigurationAccess_WindowState : // Order is necessary for right initialization!
|
||||||
public XTypeProvider ,
|
|
||||||
public XNameContainer ,
|
|
||||||
public XContainerListener ,
|
|
||||||
// baseclasses
|
|
||||||
// Order is necessary for right initialization!
|
|
||||||
private ThreadHelpBase ,
|
private ThreadHelpBase ,
|
||||||
public ::cppu::OWeakObject
|
// interfaces
|
||||||
|
public ::cppu::WeakImplHelper2< XNameContainer, XContainerListener >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ConfigurationAccess_WindowState( const OUString& aWindowStateConfigFile, const Reference< XComponentContext >& rxContext );
|
ConfigurationAccess_WindowState( const OUString& aWindowStateConfigFile, const Reference< XComponentContext >& rxContext );
|
||||||
virtual ~ConfigurationAccess_WindowState();
|
virtual ~ConfigurationAccess_WindowState();
|
||||||
|
|
||||||
// XInterface, XTypeProvider
|
|
||||||
FWK_DECLARE_XINTERFACE
|
|
||||||
FWK_DECLARE_XTYPEPROVIDER
|
|
||||||
|
|
||||||
// XNameAccess
|
// XNameAccess
|
||||||
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
|
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
|
||||||
throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
|
||||||
@@ -255,28 +247,6 @@ class ConfigurationAccess_WindowState : // interfaces
|
|||||||
};
|
};
|
||||||
|
|
||||||
//*****************************************************************************************************************
|
//*****************************************************************************************************************
|
||||||
// XInterface, XTypeProvider
|
|
||||||
//*****************************************************************************************************************
|
|
||||||
DEFINE_XINTERFACE_7 ( ConfigurationAccess_WindowState ,
|
|
||||||
OWeakObject ,
|
|
||||||
DIRECT_INTERFACE ( css::container::XNameContainer ),
|
|
||||||
DIRECT_INTERFACE ( css::container::XContainerListener ),
|
|
||||||
DIRECT_INTERFACE ( css::lang::XTypeProvider ),
|
|
||||||
DERIVED_INTERFACE( css::container::XElementAccess, css::container::XNameAccess ),
|
|
||||||
DERIVED_INTERFACE( css::container::XNameAccess, css::container::XNameReplace ),
|
|
||||||
DERIVED_INTERFACE( css::container::XNameReplace, css::container::XNameContainer ),
|
|
||||||
DERIVED_INTERFACE( css::lang::XEventListener, XContainerListener )
|
|
||||||
)
|
|
||||||
|
|
||||||
DEFINE_XTYPEPROVIDER_7 ( ConfigurationAccess_WindowState ,
|
|
||||||
css::container::XNameContainer ,
|
|
||||||
css::container::XNameReplace ,
|
|
||||||
css::container::XNameAccess ,
|
|
||||||
css::container::XElementAccess ,
|
|
||||||
css::container::XContainerListener ,
|
|
||||||
css::lang::XEventListener ,
|
|
||||||
css::lang::XTypeProvider
|
|
||||||
)
|
|
||||||
|
|
||||||
ConfigurationAccess_WindowState::ConfigurationAccess_WindowState( const OUString& aModuleName, const Reference< XComponentContext >& rxContext ) :
|
ConfigurationAccess_WindowState::ConfigurationAccess_WindowState( const OUString& aModuleName, const Reference< XComponentContext >& rxContext ) :
|
||||||
ThreadHelpBase(),
|
ThreadHelpBase(),
|
||||||
|
Reference in New Issue
Block a user