3 #define W32LOG_H_VERSION "$Id: w32log.h,v 1.2 2001/05/26 00:28:36 jongfoster Exp $"
4 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/w32log.h,v $
8 * Purpose : Functions for creating and destroying the log window,
9 * ouputting strings, processing messages and so on.
11 * Copyright : Written by and Copyright (C) 2001 the SourceForge
12 * IJBSWA team. http://ijbswa.sourceforge.net
14 * Written by and Copyright (C) 1999 Adam Lock
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.
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.
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.
37 * Revision 1.2 2001/05/26 00:28:36 jongfoster
38 * Automatic reloading of config file.
39 * Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
40 * Most of the global variables have been moved to a new
41 * struct configuration_spec, accessed through csp->config->globalname
42 * Most of the globals remaining are used by the Win32 GUI.
44 * Revision 1.1.1.1 2001/05/15 13:59:07 oes
45 * Initial import of version 2.9.3 source tree
48 *********************************************************************/
55 extern HWND g_hwndLogFrame;
57 /* Indicates whether task bar shows activity animation */
58 extern BOOL g_bShowActivityAnimation;
60 /* Indicates if the log window appears on the task bar */
61 extern BOOL g_bShowOnTaskBar;
63 /* Indicates whether closing the log window really just hides it */
64 extern BOOL g_bCloseHidesWindow;
66 /* Indicates if messages are logged at all */
67 extern BOOL g_bLogMessages;
69 /* Indicates whether log messages are highlighted */
70 extern BOOL g_bHighlightMessages;
72 /* Indicates if buffer is limited in size */
73 extern BOOL g_bLimitBufferSize;
75 /* Maximum number of lines allowed in buffer when limited */
76 extern int g_nMaxBufferLines;
79 extern char g_szFontFaceName[255];
81 /* Size of font to use */
82 extern int g_nFontSize;
85 /* FIXME: this is a kludge */
87 extern const char * g_permissions_file;
88 extern const char * g_forwardfile;
90 extern const char * g_aclfile;
91 #endif /* def ACL_FILES */
93 extern const char * g_re_filterfile;
96 extern const char * g_trustfile;
97 #endif /* def TRUST_FILES */
99 /* FIXME: end kludge */
102 extern int LogPutString(const char *pszText);
103 extern BOOL InitLogWindow(void);
104 extern void TermLogWindow(void);
105 extern void ShowLogWindow(BOOL bShow);
106 extern void LogShowActivity(void);
108 /* Revision control strings from this header and associated .c file */
109 extern const char w32log_rcs[];
110 extern const char w32log_h_rcs[];
116 #endif /* ndef _W32LOG_H */