2016-11-05 15:14:22 -07:00
|
|
|
#ifndef __PORTING__IOS_H__
|
|
|
|
#define __PORTING__IOS_H__
|
|
|
|
|
|
|
|
#ifndef __IOS__
|
|
|
|
#error This file should only be included on iOS
|
|
|
|
#endif
|
|
|
|
|
2018-12-26 13:59:09 -08:00
|
|
|
#if 0 // toggle to 1 for ads
|
|
|
|
#define ADS
|
|
|
|
#include "ads.h"
|
|
|
|
#endif
|
|
|
|
|
2016-11-05 15:14:22 -07:00
|
|
|
namespace porting {
|
|
|
|
void initializePathsiOS();
|
|
|
|
void copyAssets();
|
2017-08-16 05:11:17 -07:00
|
|
|
void setViewController(void *v);
|
|
|
|
|
|
|
|
void showInputDialog(const std::string &acceptButton, const std::string &hint,
|
|
|
|
const std::string ¤t, int editType);
|
|
|
|
int getInputDialogState();
|
|
|
|
std::string getInputDialogValue();
|
2018-12-26 13:59:09 -08:00
|
|
|
|
|
|
|
inline void notifyAbortLoading() {}
|
|
|
|
void notifyServerConnect(bool is_multiplayer);
|
|
|
|
void notifyExitGame();
|
2016-11-05 15:14:22 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|