blob: 8b3cc8f3c40501c8a07fcdd10459f8e73426abc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
//replace XXXX and YYYY
#ifndef _CHART2_XXXX_HXX
#define _CHART2_XXXX_HXX
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
/*
#include <com/sun/star/lang/XComponent.hpp>
*/
//----
#include "ServiceMacros.hxx"
//---- chart2
#include <com/sun/star/chart2/YYYY.hpp>
//----
#include <cppuhelper/implbase2.hxx>
//.............................................................................
namespace chart
{
//.............................................................................
class XXXX : public ::cppu::WeakImplHelper2<
::com::sun::star::chart2::YYYY
, ::com::sun::star::lang::XServiceInfo
//::com::sun::star::lang::XComponent ???
//::com::sun::star::uno::XWeak // implemented by WeakImplHelper(optional interface)
//::com::sun::star::uno::XInterface // implemented by WeakImplHelper(optional interface)
//::com::sun::star::lang::XTypeProvider // implemented by WeakImplHelper
>
{
private:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiComponentFactory > m_xMCF;
//no default constructor
XXXX(){};
public:
XXXX(::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext);
virtual ~XXXX();
//-------------------------------------------------------------------------
// ::com::sun::star::lang::XServiceInfo
//-------------------------------------------------------------------------
APPHELPER_XSERVICEINFO_DECL()
APPHELPER_SERVICE_FACTORY_HELPER(XXXX)
//-------------------------------------------------------------------------
// chart2::YYYY
//-------------------------------------------------------------------------
};
//.............................................................................
} //namespace chart
//.............................................................................
#endif
|