Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cOleInterlock.h
Go to the documentation of this file.
1 //
4 
5 #ifndef _INC_cOleInterlock_H
6 #define _INC_cOleInterlock_H
7 #ifndef NO_PRAGMA_ONCE
8 #pragma once
9 #endif
10 #include "../WinAPI/WinTypes.h"
11 
12 namespace GrayLib
13 {
15  {
19  public:
20  enum _TYPE
21  {
22  NONE, // Not locked.
24  WEB, // IE
25  // Add others as they are needed?
26  };
27  private:
28  _TYPE m_eType;
29  public:
30  cOleInterlock(_TYPE eType);
31  ~cOleInterlock(void);
32  static _TYPE GRAYCALL GetLockedBy();
33  };
34 }
35 
36 #endif
37 
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Definition: cOleInterlock.h:15
_TYPE
Definition: cOleInterlock.h:21
@ WEB
Definition: cOleInterlock.h:24
@ FLASH
Definition: cOleInterlock.h:23
@ NONE
Definition: cOleInterlock.h:22
Definition: cMesh.h:22