CFx SDK Documentation  2020SP3
FxLicensingAPI.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 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 
24 {
25 public:
28 
33 
35 };
36 
38 {
39 public:
40  typedef enum
41  {
46  } ProductType;
47 
48 public:
51 
52  virtual bool registerPlugin( const CFxPluginInfo& pluginInfo ) = 0;
53  virtual ProductType activate( bool bSilentCheck, int iPluginId ) = 0;
54 };
55 
FXLICENSINGAPI_API
#define FXLICENSINGAPI_API
Definition: FxLicensing.h:4
CFxLicensingAPI::Undefined
@ Undefined
Definition: FxLicensingAPI.h:42
CFxPluginInfo::CFxPluginInfo
CFxPluginInfo()
CFxPluginInfo
Definition: FxLicensingAPI.h:24
CFxPluginInfo::_iLicenseID
int _iLicenseID
Definition: FxLicensingAPI.h:30
FxString.h
CFxLicensingAPI::~CFxLicensingAPI
~CFxLicensingAPI()
CFxLicensingAPI::Unregistered
@ Unregistered
Definition: FxLicensingAPI.h:43
CFxLicensingAPI::CFxLicensingAPI
CFxLicensingAPI()
CFxPluginInfo::_sPluginVersion
CFxString _sPluginVersion
Definition: FxLicensingAPI.h:32
CFxLicensingAPI::activate
virtual ProductType activate(bool bSilentCheck, int iPluginId)=0
CFxString
Definition: FxString.h:48
CFxLicensingAPI::FullVersion
@ FullVersion
Definition: FxLicensingAPI.h:44
CFxLicensingAPI::registerPlugin
virtual bool registerPlugin(const CFxPluginInfo &pluginInfo)=0
CFxPluginInfo::_bFreePlugin
bool _bFreePlugin
Definition: FxLicensingAPI.h:34
FxLicensing.h
GetFxLicensingAPI
FXLICENSINGAPI_API CFxLicensingAPI * GetFxLicensingAPI()
CFxLicensingAPI::ProductType
ProductType
Definition: FxLicensingAPI.h:41
CFxPluginInfo::_sPluginName
CFxString _sPluginName
Definition: FxLicensingAPI.h:29
CFxLicensingAPI::TrialVersion
@ TrialVersion
Definition: FxLicensingAPI.h:45
CFxPluginInfo::~CFxPluginInfo
~CFxPluginInfo()
CFxPluginInfo::_iLicenseVersion
int _iLicenseVersion
Definition: FxLicensingAPI.h:31
CFxLicensingAPI
Definition: FxLicensingAPI.h:38