Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cSoundDef.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cSoundDef_H
7 #define _INC_cSoundDef_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "../Resource/cXResourceFile.h"
13 
14 #ifdef USE_DX9
16 
17 namespace Gray3D
18 {
19  class GRAY3D_LINK cSoundDef
20  : public cXResourceFile
21  , public cSoundFile
22  {
27  public:
28  cSoundDef( const FILECHAR_t* pszFileName );
29  virtual ~cSoundDef(void);
30 
31  virtual HRESULT LoadResource();
32 
33  IUNKNOWN_DISAMBIG(cXResourceFile);
34  };
35 
36  typedef cRefPtr<cSoundDef> cSoundDefPtr;
37 };
38 
39 #endif
40 #endif
#define GRAY3D_LINK
Definition: Gray3D.h:15
#define IUNKNOWN_DISAMBIG(TYPE)
Definition: IUnknown.h:92
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: Gray3D.cpp:12
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22