00001
00002
00003
00004
00005
00006 #ifndef _GDSMESS_
00007 #define _GDSMESS_
00008
00009 #ifdef __GNUG__
00010 #pragma interface
00011 #endif
00012
00013 #include <stdio.h>
00014 #include <iostream.h>
00015 #include <fstream.h>
00016 #include "gdserr.h"
00017
00018 class GDSMessage
00019 {
00020 public:
00021 GDSMessage(void);
00022 virtual ~GDSMessage(void)=0;
00023 void SetLogFile(char* name);
00024 char* GetLogFile();
00025 virtual void error (char *text, char *title) =0;
00026 virtual void info (char *text, char *title) =0;
00027 virtual void text (char *text, char *title) =0;
00028 virtual void debug (char *text, char *title) =0;
00029 virtual int question_yesno (char *text, char *title) =0;
00030 protected:
00031 char* m_name;
00032 ofstream m_Log_file;
00033 };
00034 #endif
00035
gdsmes.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --