Fission FSN
Loading...
Searching...
No Matches
gfCPaywallTransaction.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCPaywallTransaction.h
4*
5* Purpose: Wrap up the asynchronous purchase / restore process
6* for the paywall GUI
7*
8*********************************************************************/
9
10#ifndef fsCPaywallTransactionhdr
11#define fsCPaywallTransactionhdr
12
13#include <fsCore/fsBaseTypes.h>
14
15#if defined fsInAppPurchaseProcess
16
17#include "gfIPaywallGui.h"
18
19class fsCPaywallTransaction
20{
21public:
22
23 void actionSet(void (gfIPaywallGui::*pAction)());
24
25 void action(gfIPaywallGui*const pContext);
26
27 fsBool update(fsS32 pTimeDelta);
28
29 fsCPaywallTransaction(void (gfIPaywallGui::*pAction)(), fsS32 pTimeout = 10000);
30
31protected:
32
33private:
34
35 void (gfIPaywallGui::*mActionFnc)();
36 fsS32 mTimeOut;
37};
38
39
40#endif
41#endif
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20