LicenseSpring C++ SDK 7.31.0
Easily add Software Licensing to your application
Loading...
Searching...
No Matches
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#include "InstallationFile.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12 LS_API typedef struct LSProductDetails
13 {
14 bool ( *isTrialAllowed )( struct LSProductDetails* self );
15
16 bool ( *isVMAllowed )( struct LSProductDetails* self );
17
18 unsigned long ( *trialPeriod )( struct LSProductDetails* self );
19
20 unsigned long ( *floatingLicenseTimeout )( struct LSProductDetails* self );
21
22 const char* ( *productName )( struct LSProductDetails* self );
23
24 const char* ( *productCode )( struct LSProductDetails* self );
25
26 enum LSAuthMethod( *authorizationMethod )( struct LSProductDetails* self );
27
28 const char* ( *metadata )( struct LSProductDetails* self );
29
30 const char* ( *latestVersion )( struct LSProductDetails* self );
31
32 const LSInstallationFile* ( *installationFile )( struct LSProductDetails* self );
33
34 void* inner;
35
37
39
41
42#ifdef __cplusplus
43} // end extern "C"
44#endif
45
46#endif // LS_C_PRODUCT_DETAILS_H
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Definition APIDef.h:22
LS_API void FreeLSProductDetails(LSProductDetails *details)
LS_API LSProductDetails * CreateLSProductDetails()
LSAuthMethod
Product authorization method.
Definition PODTypes.h:10
enum LSAuthMethod(* authorizationMethod)(struct LSProductDetails *self)
bool(* isVMAllowed)(struct LSProductDetails *self)
unsigned long(* floatingLicenseTimeout)(struct LSProductDetails *self)
unsigned long(* trialPeriod)(struct LSProductDetails *self)
bool(* isTrialAllowed)(struct LSProductDetails *self)