Develop and Download Open Source Software

Browse CVS Repository

Contents of /tombo/Tombo/Src/Message.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.23 - (show annotations) (download) (as text)
Sat Aug 14 15:49:35 2004 UTC (19 years, 8 months ago) by hirami
Branch: MAIN
CVS Tags: B155, Tombo_2_0a3, Tombo_2_0a2, Tombo_2_0a1, Tombo_1_17_1, B153, B191, B192, B193, B194, B196, B197, B198, B199, B200, B201, B202, B203, B205, B206, B207, B208, SNAPSHOT_20040920, SNAPSHOT_20040925, B183, B181, B180, B187, B186, B184, B189, B188, B213, B212, B211, B217, B216, B215, B214, B219, B218, Tombo_2_0b2, Tombo_2_0b3, Tombo_2_0b1, Tombo_1_9, Tombo_2_0b4, B228, B229, B226, B227, B224, B225, B222, B223, B220, B221, B154, B172, B156, B157, B150, B151, B152, B173, B158, B159, B171, Tombo_1_10, Tombo_1_13, SNAPSHOT20051220, Tombo_1_12, B231, B230, B147, B146, B145, B144, B143, B142, B149, B148, Tombo_1_15, Tombo_1_14, Tombo_1_17, Tombo_1_16, Tombo_1_11, B177, B174, B175, B178, B179, B164, B169, B168, B165, SNAPSHOT_20041121, B166, B161, B160, B163, B162, HEAD
Branch point for: Tombo_1_17_1_branch
Changes since 1.22: +36 -158 lines
File MIME type: text/x-chdr
* Split message data to message file.

1 #ifndef MESSAGE_H
2 #define MESSAGE_H
3
4 //////////////////////////////////////////////////
5 // message definition
6 //////////////////////////////////////////////////
7
8 #include "MsgRes/MsgDef.h"
9
10 //////////////////////////////////////////////////
11 // Message manager
12 //////////////////////////////////////////////////
13
14 class TomboMessage {
15 DWORD nNumMsgs;
16 LPCTSTR pMsg[NUM_MESSAGES];
17
18 LPTSTR pMsgBuf;
19
20 protected:
21 BOOL LoadMsg(HANDLE hFile);
22 LPTSTR GetNatvieData(HANDLE hFile);
23
24 public:
25 TomboMessage();
26 ~TomboMessage();
27
28 BOOL Init();
29
30
31 LPCTSTR GetMsg(DWORD nMsgID);
32 };
33
34 //////////////////////////////////////////////////
35 // message manager instance declaration
36 //////////////////////////////////////////////////
37
38 extern TomboMessage g_mMsgRes;
39
40
41 #endif
42

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26