Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cLicense.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cLicense_H
7 #define _INC_cLicense_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "../GrayLibBase.h"
14 
15 namespace GrayLib
16 {
17 
19  {
23  Issued, // A user is earmarked for this license. It has been sent.
24  ClaimTry, // Half Key of confirm claim code has been sent out.
25  Active, // This license is fully active.
26  Revoked, // This license is revoked/expired (closed)
27  };
28 
29  class cLicense
30  {
34 
35  public:
36  cLicense(void);
37  ~cLicense(void);
38 
39  static char GRAYCALL GetTranslatedChar( char ch );
41 
43  };
44 };
45 
46 #endif
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
Definition: cLicense.h:30
static char GRAYCALL GetTranslatedChar(char ch)
Definition: cLicense.cpp:19
cLicense(void)
Definition: cLicense.cpp:11
~cLicense(void)
Definition: cLicense.cpp:15
cString m_sLicense
Definition: cLicense.h:42
static cString GRAYCALL CreateLicense()
Definition: cLicense.cpp:26
Definition: cMesh.h:22
LicenseState_TYPE
Definition: cLicense.h:19
@ Active
Definition: cLicense.h:25
@ Issued
Definition: cLicense.h:23
@ ClaimTry
Definition: cLicense.h:24
@ Revoked
Definition: cLicense.h:26
@ Free
Definition: cLicense.h:22