00001 /******************************************************************************
00002 * swwinlog.h - definition of SWWinLog-- a derivitive of SWLog used to
00003 * handle logging in the MSWindows environment
00004 *
00005 * $Id: swwinlog_8h-source.html,v 1.4 2002/01/22 14:20:28 jansorg Exp $
00006 *
00007 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
00008 * CrossWire Bible Society
00009 * P. O. Box 2528
00010 * Tempe, AZ 85280-2528
00011 *
00012 * This program is free software; you can redistribute it and/or modify it
00013 * under the terms of the GNU General Public License as published by the
00014 * Free Software Foundation version 2.
00015 *
00016 * This program is distributed in the hope that it will be useful, but
00017 * WITHOUT ANY WARRANTY; without even the implied warranty of
00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00019 * General Public License for more details.
00020 *
00021 */
00022
00023 //---------------------------------------------------------------------------
00024 #ifndef swwinlogH
00025 #define swwinlogH
00026 //---------------------------------------------------------------------------
00027
00028 #include <swlog.h>
00029
00030 class SWWinLog:public SWLog
00031 {
00032 HWND parent;
00033 public:
00034 SWWinLog (HWND iparent);
00035 virtual void LogWarning (char *fmt, ...);
00036 virtual void LogError (char *fmt, ...);
00037 virtual void LogTimedInformation (char *fmt, ...);
00038 virtual void LogInformation (char *fmt, ...);
00039 };
00040
00041
00042 #endif
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001