Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cOlePDF.h
Go to the documentation of this file.
1 //
4 //
5 #ifndef _INC_cOlePDF_H
6 #define _INC_cOlePDF_H
7 #ifndef NO_PRAGMA_ONCE
8 #pragma once
9 #endif
10 #include "cOleControl.h"
11 
12 // #define USE_PDF
13 #ifdef USE_PDF
14 
15 struct IAcroAXDocShim;
16 
17 namespace GrayLib
18 {
19  class cOlePDF
20  : public cOleControl
21  {
26 
27  public:
28  cIUnkPtr<IAcroAXDocShim> m_pPDFInterface;
29 
30  public:
31  cOlePDF(INT_PTR nChildId, cOleWebBrowserRedir* pBrowserRedir);
32  virtual ~cOlePDF(void);
33 
34  virtual HRESULT InitOleControl() override;
35  virtual HRESULT LoadOleContent(const FILECHAR_t* pszFullPath, bool bTransparent) override;
36  };
37 }
38 
39 #endif
40 #endif
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cMesh.h:22
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22