12 #ifndef _INC_cTextLocMgr_H
13 #define _INC_cTextLocMgr_H
14 #ifndef NO_PRAGMA_ONCE
19 #include "../WinAPI/cWinResource.h"
46 : m_idRes(entry.m_idRes)
47 , m_sText(entry.m_sText)
48 , m_nHashCode(entry.m_nHashCode)
112 bool isLangDefault()
const;
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define ASSERT(exp)
Definition: cDebugAssert.h:87
Definition: cLanguage.h:31
Definition: cTextLocMgr.h:32
cTextLocEntry(const cTextLocEntry &entry)
Definition: cTextLocMgr.h:45
HASHCODE32_t get_HashCode() const noexcept
Definition: cTextLocMgr.h:72
cString m_sText
the translated text.
Definition: cTextLocMgr.h:37
RESOURCEID_t get_SortValue() const noexcept
Definition: cTextLocMgr.h:67
cTextLocEntry() noexcept
Definition: cTextLocMgr.h:40
cTextLocEntry(cString sOrigText, RESOURCEID_t idRes)
Definition: cTextLocMgr.h:51
cTextLocEntry(cString sOrigText, cString sTransText, RESOURCEID_t idRes)
Definition: cTextLocMgr.h:58
HASHCODE32_t m_nHashCode
hash code made from the Original (un-translated) string. GetHashCode32(inline text)
Definition: cTextLocMgr.h:38
RESOURCEID_t m_idRes
arbitrary value to reflect what might be in Windows resource. (0=don't care)
Definition: cTextLocMgr.h:36
Definition: cTextLocMgr.h:79
UNITTEST_FRIEND(cTextLocMgr)
const cLanguageID & get_Language() const noexcept
Definition: cTextLocMgr.h:114
static const cLanguageID sm_LangDef
Definition: cTextLocMgr.h:86
bool IsEmpty() const noexcept
Definition: cString.h:176
Definition: cArraySort.h:575
Definition: cArraySort.h:363
__DECL_IMPORT cTextLocMgr g_Text
default application language. ENU. Not cSingleton
Definition: cTextLocMgr.cpp:18
const GChar_t * TEXTLOC_t
id for a string from resource or some other file. (might be a "string" or a MAKINTRESOURCE(RESOURCEID...
Definition: cTextLocMgr.h:29
UNITTEST2_PREDEF(cQuadtree)
const StrLen_t k_StrLen_UNK
use the default/current length of the string argument.
Definition: StrConst.h:34
const HASHCODE_t k_HASHCODE_CLEAR
not a valid index.
Definition: GrayCore.h:118
UINT32 HASHCODE32_t
always 32 bits.
Definition: GrayCore.h:117
WORD RESOURCEID_t
A resource in .RC attached to a file/module. like MAKEINTRESOURCE(). https://docs....
Definition: cResourceBase.h:19
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26