stringtable.h File Reference


Detailed Description

This file includes the eWicht string table defines and API.

Software License
See the MBCSL for details.
Author:
Sven Schlender (kontakt at mobacon dot de)
Date:
2009-11-06

Definition in file stringtable.h.

Go to the source code of this file.

Defines

#define LANGID_NOTSPECIFIED   (0xFFu)
 Language ID for factory resets and initial startups.
#define LANGID_GERMAN   (0x00u)
 Language ID for the German string table.
#define LANGID_ENGLISH   (0x01u)
 Language ID for the English string table.
#define LANGID_MAX   (0x01u)
 The latest Language ID. Increment this ID if you add further languages.

Enumerations

enum  STRTBLIDS
 String ID table for accessing the string table entries.

Functions

void StrTbl_SetLanguage (BYTE u8LangId)
 The function sets the actual string table for this session (not permanently).
void StrTbl_GetString (BYTE *pString, WORD u16StrId)
 The function copies the string with the given ID to the given RAM location.
void StrTbl_GetStringN (BYTE *pString, BYTE u8BufferSize, WORD u16StrId)
 The function copies the string with the given ID to the given RAM location.
ROM char * StrTbl_cau8GetStringPointer (WORD u16StrId)
 The function delivers a ROM pointer to the given string ID.
ROM char * StrTbl_cau8GetLanguageStringPointer (BYTE u8LangId, WORD u16StrId)
 The function delivers a ROM pointer to the given string ID on a given string table.


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