CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
inc
FxLicensingAPI.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2025 by Graebert GmbH.
3
//
4
// Permission to use, copy, modify, and distribute this software in
5
// object code form for any purpose and without fee is hereby granted,
6
// provided that the above copyright notice appears in all copies and
7
// that both that copyright notice and the limited warranty and
8
// restricted rights notice below appear in all supporting
9
// documentation.
10
//
11
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15
// UNINTERRUPTED OR ERROR FREE.
16
17
#pragma once
18
19
#include "
FxLicensing.h
"
20
21
#include "
FxString.h
"
22
23
struct
CFxPluginInfo;
24
25
class
FXLICENSINGAPI_API
CFxLicensingAPI
26
{
27
public
:
28
typedef
enum
29
{
30
Undefined
,
31
Unregistered
,
32
FullVersion
,
33
TrialVersion
,
34
} ProductType;
35
36
public
:
37
CFxLicensingAPI
();
38
~CFxLicensingAPI
();
39
40
virtual
bool
registerPlugin
(
const
CFxPluginInfo& pluginInfo ) = 0;
41
virtual
ProductType
activate
(
bool
bSilentCheck,
int
iPluginId ) = 0;
42
};
43
44
FXLICENSINGAPI_API
CFxLicensingAPI
*
GetFxLicensingAPI
();
FxLicensing.h
FXLICENSINGAPI_API
#define FXLICENSINGAPI_API
Definition
FxLicensing.h:4
GetFxLicensingAPI
FXLICENSINGAPI_API CFxLicensingAPI * GetFxLicensingAPI()
FxString.h
CFxLicensingAPI
Definition
FxLicensingAPI.h:26
CFxLicensingAPI::~CFxLicensingAPI
~CFxLicensingAPI()
CFxLicensingAPI::ProductType
ProductType
Definition
FxLicensingAPI.h:29
CFxLicensingAPI::FullVersion
@ FullVersion
Definition
FxLicensingAPI.h:32
CFxLicensingAPI::TrialVersion
@ TrialVersion
Definition
FxLicensingAPI.h:33
CFxLicensingAPI::Unregistered
@ Unregistered
Definition
FxLicensingAPI.h:31
CFxLicensingAPI::Undefined
@ Undefined
Definition
FxLicensingAPI.h:30
CFxLicensingAPI::CFxLicensingAPI
CFxLicensingAPI()
CFxLicensingAPI::registerPlugin
virtual bool registerPlugin(const CFxPluginInfo &pluginInfo)=0
CFxLicensingAPI::activate
virtual ProductType activate(bool bSilentCheck, int iPluginId)=0
Generated on Tue Apr 15 2025 11:30:08