11 #ifndef P6STRTABLE_H__
12 #define P6STRTABLE_H__ 1
102 #define IF_p6IEnumStringTableSections {0xE7A653B3,0xFA8A,0x4D56,{0xA7,0xEA,0x67,0x43,0xFD,0xC9,0x99,0x31}}
139 #define IF_p6IEnumWStrings {0x78e80ad2,0xa635,0x4fa5,{0x97,0x62,0x2c,0xba,0xb,0x3a,0xbf,0xb8}}
173 #define IF_p6IEnumStrtblValues {0x91308656,0x77FE,0x46E4,{0x97,0x39,0x2F,0xE8,0xF4,0x92,0x49,0x61}}
354 #define IF_p6IWStrTable {0x76798f6b,0xd5eb,0x4adb,{0xb4,0xc6,0x49,0x8a,0x52,0x40,0xbf,0x4}}
357 #define COMP_p6WStrTable {0x1c7a0775,0xcb77,0x4fd9,{0xb8,0x69,0xc8,0xd1,0xb2,0x72,0x58,0x3a}}
359 #define GLOBAL_STRTABLE_INTERFACE "P6R.p6IWStrTable.Global"
const P6MERGEFLAGS P6MERGE_USENEW
const P6MERGEFLAGS P6MERGE_NOFLAGS
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
const P6TABFLAGS P6TAB_CREATEONNEW
virtual P6R::P6ERR next(P6UINT32 cElements, P6STRINGWVALUE *parElements, P6UINT32 *pcReturned)=0
This method is used to iterate through multiple value for the specfied key.
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR reloadStrings()=0
Discard all existing strings and re-read string table file specified in the initialize call...
virtual P6R::P6ERR enumSections(p6IEnumStringTableSections **ppEnum)=0
Creates and returns an enumertor for the string tables sections.
This interface supports p6I18n functionality by allowing the mapping of unique keys to strings in a s...
const P6TABFLAGS P6TAB_READONLY
const P6TABFLAGS P6TAB_TRACEON
const P6TABFLAGS P6TAB_NOFLAGS
virtual P6R::P6ERR mergeStrings(P6MERGEFLAGS fFlags, const P6WCHAR *pStrTable)=0
Read all the strings defined in the pStrTable file and add them to the existing in RAM string table...
wchar_t P6WCHAR
Wide character type see p6i18n.h.
P6R::P6UINT32 P6MERGEFLAGS
P6MERGEFLAGS.
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
The base interface all [p6]COM components must derive from and implement.
virtual P6R::P6ERR enumValueList(const P6WCHAR *pSectionName, const P6WCHAR *pKey, p6IEnumStrtblValues **ppEnum)=0
This method returns an enumerator for the specified string table section and key. ...
P6R::P6UINT32 P6TABFLAGS
P6TABFLAGS.
A string table file is composed of one or more key - string pair.
virtual P6R::P6ERR next(P6UINT32 cElements, P6STRINGWVALUE *parElements, P6UINT32 *pcReturned)=0
This method is used to iterate the currently defined pKey - string pair.
Interface definition for all p6I18n and L10n features.
virtual P6R::P6ERR storeString(const P6WCHAR *pSectionName, const P6WCHAR *pKey, const P6WCHAR *pString)=0
Define a new string or replace the string associated with an existing "pKey" parameter.
virtual P6R::P6ERR loadString(const P6WCHAR *pSectionName, const P6WCHAR *pKey, P6WCHAR *pBuffer, P6UINT32 cBuffer, P6UINT32 *pWritten)=0
Load the internationalized string that is associated with the strings name represented by the "pKey" ...
virtual P6R::P6ERR deleteString(const P6WCHAR *pSectionName, const P6WCHAR *pKey)=0
Remove the string associated with the "pKey" parameter in the loaded string table.
const P6MERGEFLAGS P6MERGE_USEOLD
virtual P6R::P6ERR initialize(P6TABFLAGS fFlags, const P6CHAR *pLocale, const P6WCHAR *pStrTable)=0
Sets up the object to run properly.
virtual P6R::P6ERR next(P6UINT32 cElements, const P6WCHAR **parElements, P6UINT32 *pcReturned)=0
This method is used to iterate the currently defined sections in a string table.
virtual P6R::P6ERR enumStrings(const P6WCHAR *pSectionName, p6IEnumWStrings **ppEnum)=0
Creates and returns an enumerator for all the strings in the initialized string table.
char P6CHAR
Narrow character type.
The string table file is composed of one or more lines where each line is of the form: pKey=pString...