Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUILocaleResource.h
Go to the documentation of this file.
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUI_LOCALE_RESOURCE__H_
11#define GUI_LOCALE_RESOURCE__H_
12#include "eC_Types.h"
13#include <limits.h>
14
16//
17// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
18// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
19// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
20//
21
22// -----------------------------------------------------------------------------------------
24#ifndef GUILIANI_GUILIANILIB
25 #include "UserLocaleResource.h"
26#endif
27
28#define LOCALE_TABLE
29// ENTRY(GERMAN)
30//Add Guiliani-LocaleHandle_t here (Last Guiliani Locale Handle has to stay 0)
31
34{
35 LOC_START_TAG=-1,
36#define ENTRY_ENUM(a) a,
37#define ENTRY(id) id,
39 L_DEFAULT=0,
40#ifndef GUILIANI_GUILIANILIB
41 USER_LOCALE_TABLE
42#endif
43#undef ENTRY
44#undef ENTRY_ENUM
45 NOF_LOCALEHANDLES,
46 GUILIANI_INTERNAL_LOC = INT_MAX // Do not touch this. Required for ensuring consistent enum type size across libraries.
47};
49#define MAP_LOCID_TO_ARRAY(LOC_ID) static_cast<eC_UInt>(LOC_ID-LOC_START_TAG-1)
51#define UNMAP_LOCENTRY_TO_ARRAY(LOC_ENTRY) static_cast<LocaleHandle_t>(LOC_ENTRY+LOC_START_TAG+1)
52// Amount of resources.
53extern const eC_UInt cuiNOFLocaleHandles;
54
55#endif
#define LOCALE_TABLE
Locale Handles.
Definition: GUILocaleResource.h:28
const eC_UInt cuiNOFLocaleHandles
Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);.
LocaleHandle_t
List of locale resource ids.
Definition: GUILocaleResource.h:34