BlockColor-Engine/src/porting_ios.h

29 lines
618 B
C++

#ifndef __PORTING__IOS_H__
#define __PORTING__IOS_H__
#ifndef __IOS__
#error This file should only be included on iOS
#endif
#if 0 // toggle to 1 for ads
#define ADS
#include "ads.h"
#endif
namespace porting {
void initializePathsiOS();
void copyAssets();
void setViewController(void *v);
void showInputDialog(const std::string &acceptButton, const std::string &hint,
const std::string &current, int editType);
int getInputDialogState();
std::string getInputDialogValue();
inline void notifyAbortLoading() {}
void notifyServerConnect(bool is_multiplayer);
void notifyExitGame();
}
#endif