HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
OP_OTLEntitle.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: OP_OTLEntitle.h ( OTL Library, C++)
7
*
8
* NOTE: we probably will not ever create entitlement directly from
9
* Houdini. Perhaps we may do it explicitly (or automatically)
10
* on the licensing website during a purchasing process.
11
* This class is just temporarly used for development and
12
* testing, and can be entirely deleted once it served its purpose.
13
*/
14
15
#ifndef __OP_OTLEntitle__
16
#define __OP_OTLEntitle__
17
18
#include "
OP_API.h
"
19
#include <sys/time.h>
20
#include <
UT/UT_String.h
>
21
#include "
OP_OTLLicenseType.h
"
22
23
class
OP_API
OP_OTLEntitle
24
{
25
public
:
26
OP_OTLEntitle
();
27
~
OP_OTLEntitle
();
28
29
const
UT_String
&getEmail()
const
;
30
void
setEmail(
const
char
*email);
31
const
UT_String
&getPassword()
const
;
32
void
setPassword(
const
char
*password);
33
34
const
UT_String
&getLicenseName()
const
;
35
void
setLicenseName(
const
char
*
name
);
36
OP_OTLLicenseType
getLicenseType()
const
;
37
void
setLicenseType(
OP_OTLLicenseType
licensetype);
38
time_t getExpiry()
const
;
39
void
setExpiry(time_t expiry);
40
const
UT_String
&getServerCode()
const
;
41
void
setServerCode(
const
char
*name);
42
43
const
UT_String
&getOwnerEmail()
const
;
44
void
setOwnerEmail(
const
char
*owneremail);
45
46
bool
entitleOwner();
47
const
UT_String
&getErrorMsg()
const
;
48
49
private
:
50
UT_String
myEmail;
51
UT_String
myPassword;
52
UT_String
myLicenseName;
53
UT_String
myServerCode;
54
OP_OTLLicenseType
myLicenseType;
55
time_t myExpiry;
56
UT_String
myOwnerEmail;
57
};
58
59
#endif
60
OP_OTLLicenseType.h
OP_API.h
OP_OTLEntitle
Definition:
OP_OTLEntitle.h:23
UT_String.h
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
OP_API
#define OP_API
Definition:
OP_API.h:10
OP_OTLLicenseType
OP_OTLLicenseType
Definition:
OP_OTLLicenseType.h:17
UT_String
Definition:
UT_String.h:73
OP
OP_OTLEntitle.h
Generated on Sun Nov 17 2024 03:01:35 for HDK by
1.8.6