-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.h
41 lines (32 loc) · 851 Bytes
/
input.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// Created by kouta on 6/6/21.
//
#ifndef VITANET_INPUT_H
#define VITANET_INPUT_H
#include <cmath>
#include <SDL/SDL_gfxPrimitives.h>
#include <curlpp/Infos.hpp>
#include <curlpp/Options.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/cURLpp.hpp>
#include "video.hpp"
#include "visitor_overload.hpp"
#include "graph.hpp"
#include "request_tools.hpp"
#include "server_conn.hpp"
#include "json.hpp"
#include <variant>
#include <string>
#include <functional>
#include "input.h"
#ifdef __VITA__
#include <vitasdk.h>
#include <psp2/message_dialog.h>
#include <psp2/ime_dialog.h>
#include <psp2/apputil.h>
#endif
std::string getInput(std::string dialogTitle, std::shared_ptr<SDL_Surface> screenSurface);
bool handleInput(uint64_t userId, std::shared_ptr<SDL_Surface> screenSurface);
void inputInit();
void inputTerm();
#endif //VITANET_INPUT_H