LibreOffice Module shell (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Registrar Class Reference

#include <registrar.hpp>

Public Member Functions

 Registrar (REFIID riidCLSID)
 
HRESULT RegisterObject (REFIID riidTypeLib, const wchar_t *sProgram, const wchar_t *sComponent, std::initializer_list< int > aVersions, const wchar_t *Path)
 
HRESULT UnRegisterObject (const wchar_t *sProgram, const wchar_t *sComponent, std::initializer_list< int > aVersions)
 
HRESULT RegisterProgIDs (const wchar_t *sProgram, const wchar_t *sComponent, std::initializer_list< int > aVersions)
 
HRESULT UnRegisterProgIDs (const wchar_t *sProgram, const wchar_t *sComponent, std::initializer_list< int > aVersions)
 

Private Member Functions

HRESULT RegisterProgID (const wchar_t *sProgram, const wchar_t *sComponent, int nVersion, bool bSetDefault)
 
HRESULT UnRegisterProgID (const wchar_t *sProgram, const wchar_t *sComponent, int nVersion)
 

Private Attributes

wchar_t m_sCLSID [nGUIDlen]
 
HRESULT m_ConstructionResult
 

Static Private Attributes

static const size_t nGUIDlen = 40
 

Detailed Description

Definition at line 20 of file registrar.hpp.

Constructor & Destructor Documentation

◆ Registrar()

Registrar::Registrar ( REFIID  riidCLSID)
explicit

Definition at line 85 of file registrar.cxx.

References m_ConstructionResult, m_sCLSID, and nGUIDlen.

Member Function Documentation

◆ RegisterObject()

HRESULT Registrar::RegisterObject ( REFIID  riidTypeLib,
const wchar_t *  sProgram,
const wchar_t *  sComponent,
std::initializer_list< int aVersions,
const wchar_t *  Path 
)

Definition at line 91 of file registrar.cxx.

References hr, m_ConstructionResult, m_sCLSID, MAX_PATH, nGUIDlen, Path, and RegisterProgIDs().

Referenced by DllRegisterServer().

◆ RegisterProgID()

HRESULT Registrar::RegisterProgID ( const wchar_t *  sProgram,
const wchar_t *  sComponent,
int  nVersion,
bool  bSetDefault 
)
private

Definition at line 192 of file registrar.cxx.

References hr, m_ConstructionResult, m_sCLSID, MAX_PATH, and nVersion.

Referenced by RegisterProgIDs().

◆ RegisterProgIDs()

HRESULT Registrar::RegisterProgIDs ( const wchar_t *  sProgram,
const wchar_t *  sComponent,
std::initializer_list< int aVersions 
)

Definition at line 224 of file registrar.cxx.

References hr, nVersion, and RegisterProgID().

Referenced by DllInstall(), and RegisterObject().

◆ UnRegisterObject()

HRESULT Registrar::UnRegisterObject ( const wchar_t *  sProgram,
const wchar_t *  sComponent,
std::initializer_list< int aVersions 
)

Definition at line 170 of file registrar.cxx.

References m_ConstructionResult, m_sCLSID, MAX_PATH, and UnRegisterProgIDs().

Referenced by DllUnregisterServer().

◆ UnRegisterProgID()

HRESULT Registrar::UnRegisterProgID ( const wchar_t *  sProgram,
const wchar_t *  sComponent,
int  nVersion 
)
private

Definition at line 240 of file registrar.cxx.

References hr, m_ConstructionResult, m_sCLSID, MAX_PATH, nGUIDlen, and nVersion.

Referenced by UnRegisterProgIDs().

◆ UnRegisterProgIDs()

HRESULT Registrar::UnRegisterProgIDs ( const wchar_t *  sProgram,
const wchar_t *  sComponent,
std::initializer_list< int aVersions 
)

Definition at line 276 of file registrar.cxx.

References hr, nVersion, and UnRegisterProgID().

Referenced by DllInstall(), and UnRegisterObject().

Member Data Documentation

◆ m_ConstructionResult

HRESULT Registrar::m_ConstructionResult
private

◆ m_sCLSID

wchar_t Registrar::m_sCLSID[nGUIDlen]
private

◆ nGUIDlen

const size_t Registrar::nGUIDlen = 40
staticprivate

Definition at line 42 of file registrar.hpp.

Referenced by RegisterObject(), Registrar(), and UnRegisterProgID().


The documentation for this class was generated from the following files: