imgtools/imglib/filesystem/include/messageimplementation.h
changeset 6 787612182dd0
parent 2 39c28ec933dd
equal deleted inserted replaced
5:301c3edbdaa1 6:787612182dd0
    82 		// get error string from message file
    82 		// get error string from message file
    83 		virtual char * GetMessageString(int errorIndex)=0;
    83 		virtual char * GetMessageString(int errorIndex)=0;
    84 		// display message to output device
    84 		// display message to output device
    85 		virtual void Output(const char *aName) =0;
    85 		virtual void Output(const char *aName) =0;
    86 		// start logging to a file
    86 		// start logging to a file
    87 		virtual void StartLogging(char *fileName)=0;
    87 		virtual void StartLogging(char const *fileName)=0;
    88 		virtual void ReportMessage(int aMsgType, int aMsgIndex,...)=0;
    88 		virtual void ReportMessage(int aMsgType, int aMsgIndex,...)=0;
    89 		virtual void InitializeMessages()=0;
    89 		virtual void InitializeMessages()=0;
    90 };
    90 };
    91 
    91 
    92 /**
    92 /**
   103 
   103 
   104 		//override base class methods
   104 		//override base class methods
   105 		char* GetMessageString(int errorIndex);
   105 		char* GetMessageString(int errorIndex);
   106 		void Output(const char *aName);
   106 		void Output(const char *aName);
   107 		void LogOutput(const char *aString);
   107 		void LogOutput(const char *aString);
   108 		void StartLogging(char *fileName);
   108 		void StartLogging(char const *fileName);
   109 		void ReportMessage(int aMsgType, int aMsgIndex,...);
   109 		void ReportMessage(int aMsgType, int aMsgIndex,...);
   110 		void InitializeMessages();
   110 		void InitializeMessages();
   111     private:
   111     private:
   112 
   112 
   113 		bool iLogging;
   113 		bool iLogging;