ssl_send_certificate_error(): Make it more obvious that the message is coming from...
[privoxy.git] / w32log.h
1 #ifndef W32LOG_H_INCLUDED
2 #define W32LOG_H_INCLUDED
3 /*********************************************************************
4  *
5  * File        :  $Source: /cvsroot/ijbswa/current/w32log.h,v $
6  *
7  * Purpose     :  Functions for creating and destroying the log window,
8  *                outputting strings, processing messages and so on.
9  *
10  * Copyright   :  Written by and Copyright (C) 2001-2009 members of
11  *                the Privoxy team.  https://www.privoxy.org/
12  *
13  *                Written by and Copyright (C) 1999 Adam Lock
14  *                <locka@iol.ie>
15  *
16  *                This program is free software; you can redistribute it
17  *                and/or modify it under the terms of the GNU General
18  *                Public License as published by the Free Software
19  *                Foundation; either version 2 of the License, or (at
20  *                your option) any later version.
21  *
22  *                This program is distributed in the hope that it will
23  *                be useful, but WITHOUT ANY WARRANTY; without even the
24  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
25  *                PARTICULAR PURPOSE.  See the GNU General Public
26  *                License for more details.
27  *
28  *                The GNU General Public License should be included with
29  *                this file.  If not, you can view it at
30  *                http://www.gnu.org/copyleft/gpl.html
31  *                or write to the Free Software Foundation, Inc., 59
32  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
33  *
34  *********************************************************************/
35
36
37 extern HWND g_hwndLogFrame;
38
39 /* Indicates whether task bar shows activity animation */
40 extern BOOL g_bShowActivityAnimation;
41
42 /* Indicates if the log window appears on the task bar */
43 extern BOOL g_bShowOnTaskBar;
44
45 /* Indicates whether closing the log window really just hides it */
46 extern BOOL g_bCloseHidesWindow;
47
48 /* Indicates if messages are logged at all */
49 extern BOOL g_bLogMessages;
50
51 /* Indicates whether log messages are highlighted */
52 extern BOOL g_bHighlightMessages;
53
54 /* Indicates if buffer is limited in size */
55 extern BOOL g_bLimitBufferSize;
56
57 /* Maximum number of lines allowed in buffer when limited */
58 extern int g_nMaxBufferLines;
59
60 /* Font to use */
61 extern char g_szFontFaceName[32];
62
63 /* Size of font to use */
64 extern int g_nFontSize;
65
66
67 /* FIXME: this is a kludge */
68
69 extern const char * g_default_actions_file;
70 extern const char * g_user_actions_file;
71 extern const char * g_default_filterfile;
72 extern const char * g_user_filterfile;
73 #ifdef FEATURE_TRUST
74 extern const char * g_trustfile;
75 #endif /* def FEATURE_TRUST */
76
77 /* FIXME: end kludge */
78
79 extern HICON g_hiconApp;
80 extern int LogPutString(const char *pszText);
81 extern BOOL InitLogWindow(void);
82 extern void TermLogWindow(void);
83 extern void ShowLogWindow(BOOL bShow);
84 extern void LogShowActivity(void);
85
86 #endif /* ndef W32LOG_H_INCLUDED */
87
88
89 /*
90   Local Variables:
91   tab-width: 3
92   end:
93 */