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