Last change
on this file since 139 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
423 bytes
|
Rev | Line | |
---|
[88] | 1 | #ifndef Morpheo_Translation_h |
---|
| 2 | #define Morpheo_Translation_h |
---|
[82] | 3 | /* |
---|
| 4 | * $Id: Translation.h 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include <libintl.h> |
---|
| 11 | #include <stdio.h> |
---|
| 12 | #include <stdlib.h> |
---|
| 13 | #include <stdarg.h> |
---|
| 14 | #include <iostream> |
---|
| 15 | |
---|
| 16 | #define MORPHEO_PACKAGE "morpheo" |
---|
| 17 | |
---|
[88] | 18 | #ifdef TRANSLATION |
---|
| 19 | # define _(str) dgettext (MORPHEO_PACKAGE,str) |
---|
| 20 | #else |
---|
[82] | 21 | # define _(str) (str) |
---|
| 22 | #endif |
---|
| 23 | |
---|
| 24 | namespace morpheo |
---|
| 25 | { |
---|
[88] | 26 | void translation (void); |
---|
[82] | 27 | }; // end namespace morpheo |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.