Fission FSN
Loading...
Searching...
No Matches
fsILicenseCheck.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsILicenseCheck.h
4*
5* Purpose: Interface for license checking
6*
7*********************************************************************/
8
9#ifndef fsILicenseCheckhdr
10#define fsILicenseCheckhdr
11
12#include <fsCore/fsBaseTypes.h>
13
14#if defined fsGumroad
15
16#include <fsCore/fsStr.h>
17
18
19class fsILicenseCheck
20{
21public:
22
23 virtual fsBool receiptCheckFileRead(const fsStr& pCustomersKey);
24 static fsILicenseCheck* const create(const fsStr& pProductPermalink, const fsStr& pProductName);
25
26 virtual ~fsILicenseCheck();
27
28protected:
29
30 virtual fsBool receiptCheckFileReadDo(const fsStr& pCustomersKey)
31 {
32 return false;
33 }
34
35 fsILicenseCheck(const fsStr& pProductPermalink, const fsStr& pProductName);
36
37 fsStr mProductName;
38 fsStr mProductPermalink;
39};
40
41#endif
42#endif
bool fsBool
Definition fsBaseTypes.h:26
void create()
Definition fsN3d.cpp:9