LicenseSpring C++ SDK
Easily add Software Licensing to your application
InstallationFile.h
Go to the documentation of this file.
1
#ifndef LS_C_INSTALLATION_FILE_H
2
#define LS_C_INSTALLATION_FILE_H
3
4
#include "../APIDef.h"
5
6
#ifdef __cplusplus
7
extern
"C"
8
{
9
#endif
10
11
LS_API
typedef
struct
LSInstallationFile
12
{
13
const
char
*(*getVersion)(
struct
LSInstallationFile
*
self
);
14
15
const
char
*(*getUrl)(
struct
LSInstallationFile
*
self
);
16
17
const
char
*(*getMd5Hash)(
struct
LSInstallationFile
*
self
);
18
19
const
char
*(*getReleaseDate)(
struct
LSInstallationFile
*
self
);
20
21
const
char
*(*getRequiredVersion)(
struct
LSInstallationFile
*
self
);
22
23
const
char
*(*getEnvironment)(
struct
LSInstallationFile
*
self
);
24
25
const
char
*(*getEulaLink)(
struct
LSInstallationFile
*
self
);
26
27
const
char
*(*getReleaseNotesLink)(
struct
LSInstallationFile
*
self
);
28
29
const
char
*(*getChannel)(
struct
LSInstallationFile
*
self
);
30
31
unsigned
long
long (*
getSize
)(
struct
LSInstallationFile
*
self
);
32
33
void
*
inner
;
34
35
}
LSInstallationFile
;
36
37
LS_API
LSInstallationFile
*
CreateLSInstallationFile
();
38
39
LS_API
void
FreeLSInstallationFile
(
LSInstallationFile
*file);
40
41
#ifdef __cplusplus
42
}
// end extern "C"
43
#endif
44
45
#endif // LS_C_INSTALLATION_FILE_H
CreateLSInstallationFile
LS_API LSInstallationFile * CreateLSInstallationFile()
LSInstallationFile
LS_API struct LSInstallationFile LSInstallationFile
LS_API
#define LS_API
Definition:
APIDef.h:23
LSInstallationFile::inner
void * inner
Definition:
InstallationFile.h:33
LSInstallationFile
Definition:
InstallationFile.h:11
FreeLSInstallationFile
LS_API void FreeLSInstallationFile(LSInstallationFile *file)
LSInstallationFile::getSize
unsigned long long(* getSize)(struct LSInstallationFile *self)
Definition:
InstallationFile.h:31
LicenseSpring
C-interface
InstallationFile.h
Generated by
1.8.17