//
// Created by byoungho on 2024/09/12
//

#ifndef _REMOTE_PLUGININTERFACE_H_
#define _REMOTE_PLUGININTERFACE_H_

#ifdef REMOTEPLAYDLL_EXPORTS
#define REMOTEPLAY_API __declspec(dllexport)
#else
#define REMOTEPLAY_API __declspec(dllimport)
#endif

// Interface that the game must implement.
// The RemotePlay SDK forwards screen touch / key input events to the game
// through the callback registered here.
extern "C" {
    typedef void (*RemotePlayCallbackType)(int _type, const char* _pData);
    __declspec(dllexport) void RegisterCallback(RemotePlayCallbackType callback);
    __declspec(dllexport) bool LockScreenInput(bool enabled);
}

void SendRemotePlayKeyCallback(int _type, const char* _pData);

#endif
