|
gatelib
2.1
|
#include "g_common_def.h"#include <string>Go to the source code of this file.
Functions | |
| MsgBoxResult_t G_LIB_ITEM | g::msg_box (const char *msg, const char *caption="g::lib", MsgBox_t type=message_box_type_ok) |
| Launches a ( default simple ) message box. | |
| MsgBoxResult_t G_LIB_ITEM | g::msg_box (const GWchar_t *msg, const GWchar_t *caption=L"g::lib", MsgBox_t type=message_box_type_ok) |
| Launches a ( default simple ) message box ( wide char version ) | |
| std::string G_LIB_ITEM | g::get_jar_path () |
| MsgBoxResult_t G_LIB_ITEM | g::java_msg_box (const char *aMessage, const char *aCaption="g::lib", MsgBox_t aMsgBoxType=message_box_type_ok) |
| Launches a message box "from a jar file". | |
| MsgBoxResult_t G_LIB_ITEM | g::win_msg_box (const char *aMessage, const char *aCaption="g::lib", MsgBox_t aMsgBoxType=message_box_type_ok) |
| Launches a windows message box. | |
| MsgBoxResult_t G_LIB_ITEM | g::win_msg_box (const GWchar_t *aMessage, const GWchar_t *aCaption=L"g::lib", MsgBox_t aMsgBoxType=message_box_type_ok) |
| Launches a windows message box. | |
| std::wstring G_LIB_ITEM | g::get_exe_name () |
| Returns the exe name of THIS application. | |
| std::string | g::to_StdString (const std::wstring &aString) |
| std::wstring to std::string | |
| std::wstring | g::to_Wstring (const std::string &aString) |
| Converts a string to a wide strings. | |
| template<class T > | |
| T | g::get_rounded_by_power_of_2 (T value, T delta) |
| f(v,d) is the next multiple of d(MUST be a power of 2), which is k*d>=v && (k-1)*d<v More... | |
1.8.9.1