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

#include <infotips.hxx>

Inheritance diagram for CInfoTip:
[legend]
Collaboration diagram for CInfoTip:
[legend]

Public Member Functions

 CInfoTip (LONG RefCnt=1)
 
virtual ~CInfoTip ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
virtual ULONG STDMETHODCALLTYPE AddRef () override
 
virtual ULONG STDMETHODCALLTYPE Release () override
 
virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE GetInfoTip (DWORD dwFlags, PWSTR *ppwszTip) override
 
virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE GetInfoFlags (DWORD *pdwFlags) override
 
virtual HRESULT STDMETHODCALLTYPE GetClassID (CLSID *pClassID) override
 
virtual HRESULT STDMETHODCALLTYPE IsDirty () override
 
virtual HRESULT STDMETHODCALLTYPE Load (LPCOLESTR pszFileName, DWORD dwMode) override
 
virtual HRESULT STDMETHODCALLTYPE Save (LPCOLESTR pszFileName, BOOL fRemember) override
 
virtual HRESULT STDMETHODCALLTYPE SaveCompleted (LPCOLESTR pszFileName) override
 
virtual HRESULT STDMETHODCALLTYPE GetCurFile (LPOLESTR __RPC_FAR *ppszFileName) override
 

Private Attributes

LONG m_RefCnt
 
Filepath_char_t m_szFileName [MAX_PATH]
 
std::wstring m_FileNameOnly
 

Detailed Description

Definition at line 28 of file infotips.hxx.

Constructor & Destructor Documentation

◆ CInfoTip()

CInfoTip::CInfoTip ( LONG  RefCnt = 1)

Definition at line 42 of file infotips.cxx.

References g_DllRefCnt, and m_szFileName.

◆ ~CInfoTip()

CInfoTip::~CInfoTip ( )
virtual

Definition at line 50 of file infotips.cxx.

References g_DllRefCnt.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE CInfoTip::AddRef ( )
overridevirtual

Definition at line 84 of file infotips.cxx.

References m_RefCnt.

◆ GetClassID()

HRESULT STDMETHODCALLTYPE CInfoTip::GetClassID ( CLSID *  pClassID)
overridevirtual

Definition at line 309 of file infotips.cxx.

References CLSID_INFOTIP_HANDLER.

◆ GetCurFile()

HRESULT STDMETHODCALLTYPE CInfoTip::GetCurFile ( LPOLESTR __RPC_FAR *  ppszFileName)
overridevirtual

Definition at line 360 of file infotips.cxx.

◆ GetInfoFlags()

COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoFlags ( DWORD *  pdwFlags)
overridevirtual

Definition at line 300 of file infotips.cxx.

◆ GetInfoTip()

COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE CInfoTip::GetInfoTip ( DWORD  dwFlags,
PWSTR *  ppwszTip 
)
overridevirtual

◆ IsDirty()

HRESULT STDMETHODCALLTYPE CInfoTip::IsDirty ( )
overridevirtual

Definition at line 342 of file infotips.cxx.

◆ Load()

HRESULT STDMETHODCALLTYPE CInfoTip::Load ( LPCOLESTR  pszFileName,
DWORD  dwMode 
)
overridevirtual

Definition at line 319 of file infotips.cxx.

References begin, end, getShortPathName(), m_FileNameOnly, and m_szFileName.

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CInfoTip::QueryInterface ( REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvObject 
)
overridevirtual

Definition at line 59 of file infotips.cxx.

◆ Release()

ULONG STDMETHODCALLTYPE CInfoTip::Release ( )
overridevirtual

Definition at line 90 of file infotips.cxx.

References LONG, and m_RefCnt.

◆ Save()

HRESULT STDMETHODCALLTYPE CInfoTip::Save ( LPCOLESTR  pszFileName,
BOOL  fRemember 
)
overridevirtual

Definition at line 348 of file infotips.cxx.

◆ SaveCompleted()

HRESULT STDMETHODCALLTYPE CInfoTip::SaveCompleted ( LPCOLESTR  pszFileName)
overridevirtual

Definition at line 354 of file infotips.cxx.

Member Data Documentation

◆ m_FileNameOnly

std::wstring CInfoTip::m_FileNameOnly
private

Definition at line 83 of file infotips.hxx.

Referenced by GetInfoTip(), and Load().

◆ m_RefCnt

LONG CInfoTip::m_RefCnt
private

Definition at line 81 of file infotips.hxx.

Referenced by AddRef(), and Release().

◆ m_szFileName

Filepath_char_t CInfoTip::m_szFileName[MAX_PATH]
private

Definition at line 82 of file infotips.hxx.

Referenced by CInfoTip(), GetInfoTip(), and Load().


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