LicenseSpring C++ SDK  7.27.0
Easily add Software Licensing to your application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ProductDetails.h
Go to the documentation of this file.
1 #ifndef LS_C_PRODUCT_DETAILS_H
2 #define LS_C_PRODUCT_DETAILS_H
3 
4 #include "../APIDef.h"
5 #include "../PODTypes.h"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11  LS_API typedef struct LSProductDetails
12  {
13  bool ( *isTrialAllowed )( struct LSProductDetails* self );
14 
15  bool ( *isVMAllowed )( struct LSProductDetails* self );
16 
17  unsigned long ( *trialPeriod )( struct LSProductDetails* self );
18 
19  unsigned long ( *floatingLicenseTimeout )( struct LSProductDetails* self );
20 
21  const char* ( *productName )( struct LSProductDetails* self );
22 
23  const char* ( *productCode )( struct LSProductDetails* self );
24 
26 
27  const char* ( *metadata )( struct LSProductDetails* self );
28 
29  void* inner;
30 
32 
34 
36 
37 #ifdef __cplusplus
38 } // end extern "C"
39 #endif
40 
41 #endif // LS_C_PRODUCT_DETAILS_H
unsigned long(* trialPeriod)(struct LSProductDetails *self)
LSAuthMethod
Product authorization method.
Definition: PODTypes.h:9
LS_API LSProductDetails * CreateLSProductDetails()
LS_API void FreeLSProductDetails(LSProductDetails *details)
bool(* isVMAllowed)(struct LSProductDetails *self)
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Definition: APIDef.h:22
unsigned long(* floatingLicenseTimeout)(struct LSProductDetails *self)
LS_API struct LSProductDetails LSProductDetails
bool(* isTrialAllowed)(struct LSProductDetails *self)
enum LSAuthMethod(* authorizationMethod)(struct LSProductDetails *self)