メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

TPrintWarrantyCommand.cc

解説を見る。
00001 // =====================================================================
00002 //  $Id: TPrintWarrantyCommand.cc,v 1.2 2004/03/07 10:30:28 goiwai Exp $
00003 //  $Name: CLDAQ-1-14-03 $
00004 //  $Log: TPrintWarrantyCommand.cc,v $
00005 //  Revision 1.2  2004/03/07 10:30:28  goiwai
00006 //  ROOTに組みこむためのおまじないマクロを埋めこみました。
00007 //  全てにおいて完全に動作するわけではありません。
00008 //
00009 //  Revision 1.1  2003/12/08 07:05:25  goiwai
00010 //  著作権や保証の情報を表示します.
00011 //  かっこだけでなくなるべく厳密にGPLに準拠しようと思いまして.
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     // for GPL 2 or later
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


CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp