source: trunk/IPs/systemC/processor/Morpheo/Common/include/Translation.h @ 82

Last change on this file since 82 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
  • Property svn:keywords set to Id
File size: 493 bytes
Line 
1#ifndef morpheo_Translation_H
2#define morpheo_Translation_H
3/*
4 * $Id: Translation.h 82 2008-05-01 16:48:45Z 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
18#ifdef NO_TRANSLATION
19# define _(str) (str)
20#else
21# define _(str) dgettext (MORPHEO_PACKAGE,str)
22#endif
23
24namespace morpheo
25{
26  class Translation
27  {
28  public :  Translation (void);
29  public : ~Translation (void);
30  };
31
32}; // end namespace morpheo
33#endif
Note: See TracBrowser for help on using the repository browser.