You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
754 B
70 lines
754 B
/*++
|
|
|
|
Copyright (C) 1996-1999 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
ESPNLS.INL
|
|
|
|
History:
|
|
|
|
--*/
|
|
|
|
|
|
inline
|
|
LangId
|
|
CLocLangId::GetLanguageId(void)
|
|
const
|
|
{
|
|
return m_lid;
|
|
}
|
|
|
|
|
|
|
|
inline
|
|
void
|
|
CLocLangId::GetLangName(
|
|
CLString &strLangName)
|
|
const
|
|
{
|
|
LTASSERT(m_lid != 0);
|
|
|
|
strLangName = m_pLangInfo->szName;
|
|
}
|
|
|
|
|
|
|
|
inline
|
|
void
|
|
CLocLangId::GetLangShortName(
|
|
CLString &strLangShortName)
|
|
const
|
|
{
|
|
|
|
strLangShortName = m_pLangInfo->szShortName;
|
|
}
|
|
|
|
|
|
|
|
inline
|
|
int
|
|
CLocLangId::operator==(
|
|
const CLocLangId &lidOther)
|
|
const
|
|
{
|
|
return (m_lid == lidOther.GetLanguageId());
|
|
}
|
|
|
|
|
|
|
|
inline
|
|
int
|
|
CLocLangId::operator!=(
|
|
const CLocLangId &lidOther)
|
|
const
|
|
{
|
|
return !operator==(lidOther);
|
|
}
|
|
|
|
|
|
|