00001 /* 00002 * Copyright (C) 2000 KOM/Darmstadt University of Technology 00003 * 00004 * This program is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU General Public License as published by the 00006 * Free Software Foundation; either version 2, or (at your option) any 00007 * later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00017 * USA. 00018 */ 00019 #ifndef DOIT_H 00020 #define DOIT_H 00021 00022 #include <iostream.h> 00023 #include <fstream.h> 00024 00025 class Parameters 00026 { 00027 private: 00028 const char* _inFile; 00029 char* _outFile; 00030 00031 public: 00032 Parameters ( int argc, char** argv ); 00033 00034 void usage ( char* file ); 00035 00036 const char* getInFile ( ) const; 00037 const char* getOutFile ( ) const; 00038 }; 00039 00040 extern "C" void yyerror ( char* str ); 00041 00042 #endif /* DOIT_H */ 00043