license.h (2014-04-30 15:38:09 -0400, (build fd32605))
Go to the documentation of this file.
1 // Copyright (c) AccelerEyes LLC. All rights reserved. //
2 // See http://www.accelereyes.com/eula for details. //
3 // This software is distributed WITHOUT ANY WARRANTY; without even //
4 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR //
5 // PURPOSE. See the above copyright notices for more information. //
6 //-----------------------------------------------------------------------//
7 
8 #pragma once
9 
10 #include "defines.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
33 AFAPI void af_license_addsource(const char *file);
34 
35 
46 AFAPI const char *af_license_getsource(int feature);
47 
48 
55 AFAPI bool af_license_checkout(int feature);
56 
57 
64 AFAPI bool af_license_query(int feature);
65 
66 
73 AFAPI int af_license_expires(int feature);
74 
75 // end licensing
77 #ifdef __cplusplus
78 }
79 #endif
int af_license_expires(int feature)
How many days until specified feature expires.
void af_license_addsource(const char *file)
Specify location of license file.
#define AFAPI
Definition: defines.h:45
const char * af_license_getsource(int feature)
Query which license source provides feature.
bool af_license_query(int feature)
Test if a feature is available, but do not check it out.
bool af_license_checkout(int feature)
Attempt to checkout (use) a feature.