Fix a warning when a log message is spread across multiple lines
[privoxy.git] / w32log.h
1 #ifndef W32LOG_H_INCLUDED
2 #define W32LOG_H_INCLUDED
3 #define W32LOG_H_VERSION "$Id: w32log.h,v 1.15 2010/08/14 23:28:52 ler762 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 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 extern HWND g_hwndLogFrame;
43
44 /* Indicates whether task bar shows activity animation */
45 extern BOOL g_bShowActivityAnimation;
46
47 /* Indicates if the log window appears on the task bar */
48 extern BOOL g_bShowOnTaskBar;
49
50 /* Indicates whether closing the log window really just hides it */
51 extern BOOL g_bCloseHidesWindow;
52
53 /* Indicates if messages are logged at all */
54 extern BOOL g_bLogMessages;
55
56 /* Indicates whether log messages are highlighted */
57 extern BOOL g_bHighlightMessages;
58
59 /* Indicates if buffer is limited in size */
60 extern BOOL g_bLimitBufferSize;
61
62 /* Maximum number of lines allowed in buffer when limited */
63 extern int g_nMaxBufferLines;
64
65 /* Font to use */
66 extern char g_szFontFaceName[32];
67
68 /* Size of font to use */
69 extern int g_nFontSize;
70
71
72 /* FIXME: this is a kludge */
73
74 extern const char * g_default_actions_file;
75 extern const char * g_user_actions_file;
76 extern const char * g_default_filterfile;
77 extern const char * g_user_filterfile;
78 #ifdef FEATURE_TRUST
79 extern const char * g_trustfile;
80 #endif /* def FEATURE_TRUST */
81
82 /* FIXME: end kludge */
83
84 extern HICON g_hiconApp;
85 extern int LogPutString(const char *pszText);
86 extern BOOL InitLogWindow(void);
87 extern void TermLogWindow(void);
88 extern void ShowLogWindow(BOOL bShow);
89 extern void LogShowActivity(void);
90
91 /* Revision control strings from this header and associated .c file */
92 extern const char w32log_rcs[];
93 extern const char w32log_h_rcs[];
94
95 #ifdef __cplusplus
96 } /* extern "C" */
97 #endif
98
99 #endif /* ndef W32LOG_H_INCLUDED */
100
101
102 /*
103   Local Variables:
104   tab-width: 3
105   end:
106 */