00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "TPrintWarrantyCommand.hh"
00015 #include "TRunManager.hh"
00016
00017 static const Tstring _name = "warranty";
00018 static const Tstring _desc = "Print a longer warranty notice.";
00019
00020 TPrintWarrantyCommand::TPrintWarrantyCommand( TRunManager* manager )
00021 : TCommand( manager, _name, _desc )
00022 {;}
00023
00024 TPrintWarrantyCommand::~TPrintWarrantyCommand()
00025 {;}
00026
00027 Tvoid TPrintWarrantyCommand::Execute( const TstringList& arguments )
00028 {
00029 Tcout << Tendl;
00030 Tcout << Tproject << " " << Tversion << " - a Class Library for Data AcQuisition" << Tendl;
00031 Tcout << "Copyright (C) 2000-2004 Go IWAI <goiwai@users.sourceforge.jp>" << Tendl;
00032 Tcout << Tendl;
00033 Tcout <<
00034
00035 " This program is free software; you can redistribute it and/or modify\n"
00036 " it under the terms of the GNU General Public License as published by\n"
00037 " the Free Software Foundation; either version 2 of the License , or\n"
00038 " (at your option) any later version.\n"
00039 "\n"
00040 " This program is distributed in the hope that it will be useful,\n"
00041 " but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
00042 " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
00043 " GNU General Public License for more details.\n"
00044 "\n"
00045 " You should have received a copy of the GNU General Public License\n"
00046 " along with this program. If not, write to\n"
00047 "\n"
00048 " The Free Software Foundation, Inc.\n"
00049 " 59 Temple Place, Suite 330\n"
00050 " Boston, MA 02111, USA.\n"
00051 << Tendl;
00052
00053 return;
00054 }
00055
00056 #ifdef __CLDAQ_ROOT_DLL
00057 ClassImp(TPrintWarrantyCommand)
00058 #endif