Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/UI/IAPScreen.h
4776 views
1
#pragma once
2
3
// NOTE: This is only used on iOS, to present the availablility of getting PPSSPP Gold through IAP.
4
5
#include "ppsspp_config.h"
6
7
#include "UI/BaseScreens.h"
8
#include "UI/SimpleDialogScreen.h"
9
10
class IAPScreen : public UIBaseDialogScreen {
11
public:
12
IAPScreen(bool useIAP) : UIBaseDialogScreen(), useIAP_(useIAP) {}
13
void CreateViews() override;
14
const char *tag() const override { return "IAP"; }
15
private:
16
// This screen can also be used to direct to Play Store purchases, for example.
17
bool useIAP_ = false;
18
};
19
20