virtualx-engine/drivers/pe_bliss/message_table.h
masoud bh 24f3f43457 Add icon to exe file in windows export
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
2015-11-09 02:23:58 +03:30

35 lines
790 B
C++

#pragma once
#include <string>
#include <map>
#include "stdint_defs.h"
namespace pe_bliss
{
//Structure representing message table string
class message_table_item
{
public:
//Default constructor
message_table_item();
//Constructors from ANSI and UNICODE strings
explicit message_table_item(const std::string& str);
explicit message_table_item(const std::wstring& str);
//Returns true if string is UNICODE
bool is_unicode() const;
//Returns ANSI string
const std::string& get_ansi_string() const;
//Returns UNICODE string
const std::wstring& get_unicode_string() const;
public:
//Sets ANSI or UNICODE string
void set_string(const std::string& str);
void set_string(const std::wstring& str);
private:
bool unicode_;
std::string ansi_str_;
std::wstring unicode_str_;
};
}