3 #define W32LOG_H_VERSION "$Id: w32log.h,v 1.1 2001/05/13 21:57:07 administrator Exp $"
4 /*********************************************************************
6 * File : $Source: /home/administrator/cvs/ijb/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.
38 *********************************************************************/
45 extern HWND g_hwndLogFrame;
47 /* Indicates whether task bar shows activity animation */
48 extern BOOL g_bShowActivityAnimation;
50 /* Indicates if the log window appears on the task bar */
51 extern BOOL g_bShowOnTaskBar;
53 /* Indicates whether closing the log window really just hides it */
54 extern BOOL g_bCloseHidesWindow;
56 /* Indicates if messages are logged at all */
57 extern BOOL g_bLogMessages;
59 /* Indicates whether log messages are highlighted */
60 extern BOOL g_bHighlightMessages;
62 /* Indicates if buffer is limited in size */
63 extern BOOL g_bLimitBufferSize;
65 /* Maximum number of lines allowed in buffer when limited */
66 extern int g_nMaxBufferLines;
69 extern char g_szFontFaceName[255];
71 /* Size of font to use */
72 extern int g_nFontSize;
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);
81 /* Revision control strings from this header and associated .c file */
82 extern const char w32log_rcs[];
83 extern const char w32log_h_rcs[];
89 #endif /* ndef _W32LOG_H */