Line | Count | Source (jump to first uncovered line) |
1 | | #ifndef _RAR_CONSIO_ |
2 | | #define _RAR_CONSIO_ |
3 | | |
4 | | void InitConsole(); |
5 | | void SetConsoleMsgStream(MESSAGE_TYPE MsgStream); |
6 | | void SetConsoleRedirectCharset(RAR_CHARSET RedirectCharset); |
7 | | void ProhibitConsoleInput(); |
8 | | void OutComment(const wchar *Comment,size_t Size); |
9 | | |
10 | | #ifndef SILENT |
11 | | bool GetConsolePassword(UIPASSWORD_TYPE Type,const wchar *FileName,SecPassword *Password); |
12 | | #endif |
13 | | |
14 | | #ifdef SILENT |
15 | 4 | inline void mprintf(const wchar *fmt,...) {} |
16 | 2 | inline void eprintf(const wchar *fmt,...) {} |
17 | 0 | inline void Alarm() {} |
18 | 0 | inline int Ask(const wchar *AskStr) {return 0;} |
19 | 0 | inline bool getwstr(wchar *str,size_t n) {return false;} |
20 | | #else |
21 | | void mprintf(const wchar *fmt,...); |
22 | | void eprintf(const wchar *fmt,...); |
23 | | void Alarm(); |
24 | | int Ask(const wchar *AskStr); |
25 | | bool getwstr(wchar *str,size_t n); |
26 | | #endif |
27 | | |
28 | | #endif |