mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-07 15:59:06 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "../Build/stdafx.h"
|
||||
#include "ConsoleInput.h"
|
||||
|
||||
ConsoleInput::ConsoleInput(const wstring& msg, ConsoleInputSource *source)
|
||||
ConsoleInput::ConsoleInput(const std::wstring& msg, ConsoleInputSource *source)
|
||||
{
|
||||
this->msg = msg;
|
||||
this->source = source;
|
||||
|
||||
@@ -5,8 +5,8 @@ using namespace std;
|
||||
class ConsoleInput
|
||||
{
|
||||
public:
|
||||
wstring msg;
|
||||
std::wstring msg;
|
||||
ConsoleInputSource *source;
|
||||
|
||||
ConsoleInput(const wstring& msg, ConsoleInputSource *source);
|
||||
ConsoleInput(const std::wstring& msg, ConsoleInputSource *source);
|
||||
};
|
||||
@@ -3,7 +3,7 @@
|
||||
class ConsoleInputSource
|
||||
{
|
||||
public:
|
||||
virtual void info(const wstring& string) = 0;
|
||||
virtual void warn(const wstring& string) = 0;
|
||||
virtual wstring getConsoleName() = 0;
|
||||
virtual void info(const std::wstring& string) = 0;
|
||||
virtual void warn(const std::wstring& string) = 0;
|
||||
virtual std::wstring getConsoleName() = 0;
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../Build/stdafx.h"
|
||||
#include "KeyMapping.h"
|
||||
|
||||
KeyMapping::KeyMapping(const wstring& name, int key)
|
||||
KeyMapping::KeyMapping(const std::wstring& name, int key)
|
||||
{
|
||||
this->name = name;
|
||||
this->key = key;
|
||||
|
||||
@@ -4,7 +4,7 @@ using namespace std;
|
||||
class KeyMapping
|
||||
{
|
||||
public:
|
||||
wstring name;
|
||||
std::wstring name;
|
||||
int key;
|
||||
KeyMapping(const wstring& name, int key);
|
||||
KeyMapping(const std::wstring& name, int key);
|
||||
};
|
||||
Reference in New Issue
Block a user