4 enum {ALARM_SOUND,ERROR_SOUND,QUESTION_SOUND};
6 enum PASSWORD_TYPE {PASSWORD_GLOBAL,PASSWORD_FILE,PASSWORD_ARCHIVE};
8 void InitConsoleOptions(MESSAGE_TYPE MsgStream,bool Sound);
11 void mprintf(const char *fmt,...);
12 void eprintf(const char *fmt,...);
14 void GetPasswordText(char *Str,int MaxLength);
15 unsigned int GetKey();
16 bool GetPassword(PASSWORD_TYPE Type,const char *FileName,char *Password,int MaxLength);
17 int Ask(const char *AskStr);
20 int KbdAnsi(char *Addr,int Size);
21 void OutComment(char *Comment,int Size);
25 #define mprintf(args...)
26 #define eprintf(args...)
28 inline void mprintf(const char *fmt,const char *a=NULL,const char *b=NULL) {}
29 inline void eprintf(const char *fmt,const char *a=NULL,const char *b=NULL) {}
30 inline void mprintf(const char *fmt,int b) {}
31 inline void eprintf(const char *fmt,int b) {}
32 inline void mprintf(const char *fmt,const char *a,int b) {}
33 inline void eprintf(const char *fmt,const char *a,int b) {}
35 inline void Alarm() {}
36 inline void GetPasswordText(char *Str,int MaxLength) {}
37 inline unsigned int GetKey() {return(0);}
38 inline bool GetPassword(PASSWORD_TYPE Type,const char *FileName,char *Password,int MaxLength) {return(false);}
39 inline int Ask(const char *AskStr) {return(0);}