office-gobmx/chart2/workbench/stub/newUNOcomponent.hxx
Rüdiger Timm 4916bf4236 INTEGRATION: CWS changefileheader (1.2.354); FILE MERGED
2008/04/01 15:04:31 thb 1.2.354.2: #i85898# Stripping all external header guards
2008/04/01 10:50:44 thb 1.2.354.1: #i85898# Stripping all external header guards
2008-04-10 22:00:59 +00:00

58 lines
1.9 KiB
C++

//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