| LicenseSpring C++ SDK 7.32.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
9 extern "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
36 } LSProductDetails;
37
38 LS_API LSProductDetails* CreateLSProductDetails();
39
40 LS_API void FreeLSProductDetails( LSProductDetails* details );
41
42#ifdef __cplusplus
43} // end extern "C"
44#endif
45
46#endif // LS_C_PRODUCT_DETAILS_H
LS_API
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Definition APIDef.h:22
FreeLSProductDetails
LS_API void FreeLSProductDetails(LSProductDetails *details)
CreateLSProductDetails
LS_API LSProductDetails * CreateLSProductDetails()
InstallationFile.h
LSAuthMethod
LSAuthMethod
Product authorization method.
Definition PODTypes.h:10
LSInstallationFile
Definition InstallationFile.h:11
LSProductDetails
Definition ProductDetails.h:13
LSProductDetails::authorizationMethod
enum LSAuthMethod(* authorizationMethod)(struct LSProductDetails *self)
Definition ProductDetails.h:26
LSProductDetails::isVMAllowed
bool(* isVMAllowed)(struct LSProductDetails *self)
Definition ProductDetails.h:16
LSProductDetails::floatingLicenseTimeout
unsigned long(* floatingLicenseTimeout)(struct LSProductDetails *self)
Definition ProductDetails.h:20
LSProductDetails::inner
void * inner
Definition ProductDetails.h:34
LSProductDetails::trialPeriod
unsigned long(* trialPeriod)(struct LSProductDetails *self)
Definition ProductDetails.h:18
LSProductDetails::isTrialAllowed
bool(* isTrialAllowed)(struct LSProductDetails *self)
Definition ProductDetails.h:14