add ui charset converter and stuff
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
2369b96091
commit
5ff982d106
9 changed files with 176 additions and 25 deletions
22
include/Mw/Abstract/CharSet.h
Normal file
22
include/Mw/Abstract/CharSet.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/*!
|
||||
* @file Mw/Abstract/CharSet.h
|
||||
* @brief CharSet
|
||||
*/
|
||||
#ifndef __MW_ABSTRACT_CHARSET_H__
|
||||
#define __MW_ABSTRACT_CHARSET_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MWDECL char* MWAPI MwACPToUTF8(const char* input);
|
||||
|
||||
MWDECL char* MWAPI MwUTF8ToACP(const char* input);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
@ -16,6 +16,10 @@
|
|||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199409L
|
||||
#include <wchar.h>
|
||||
#define MW_HAS_WCHAR
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include <Mw/Abstract/Dynamic.h>
|
||||
#include <Mw/Abstract/Directory.h>
|
||||
#include <Mw/Abstract/Time.h>
|
||||
#include <Mw/Abstract/CharSet.h>
|
||||
|
||||
#include <Mw/Resource/Icon.h>
|
||||
#include <Mw/Resource/Cursor.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue