added header. removed ^M.
[privoxy.git] / w32log.h
1 #ifndef _W32LOG_H
2 #define _W32LOG_H
3 #define W32LOG_H_VERSION "$Id: w32log.h,v 1.1 2001/05/13 21:57:07 administrator Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /home/administrator/cvs/ijb/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 the SourceForge
12  *                IJBSWA team.  http://ijbswa.sourceforge.net
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  * Revisions   :
36  *    $Log: w32log.h,v $
37  *
38  *********************************************************************/
39 \f
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern HWND g_hwndLogFrame;
46
47 /* Indicates whether task bar shows activity animation */
48 extern BOOL g_bShowActivityAnimation;
49
50 /* Indicates if the log window appears on the task bar */
51 extern BOOL g_bShowOnTaskBar;
52
53 /* Indicates whether closing the log window really just hides it */
54 extern BOOL g_bCloseHidesWindow;
55
56 /* Indicates if messages are logged at all */
57 extern BOOL g_bLogMessages;
58
59 /* Indicates whether log messages are highlighted */
60 extern BOOL g_bHighlightMessages;
61
62 /* Indicates if buffer is limited in size */
63 extern BOOL g_bLimitBufferSize;
64
65 /* Maximum number of lines allowed in buffer when limited */
66 extern int g_nMaxBufferLines;
67
68 /* Font to use */
69 extern char g_szFontFaceName[255];
70
71 /* Size of font to use */
72 extern int g_nFontSize;
73
74
75 extern int LogPutString(const char *pszText);
76 extern BOOL InitLogWindow(void);
77 extern void TermLogWindow(void);
78 extern void ShowLogWindow(BOOL bShow);
79 extern void LogShowActivity(void);
80
81 /* Revision control strings from this header and associated .c file */
82 extern const char w32log_rcs[];
83 extern const char w32log_h_rcs[];
84
85 #ifdef __cplusplus
86 } /* extern "C" */
87 #endif
88
89 #endif /* ndef _W32LOG_H */
90
91
92 /*
93   Local Variables:
94   tab-width: 3
95   end:
96 */