|
|
Add the ptr to the list for latter deletetion. |
|
|
Delete all alcotatied memory. |
|
|
The do all function for translation. This automaticaly loads the correct language file on the first call. The tag is the english string that is mangled to an xml tag that is used to return the translated vr using the XmlParser class. |
|
|
Close the xml file. This is called before LanguageEnd at the end of the program. |
|
|
The cleanup function. This function should be called before exiting the program. |
|
|
Load the xml file and set const pointers. |
|
|
Initilize pointers and logic values. |
|
|
The *hack* to load the correct xml file. This looks for the myserver.xml file and grabs the name of the lanugage file. Then it tries to load that file in the default locations. |
|
||||||||||||
|
Internal function to automaticaly free memory when seting to a new value. |
|
|
Convert text into a xml tag. This mangles the english text to make an xml tag. Bufferin is the english string and returns a pointer to an internal string of the xml tag. This uses the frist 20 chars of bufferin with letters to upper case and nonletters to underscore (_). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1