00001 /*------------------------------------------------------------------------------ 00002 00003 Copyright (c) 2000 Tyrell Corporation. All rights reserved. 00004 00005 Tyrell Reporter 00006 00007 File : Reporter.cpp 00008 Version : $Revision: 1.2 $ 00009 Author : $Author: darkeye $ 00010 Location : $Source: /cvsroot/darkice/darkice/src/Reporter.cpp,v $ 00011 00012 Copyright notice: 00013 00014 This program is free software; you can redistribute it and/or 00015 modify it under the terms of the GNU General Public License 00016 as published by the Free Software Foundation; either version 2 00017 of the License, or (at your option) any later version. 00018 00019 This program is distributed in the hope that it will be useful, 00020 but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 GNU General Public License for more details. 00023 00024 You should have received a copy of the GNU General Public License 00025 along with this program; if not, write to the Free Software 00026 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00027 00028 ------------------------------------------------------------------------------*/ 00029 00030 /* ============================================================ include files */ 00031 00032 #include <iostream> 00033 00034 #include "Reporter.h" 00035 00036 00037 /* =================================================== local data structures */ 00038 00039 00040 /* ================================================ local constants & macros */ 00041 00042 /*------------------------------------------------------------------------------ 00043 * File identity 00044 *----------------------------------------------------------------------------*/ 00045 static const char fileid[] = "$Id: Reporter.cpp,v 1.2 2002/05/28 12:35:41 darkeye Exp $"; 00046 00047 00048 /*------------------------------------------------------------------------------ 00049 * Initial values for static members of the class 00050 *----------------------------------------------------------------------------*/ 00051 unsigned int Reporter::verbosity = 1; 00052 std::ostream * Reporter::os = &std::cout; 00053 00054 00055 /* =============================================== local function prototypes */ 00056 00057 00058 /* ============================================================= module code */ 00059 00060 00061 00062 /*------------------------------------------------------------------------------ 00063 00064 $Source: /cvsroot/darkice/darkice/src/Reporter.cpp,v $ 00065 00066 $Log: Reporter.cpp,v $ 00067 Revision 1.2 2002/05/28 12:35:41 darkeye 00068 code cleanup: compiles under gcc-c++ 3.1, using -pedantic option 00069 00070 Revision 1.1 2000/11/16 08:48:43 darkeye 00071 added multiple verbosity-level event reporting and verbosity command 00072 line option 00073 00074 00075 00076 ------------------------------------------------------------------------------*/ 00077