Mobile API Reference  MicroStrategy 2019
Language.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : Language.h
3 // AUTHOR : vovechkin
4 // CREATION : 2005-02-03
5 // Copyright (C) MicroStrategy Incorporated 2005
6 // All Rights Reserved
7 //==============================================================================================
8 #ifndef MBase_Language_h
9 #define MBase_Language_h
10 
11 #include "Base.h"
12 
13 namespace MBase
14 {
27  typedef unsigned short LanguageID;
28 
33  {
34  return (LanguageID) (iLanguageID & 0x03FF);
35  }
36 
37  inline LanguageID MakeLanguageID(LanguageID iPrimaryLanguageID, LanguageID iSubLanguageID)
38  {
39  return (LanguageID) ( iPrimaryLanguageID | (iSubLanguageID << 10) );
40  }
41 }
42 
43 #endif // MBase_Language_h
unsigned short LanguageID
Definition: Language.h:27
LanguageID MakeLanguageID(LanguageID iPrimaryLanguageID, LanguageID iSubLanguageID)
Definition: Language.h:37
LanguageID GetPrimaryLanguageID(LanguageID iLanguageID)
Definition: Language.h:32
Definition: Allocator.h:47