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.1 2003/02/28 21:22:07 mgruner 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 SWORD_NAMESPACE_START 00031 00032 class SWWinLog:public SWLog 00033 { 00034 HWND parent; 00035 public: 00036 SWWinLog (HWND iparent); 00037 virtual void LogWarning (char *fmt, ...); 00038 virtual void LogError (char *fmt, ...); 00039 virtual void LogTimedInformation (char *fmt, ...); 00040 virtual void LogInformation (char *fmt, ...); 00041 }; 00042 00043 SWORD_NAMESPACE_END 00044 #endif