stringtable.c

Go to the documentation of this file.
00001 // ////////////////////////////////////////////////////////////////////////////
00002 // ////////////////////////////////////////////////////////////////////////////
00015     #define     STRINGTABLE_C
00016 
00017 
00019 // Includes
00021 
00022 #include "TCPIP.h"
00023 #include "stringtable.h"
00024 
00025 
00026 // ////////////////////////////////////////////////////////////////////////////
00027 // Local Defines
00028 // ////////////////////////////////////////////////////////////////////////////
00029 
00030 typedef struct
00031 {
00032     ROM char *  pString;    
00033 } STRING_POINTER;
00034 
00035 
00036 // ////////////////////////////////////////////////////////////////////////////
00037 // Local variables
00038 // ////////////////////////////////////////////////////////////////////////////
00039 
00040 ROM STRING_POINTER _asROMStringListDe[] =
00041 {
00042 // STRTBLID_LANGUAGE_NAME
00043     {"Deutsch"},
00044 // STRTBLID_SUCCESSFULLY_CONNECTED
00045     {"Verbunden mit"},
00046 // STRTBLID_ALLOCATE
00047     {"Allokiere"},
00048 // STRTBLID_IP_ADDRESS
00049     {"IP-Adresse"},
00050 // STRTBLID_ADDRESS_CONFLICT1
00051     {"Adresskonflikt"},
00052 // STRTBLID_ADDRESS_CONFLICT2
00053     {"festgestellt!"},
00054 // STRTBLID_CABEL_UNPLUGGED1
00055     {"Netzwerkkabel"},
00056 // STRTBLID_CABEL_UNPLUGGED2
00057     {"wurde entfernt!"},
00058 // STRTBLID_OBTAINED_IP
00059     {"Zugewiesene IP:"},
00060 // STRTBLID_NAMESERVICE
00061     {"Namensdienst"},
00062 // STRTBLID_STOPPED
00063     {"gestoppt!"},
00064 // STRTBLID_SEARCHING
00065     {"Suche"},
00066 // STRTBLID_CONNECT_TO
00067     {"Verbinde zu"},
00068 // STRTBLID_CONNECTION_CLOSED1
00069     {"Verbindung wurde"},
00070 // STRTBLID_CONNECTION_CLOSED2
00071     {"geschlossen!"},
00072 // STRTBLID_DATA_NOT
00073     {"Daten nicht"},
00074 // STRTBLID_SAVED
00075     {"gespeichert."},
00076 // STRTBLID_IP_MENU
00077     {"- IP Men\x81 -"},
00078 // STRTBLID_IP_ALLOCATION
00079     {"IP-Zuweisung"},
00080 // STRTBLID_MANUAL
00081     {"Manuell"},
00082 // STRTBLID_AUTO
00083     {"Automatisch"},
00084 // STRTBLID_SUBNETMASK
00085     {"Subnetzmaske"},
00086 // STRTBLID_GATEWAY_ADDRESS
00087     {"Gateway"},
00088 // STRTBLID_SERVER_MENU
00089     {"- Server Men\x81 -"},
00090 // STRTBLID_FIND_SERVER
00091     {"Finde Server per"},
00092 // STRTBLID_NETWORK_NAME
00093     {"Netzwerkname"},
00094 // STRTBLID_NETWORK_SERVICE
00095     {"Netzwerkdienst"},
00096 // STRTBLID_SERVER_ADDRESS
00097     {"Serveradresse"},
00098 // STRTBLID_SERVER_NAME
00099     {"Servername"},
00100 // STRTBLID_SERVICE_NAME
00101     {"Dienstname"},
00102 // STRTBLID_PORT
00103     {"Port"},
00104 // STRTBLID_SET_PORT_TO1
00105     {"Port auf"},
00106 // STRTBLID_SET_PORT_TO2
00107     {"%hu gesetzt!"},
00108 // STRTBLID_DATA_WAS
00109     {"Daten wurden"},
00110 // STRTBLID_PROTOCOL
00111     {"Protokoll"},
00112 // STRTBLID_ADDRESS
00113     {"Adresse"},
00114 // STRTBLID_ACCESS
00115     {"Zugriff"},
00116 // STRTBLID_NORMAL
00117     {"Normal"},
00118 // STRTBLID_EXCLUSIVE
00119     {"Exklusiv"},
00120 // STRTBLID_NO_DEVICE
00121     {"Kein Ger\x84t."},
00122 // STRTBLID_SERVER_REPORTS
00123     {"Server meldet"},
00124 // STRTBLID_ERRORCODE
00125     {"Fehlercode %hu."},
00126 // STRTBLID_SERVERVERSION
00127     {"Serverversion"},
00128 // STRTBLID_UNKNOWN
00129     {"unbekannt!"},
00130 // STRTBLID_SRVVERSION
00131     {"Srv: Version"},
00132 // STRTBLID_SRVMODE
00133     {"Srv: Modus"},
00134 // STRTBLID_SRVUNSUFFICIENT_DATA1
00135     {"Srv: Ungen\x81-"},
00136 // STRTBLID_SRVUNSUFFICIENT_DATA2
00137     {"gende Angaben!"},
00138 // STRTBLID_SRVUNKNOWN_COMMAND1
00139     {"Srv: Unbekanntes"},
00140 // STRTBLID_SRVUNKNOWN_COMMAND2
00141     {"Kommando!"},
00142 // STRTBLID_SRVNO_RESSOURCES1
00143     {"Srv: Keine Res-"},
00144 // STRTBLID_SRVNO_RESSOURCES2
00145     {"sourcen frei!"},
00146 // STRTBLID_SERVER_HAS
00147     {"Server hat"},
00148 // STRTBLID_DEVICE_TERMINATED
00149     {"Ger\x84t beendet!"},
00150 // STRTBLID_INACTIVE
00151     {"Inaktiv"},
00152 // STRTBLID_ACTIVE
00153     {"Aktiv"},
00154 // STRTBLID_CLICK
00155     {"Per Klick"},
00156 // STRTBLID_ZEROPOINT
00157     {"Nullpunkt"},
00158 // STRTBLID_ON
00159     {"An"},
00160 // STRTBLID_OFF
00161     {"Aus"},
00162 // STRTBLID_FIRMWARE_VERSION
00163     {"Firmware-Version"},
00164 // STRTBLID_MAC_ADDRESS
00165     {"MAC-Adresse"},
00166 // STRTBLID_CONNECTION
00167     {"Verbindung"},
00168 // STRTBLID_LCD_BACKLIGHT
00169     {"LCD-Beleuchtung aus nach"},
00170 // STRTBLID_CHANGE_VALUES
00171     {"Werte ändern"},
00172 // STRTBLID_RESTART
00173     {"Neustart"},
00174 // STRTBLID_RESET_TO_FACTORY
00175     {"Zurücksetzen auf Werkseinstellungen"},
00176 // STRTBLID_DIRECTION_MODE
00177     {"Umschalten der Fahrtrichtung"},
00178 // STRTBLID_PROTOCOL_LOCO_REQUEST
00179     {"Lokprotokollabfrage"},
00180 // STRTBLID_STANDARD_LOCO_PROTOCOL
00181     {"Standardlokprotokoll"},
00182 // STRTBLID_PROTOCOLS
00183     {"Protokolle"},
00184 // STRTBLID_NAME
00185     {"Name"},
00186 // STRTBLID_BUS
00187     {"Bus"},
00188 // STRTBLID_MIN_ADDRESS
00189     {"Min. Adresse"},
00190 // STRTBLID_MAX_ADDRESS
00191     {"Max. Adresse"},
00192 // STRTBLID_NO_OF_SPEED_STEPS
00193     {"Anzahl Geschw.-Stufen"},
00194 // STRTBLID_NO_OF_FUNCTIONS
00195     {"Anzahl Funktionen"},
00196 // STRTBLID_NUMBER
00197     {"Nr."},
00198 // STRTBLID_OK
00199     {"Ok"},
00200 // STRTBLID_RESET
00201     {"Zurücksetzen"},
00202 // STRTBLID_PORT_DELAY
00203     {"Zubeh&ouml;reinschaltdauer<br>(-1 = Dauerhaft)"},
00204 // STRTBLID_MIN_PORT
00205     {"Min. Port"},
00206 // STRTBLID_MAX_PORT
00207     {"Max. Port"},
00208 // STRTBLID_LANGUAGE
00209     {"Sprache"},
00210 // STRTBLID_SERVER_CACHE
00211     {"Serverspeicher"},
00212 // STRTBLID_IS_EMPTY
00213     {"ist leer!"},
00214 // STRTBLID_BUS_ADDRESS
00215     {"Bus      Adresse"},
00216 // STRTBLID_LOCO_PROTOCOLS
00217     {"Lokprotokolle"},
00218 // STRTBLID_LOCO_DATABASE
00219     {"Lokdatenbank"},
00220 // STRTBLID_ACC_PROTOCOLS
00221     {"Zubeh&ouml;rprotokolle"},
00222 // STRTBLID_ACC_DATABASE
00223     {"Zubeh&ouml;rdatenbank"},
00224 // STRTBLID_CONFIGURATION
00225     {"Konfiguration"},
00226 // STRTBLID_SYSTEMSTATE
00227     {"STATUS"},
00228 // STRTBLID_COMMON
00229     {"ALLGEMEIN"},
00230 // STRTBLID_SRCP
00231     {"SRCP"},
00232 // STRTBLID_FILE
00233     {"DATEI"},
00234 // STRTBLID_PROTOCOL_ACC_REQUEST
00235     {"Zubeh&ouml;rprotokollabfrage"},
00236 // STRTBLID_STANDARD_ACC_PROTOCOL
00237     {"Standardzubeh&ouml;rprotokoll"},
00238 // STRTBLID_DOWNLOAD_CONFIG
00239     {"Die Konfiguration als XML Datei."},
00240 // STRTBLID_COMMON_ERROR1
00241     {"Allgemeiner"},
00242 // STRBLDID_COMMON_ERROR2
00243     {"Fehler: %hhu"},
00244 // STRTBLID_DATABASE
00245     {"Datenbank"},
00246 // STRTBLID_POSITION_X
00247     {"Position %u"},
00248 // STRTBLID_CONFIGURE
00249     {"Konfigurieren"},
00250 // STRTBLID_MAXSPEED
00251     {"H&ouml;chstgeschwindigkeit"},
00252 // STRTBLID_FUNCTIONS
00253     {"Funktionen"},
00254 // STRTBLID_PUSHBUTTON
00255     {"Taster"},
00256 // STRTBLID_SWITCH
00257     {"Schalter"},
00258 // STRTBLID_PROTOCOLDATA
00259     {"Protokolldaten"},
00260 // STRTBLID_SET_PORT_DELAY
00261     {"Einschaltdauer (0 = Standardwert, -1 = Dauerhaft)"},
00262 // STRTBLID_MIN_CHARACTER
00263     {"Min. 1 Zeichen"},
00264 // STRTBLID_SAVE
00265     {"Speichern"},
00266 // STRTBLID_UPLOAD_CONFIG
00267     {"Hochladen einer XML Konfigurationsdatei."},
00268 // STRTBLID_OPEN
00269     {"&Ouml;ffnen"},
00270 // STRTBLID_UPLOAD
00271     {"Hochladen"},
00272 // STRTBLID_SERVER_URL
00273     {"Server URL"},
00274 // STRTBLID_RESTART_NEEDED
00275     {"&Auml;nderungen werden erst nach Neustart wirksam!"},
00276 // STRTBLID_MANUAL_IP
00277     {"Manuelle IP:"},
00278 // STRTBLID_NO_LOCO
00279     {"Keine Lok!"},
00280 // STRTBLID_PLEASE_WAIT
00281     {"Bitte warten..."},
00282 // STRTBLID_BOOTLOADER_VERSION
00283     {"Bootloader Version"},
00284 // STRTBLID_CONNECTION_ERROR1
00285     {"Verbindungs-"},
00286 // STRTBLID_CONNECTION_ERROR2
00287     {"fehler!"},
00288 };
00289 
00290 ROM STRING_POINTER _asROMStringListEn[] =
00291 {
00292 // STRTBLID_LANGUAGE_NAME
00293     {"English"},
00294 // STRTBLID_SUCCESSFULLY_CONNECTED
00295     {"Connected with"},
00296 // STRTBLID_ALLOCATE
00297     {"Allocating"},
00298 // STRTBLID_IP_ADDRESS
00299     {"IP Address"},
00300 // STRTBLID_ADDRESS_CONFLICT1
00301     {"Address conflict"},
00302 // STRTBLID_ADDRESS_CONFLICT2
00303     {"detected!"},
00304 // STRTBLID_CABEL_UNPLUGGED1
00305     {"Network cabel"},
00306 // STRTBLID_CABEL_UNPLUGGED2
00307     {"is unplugged!"},
00308 // STRTBLID_OBTAINED_IP
00309     {"Assigned IP:"},
00310 // STRTBLID_NAMESERVICE
00311     {"Name service"},
00312 // STRTBLID_STOPPED
00313     {"stopped!"},
00314 // STRTBLID_SEARCHING
00315     {"Searching"},
00316 // STRTBLID_CONNECT_TO
00317     {"Connecting to"},
00318 // STRTBLID_CONNECTION_CLOSED1
00319     {"Connection was"},
00320 // STRTBLID_CONNECTION_CLOSED2
00321     {"closed!"},
00322 // STRTBLID_DATA_NOT_SAVED1
00323     {"Data not"},
00324 // STRTBLID_DATA_NOT_SAVED2
00325     {"saved."},
00326 // STRTBLID_IP_MENU
00327     {"- IP Menu -"},
00328 // STRTBLID_IP_ALLOCATION
00329     {"IP Allocation"},
00330 // STRTBLID_MANUAL
00331     {"Manual"},
00332 // STRTBLID_AUTO
00333     {"Automatic"},
00334 // STRTBLID_SUBNETMASK
00335     {"Subnet mask"},
00336 // STRTBLID_GATEWAY_ADDRESS
00337     {"Gateway"},
00338 // STRTBLID_SERVER_MENU
00339     {"- Server Menu -"},
00340 // STRTBLID_FIND_SERVER
00341     {"Find Server via"},
00342 // STRTBLID_NETWORK_NAME
00343     {"Network name"},
00344 // STRTBLID_NETWORK_SERVICE
00345     {"Network service"},
00346 // STRTBLID_SERVER_ADDRESS
00347     {"Server address"},
00348 // STRTBLID_SERVER_NAME
00349     {"Server name"},
00350 // STRTBLID_SERVICE_NAME
00351     {"Service name"},
00352 // STRTBLID_PORT
00353     {"Port"},
00354 // STRTBLID_SET_PORT_TO1
00355     {"Set port"},
00356 // STRTBLID_SET_PORT_TO2
00357     {"to %hu!"},
00358 // STRTBLID_DATA_WAS
00359     {"Data was"},
00360 // STRTBLID_PROTOCOL
00361     {"Protocol"},
00362 // STRTBLID_ADDRESS
00363     {"Address"},
00364 // STRTBLID_ACCESS
00365     {"Access"},
00366 // STRTBLID_NORMAL
00367     {"Normal"},
00368 // STRTBLID_EXCLUSIVE
00369     {"Exclusive"},
00370 // STRTBLID_NO_DEVICE
00371     {"No device."},
00372 // STRTBLID_SERVER_REPORTS
00373     {"Server reports"},
00374 // STRTBLID_ERRORCODE
00375     {"error code %hu."},
00376 // STRTBLID_SERVERVERSION
00377     {"Server version"},
00378 // STRTBLID_UNKNOWN
00379     {"unknown!"},
00380 // STRTBLID_SRVVERSION
00381     {"Srv: Version"},
00382 // STRTBLID_SRVMODE
00383     {"Srv: Mode"},
00384 // STRTBLID_SRVUNSUFFICIENT_DATA1
00385     {"Srv: Unsuffi-"},
00386 // STRTBLID_SRVUNSUFFICIENT_DATA2
00387     {"cient data!"},
00388 // STRTBLID_SRVUNKNOWN_COMMAND1
00389     {"Srv: Unknown"},
00390 // STRTBLID_SRVUNKNOWN_COMMAND2
00391     {"command!"},
00392 // STRTBLID_SRVNO_RESSOURCES1
00393     {"Srv: Out of"},
00394 // STRTBLID_SRVNO_RESSOURCES2
00395     {"ressources!"},
00396 // STRTBLID_SERVER_HAS
00397     {"Server has ter-"},
00398 // STRTBLID_DEVICE_FINISHED
00399     {"minated device!"},
00400 // STRTBLID_INACTIVE
00401     {"Inactive"},
00402 // STRTBLID_ACTIVE
00403     {"Active"},
00404 // STRTBLID_CLICK
00405     {"Per click"},
00406 // STRTBLID_ZEROPOINT
00407     {"Zero point"},
00408 // STRTBLID_ON
00409     {"On"},
00410 // STRTBLID_OFF
00411     {"Off"},
00412 // STRTBLID_FIRMWARE_VERSION
00413     {"Firmware version"},
00414 // STRTBLID_MAC_ADDRESS
00415     {"MAC Address"},
00416 // STRTBLID_CONNECTION
00417     {"Connection"},
00418 // STRTBLID_LCD_BACKLIGHT
00419     {"LCD backlight off after"},
00420 // STRTBLID_CHANGE_VALUES
00421     {"Change values"},
00422 // STRTBLID_RESTART
00423     {"Restart"},
00424 // STRTBLID_RESET_TO_FACTORY
00425     {"Reset to factory settings"},
00426 // STRTBLID_DIRECTION_MODE
00427     {"Toggle loco direction"},
00428 // STRTBLID_PROTOCOL_LOCO_REQUEST
00429     {"Loco protocol request"},
00430 // STRTBLID_STANDARD_LOCO_PROTOCOL
00431     {"Standard loco protocol"},
00432 // STRTBLID_PROTOCOLS
00433     {"Protocols"},
00434 // STRTBLID_NAME
00435     {"Name"},
00436 // STRTBLID_BUS
00437     {"Bus"},
00438 // STRTBLID_MIN_ADDRESS
00439     {"Min. Address"},
00440 // STRTBLID_MAX_ADDRESS
00441     {"Max. Address"},
00442 // STRTBLID_NO_OF_SPEED_STEPS
00443     {"No. of speed steps"},
00444 // STRTBLID_NO_OF_FUNCTIONS
00445     {"No. of functions"},
00446 // STRTBLID_NUMBER
00447     {"No."},
00448 // STRTBLID_OK
00449     {"Ok"},
00450 // STRTBLID_RESET
00451     {"Reset"},
00452 // STRTBLID_PORT_DELAY
00453     {"Accessory delay<br>(-1 = infinite)"},
00454 // STRTBLID_MIN_PORT
00455     {"Min. Port"},
00456 // STRTBLID_MAX_PORT
00457     {"Max. Port"},
00458 // STRTBLID_LANGUAGE
00459     {"Language"},
00460 // STRTBLID_SERVER_CACHE
00461     {"Server cache"},
00462 // STRTBLID_IS_EMPTY
00463     {"is empty!"},
00464 // STRTBLID_BUS_ADDRESS
00465     {"Bus      Address"},
00466 // STRTBLID_LOCO_PROTOCOLS
00467     {"Loco protocols"},
00468 // STRTBLID_LOCO_DATABASE
00469     {"Loco database"},
00470 // STRTBLID_ACC_PROTOCOLS
00471     {"Accessory protocols"},
00472 // STRTBLID_ACC_DATABASE
00473     {"Accessory database"},
00474 // STRTBLID_CONFIGURATION
00475     {"Configuration"},
00476 // STRTBLID_SYSTEMSTATE
00477     {"SYSTEM STATE"},
00478 // STRTBLID_COMMON
00479     {"COMMON"},
00480 // STRTBLID_SRCP
00481     {"SRCP"},
00482 // STRTBLID_FILE
00483     {"FILE"},
00484 // STRTBLID_PROTOCOL_ACC_REQUEST
00485     {"Accessory protocol request"},
00486 // STRTBLID_STANDARD_ACC_PROTOCOL
00487     {"Standard accessory protocol"},
00488 // STRTBLID_DOWNLOAD_CONFIG
00489     {"The configuration as XML file."},
00490 // STRTBLID_COMMON_ERROR1
00491     {"Common"},
00492 // STRBLDID_COMMON_ERROR2
00493     {"error: %hhu"},
00494 // STRTBLID_DATABASE
00495     {"Database"},
00496 // STRTBLID_POSITION_X
00497     {"position %u"},
00498 // STRTBLID_CONFIGURE
00499     {"Configure"},
00500 // STRTBLID_MAXSPEED
00501     {"Top speed"},
00502 // STRTBLID_FUNCTIONS
00503     {"Functions"},
00504 // STRTBLID_PUSHBUTTON
00505     {"Push button"},
00506 // STRTBLID_SWITCH
00507     {"Switch"},
00508 // STRTBLID_PROTOCOLDATA
00509     {"Protocol data"},
00510 // STRTBLID_SET_PORT_DELAY
00511     {"Delay (0 = default, -1 = infinite)"},
00512 // STRTBLID_MIN_CHARACTER
00513     {"Min. 1 character"},
00514 // STRTBLID_SAVE
00515     {"Save"},
00516 // STRTBLID_UPLOAD_CONFIG
00517     {"Upload a configuration XML file."},
00518 // STRTBLID_OPEN
00519     {"Open"},
00520 // STRTBLID_UPLOAD
00521     {"Upload"},
00522 // STRTBLID_SERVER_URL
00523     {"Server URL"},
00524 // STRTBLID_RESTART_NEEDED
00525     {"Changes take effect after restart!"},
00526 // STRTBLID_MANUAL_IP
00527     {"Manual IP:"},
00528 // STRTBLID_RR_NO_LOCO
00529     {"No loco!"},
00530 // STRTBLID_RR_PLEASE_WAIT
00531     {"Please wait..."},
00532 // STRTBLID_BOOTLOADER_VERSION
00533     {"Bootloader version"},
00534 // STRTBLID_CONNECTION_ERROR1
00535     {"Error while"},
00536 // STRTBLID_CONNECTION_ERROR2
00537     {"connecting!"},
00538 };
00539 
00540 ROM STRING_POINTER _asROMStringListIndex[] =
00541 {
00542 // 0 (German string table)
00543     {(ROM char *)_asROMStringListDe},
00544 // 1 (English string table)
00545     {(ROM char *)_asROMStringListEn},
00546 // Add more string tables here
00547 };
00548 
00549 ROM void * s_pau8LangTable = _asROMStringListDe;
00550 
00551 
00552 // ////////////////////////////////////////////////////////////////////////////
00553 // Local function prototypes
00554 // ////////////////////////////////////////////////////////////////////////////
00555 
00556 
00557 
00558 // ////////////////////////////////////////////////////////////////////////////
00559 // ////////////////////////////////////////////////////////////////////////////
00560 
00561 void StrTbl_SetLanguage(BYTE u8LangId)
00562 {
00563     if ((u8LangId == LANGID_NOTSPECIFIED) || (u8LangId > LANGID_MAX))
00564     {
00565         u8LangId = LANGID_ENGLISH;
00566     }
00567 
00568     s_pau8LangTable = (ROM void *)_asROMStringListIndex[u8LangId].pString;
00569 }
00570 
00571 // ////////////////////////////////////////////////////////////////////////////
00572 // ////////////////////////////////////////////////////////////////////////////
00573 
00574 void StrTbl_GetString(BYTE * pString, WORD u16StrId)
00575 {
00576     ROM char * pROMString;
00577     pROMString = (((ROM STRING_POINTER*)(s_pau8LangTable))+u16StrId)->pString;
00578     strcpypgm2ram(pString, pROMString);
00579 }
00580 
00581 // ////////////////////////////////////////////////////////////////////////////
00582 // ////////////////////////////////////////////////////////////////////////////
00583 
00584 ROM char * StrTbl_cau8GetStringPointer(WORD u16StrId)
00585 {
00586     ROM char * pROMString;
00587     pROMString = (((ROM STRING_POINTER*)(s_pau8LangTable))+u16StrId)->pString;
00588     return pROMString;
00589 }
00590 
00591 // ////////////////////////////////////////////////////////////////////////////
00592 // ////////////////////////////////////////////////////////////////////////////
00593 
00594 ROM char * StrTbl_cau8GetLanguageStringPointer(BYTE u8LangId, WORD u16StrId)
00595 {
00596     ROM char * pROMString;
00597     ROM void * pau8LangTable;
00598 
00599     pau8LangTable = (ROM void *)_asROMStringListIndex[u8LangId].pString;
00600     pROMString = (((ROM STRING_POINTER*)(pau8LangTable))+u16StrId)->pString;
00601     return pROMString;
00602 }
00603 
00604 // ////////////////////////////////////////////////////////////////////////////
00605 // ////////////////////////////////////////////////////////////////////////////
00606 
00607 void StrTbl_GetStringN(BYTE * pString, BYTE u8BufferSize, WORD u16StrId)
00608 {
00609     ROM char * pROMString;
00610     pROMString = (((ROM STRING_POINTER*)(s_pau8LangTable))+u16StrId)->pString;
00611     strncpypgm2ram(pString, pROMString, u8BufferSize);
00612 }
00613 
00614 // ////////////////////////////////////////////////////////////////////////////
00615 // ////////////////////////////////////////////////////////////////////////////

Generated on Sun Nov 27 20:02:39 2011 for eWicht by  doxygen 1.5.5