summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/unodialogabp.hxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2015-12-31 16:08:44 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2016-01-03 11:07:24 +0100
commitd4bbf358eb19a8c96720595b9aa3fdf47d9e02f9 (patch)
tree617d2543d3685cd1ed1c049cedad4bcea38329ad /extensions/source/abpilot/unodialogabp.hxx
parentd7d2c6b53eacfe4e0270d6f61b3ae20047e99d35 (diff)
tdf#74608: Ctor function for abp::OABSPilotUno
Change-Id: I15f64797340ae366e02c2b503767cd3d22a66eeb
Diffstat (limited to 'extensions/source/abpilot/unodialogabp.hxx')
-rw-r--r--extensions/source/abpilot/unodialogabp.hxx23
1 files changed, 6 insertions, 17 deletions
diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx
index 234eda1e0f1f..a5145e15345a 100644
--- a/extensions/source/abpilot/unodialogabp.hxx
+++ b/extensions/source/abpilot/unodialogabp.hxx
@@ -26,25 +26,24 @@
#include <com/sun/star/task/XJob.hpp>
#include <cppuhelper/implbase1.hxx>
-
namespace abp
{
-
class OABSPilotUno;
- typedef ::svt::OGenericUnoDialog OABSPilotUno_DBase;
typedef ::cppu::ImplHelper1< css::task::XJob > OABSPilotUno_JBase;
typedef ::comphelper::OPropertyArrayUsageHelper< OABSPilotUno > OABSPilotUno_PBase;
/// the UNO wrapper for the address book source pilot
class OABSPilotUno
:public OModuleResourceClient
- ,public OABSPilotUno_DBase
+ ,public svt::OGenericUnoDialog
,public OABSPilotUno_JBase
,public OABSPilotUno_PBase
{
OUString m_sDataSourceName;
- OABSPilotUno(const css::uno::Reference< css::uno::XComponentContext >& _rxORB);
public:
+ OABSPilotUno(const css::uno::Reference< css::uno::XComponentContext >& _rxORB);
+
+ private:
// XInterface (disambiguation)
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL acquire( ) throw () override;
@@ -58,12 +57,6 @@ namespace abp
virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
- // XServiceInfo - static methods
- static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException );
- static OUString getImplementationName_Static() throw( css::uno::RuntimeException );
- static css::uno::Reference< css::uno::XInterface >
- SAL_CALL Create(const css::uno::Reference< css::lang::XMultiServiceFactory >&);
-
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) override;
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
@@ -77,18 +70,14 @@ namespace abp
// XInitialisation
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
- using OABSPilotUno_DBase::execute;
- protected:
- // OGenericUnoDialog overridables
+ using svt::OGenericUnoDialog::execute;
+ // OGenericUnoDialog overridables
virtual VclPtr<Dialog> createDialog(vcl::Window* _pParent) override;
virtual void executedDialog(sal_Int16 _nExecutionResult) override;
};
-
} // namespace abp
-extern "C" void SAL_CALL createRegistryInfo_OABSPilotUno();
-
#endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_UNODIALOGABP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */