LibreOffice Module sfx2 (master) 1
Classes | Macros | Typedefs
docfac.hxx File Reference
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <sfx2/shell.hxx>
#include <memory>
Include dependency graph for docfac.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SfxObjectFactory
 

Macros

#define SFX_DECL_OBJECTFACTORY()
 
#define SFX_IMPL_OBJECTFACTORY(ClassName, GlobName, ShortName)
 

Typedefs

typedef void(* SfxVoidFunc) ()
 

Macro Definition Documentation

◆ SFX_DECL_OBJECTFACTORY

#define SFX_DECL_OBJECTFACTORY ( )
Value:
public: \
static SfxObjectFactory& Factory(); \
virtual SfxObjectFactory& GetFactory() const override { return Factory(); }
SwAbstractDialogFactory & GetFactory()

Definition at line 83 of file docfac.hxx.

◆ SFX_IMPL_OBJECTFACTORY

#define SFX_IMPL_OBJECTFACTORY (   ClassName,
  GlobName,
  ShortName 
)
Value:
SfxObjectFactory& ClassName::Factory() \
{ \
static SfxObjectFactory aObjectFactory(GlobName, ShortName); \
return aObjectFactory; \
}

Definition at line 88 of file docfac.hxx.

Typedef Documentation

◆ SfxVoidFunc

typedef void(* SfxVoidFunc) ()

Definition at line 37 of file docfac.hxx.