Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

logc.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2002  Malte Weiß, Carsten Winkelholz
00003 
00004 Malte Weiß, 13.08.2002: Log system developed (Win32: output window support).
00005 
00006 Address:  FGAN Forschungsgesellschaft fr Angewandte Naturwissenschaften e. V.
00007       Neuenahrer Str. 20
00008       D - 53343 Wachtberg
00009       
00010 Email:    winkelholz@fgan.de
00011 
00012 This program is free software; you can redistribute it and/or
00013 modify it under the terms of the GNU General Public License
00014 as published by the Free Software Foundation; either version 2
00015 of the License, or (at your option) any later version.
00016 
00017 This program is distributed in the hope that it will be useful,
00018 but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 GNU General Public License for more details.
00021 
00022 You should have received a copy of the GNU General Public License
00023 along with this program; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00025 */
00026 
00027 #ifndef LOGC_H
00028 #define LOGC_H
00029 
00030 #include <stdarg.h>
00031 
00032 // Constants
00033 #define OAW_MSG_INFO    0
00034 #define OAW_MSG_WARNING 1
00035 #define OAW_MSG_ERROR   2
00036 
00037 // Functions
00038 
00039 #include "../oawconfig.h"
00040 
00041 OAW_BEGIN_NAMESPACE
00042 
00043 #ifdef WIN32
00044 OAW_DLLMAPPING  void CreateLogWindow(void* hInstance, const char* nameIn);
00045 #endif
00046 
00047 
00048 typedef void _msgFunc(int,const char*,void*);
00049 
00050 OAW_DLLMAPPING void msg             (int nType, char *pFormat, va_list argList);
00051 OAW_DLLMAPPING void msg             (char *pFormat ...);
00052 OAW_DLLMAPPING void msgError        (char *pFormat ...);
00053 OAW_DLLMAPPING void msgWarning      (char *pFormat ...);
00054 OAW_DLLMAPPING void setMsgFile      (const char*);
00055 OAW_DLLMAPPING void setMsgCallback(_msgFunc*,void*);
00056 //OAW_DLLMAPPING void setMsgWarningCallback(msgFunc*);
00057 //OAW_DLLMAPPING void setMsgErrorCallback(msgFunc*);
00058 
00059 OAW_END_NAMESPACE
00060 
00061 #endif
00062 
00063 
00064 

Generated on Tue Jul 29 14:24:14 2003 for Open ActiveWrl by doxygen1.3-rc2