X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fmsg.h;h=14d4c1283076b742d90495cd683690f658c74c39;hb=HEAD;hp=f8d5b77089e040fef0058a2ff2a73723aad7c02d;hpb=5dc6ddc46b1416e0a4b70933eb0a93ee308d09c9;p=bertos.git diff --git a/mware/msg.h b/mware/msg.h deleted file mode 100755 index f8d5b770..00000000 --- a/mware/msg.h +++ /dev/null @@ -1,47 +0,0 @@ -/** - * \file - * - * - * \brief Definitions of constant string messages. - * - * \version $Id$ - * - * \author Bernardo Innocenti - * \author Stefano Fedrigo - */ - -/*#* - *#* $Log$ - *#* Revision 1.1 2005/03/01 23:31:02 bernie - *#* String table and localization stuff. - *#* - *#*/ -#ifndef MWARE_MSG_H -#define MWARE_MSG_H - -enum -{ - MSG_NULL, - - // TODO: add your labels here. - - MSG_COUNT -}; - - -#define MSG_BUFSIZE 6144 /* FIXME: how much? */ - -/* String tables */ -extern const char *msg_strings[MSG_COUNT]; -/* extern char msg_buf[MSG_BUFSIZE]; */ - - -/* Macros to access translated messages */ -#define MSG(x) msg_strings[x] -#define PTRMSG(x) ((unsigned int)(x) < 256 ? msg_strings[(unsigned int)(x)] : (const char *)(x)) - - -#endif /* MWARE_MSG_H */