| 123456789101112131415161718192021222324252627 |
- #ifndef STRINGS_H_INCLUDED
- #define STRINGS_H_INCLUDED
- namespace cx_light {
- class strings {
- public:
- enum selector {
- WINDOW_TITLE,
- LIGHTS_LIST,
- ADD_LIGHT,
- WELCOME_TEXT
- };
-
- const char* get(unsigned int);
- private:
- static const char* all_texts[];
- };
- #ifndef __
- #define __(X) (strings().get(strings::selector::X))
- #endif
- }
- #endif
|