00001 /***************************************************************************** 00002 * Copyright (C) 1997-2007, Mark Hummel 00003 * This file is part of Vrq. 00004 * 00005 * Vrq is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * Vrq is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA 00019 ***************************************************************************** 00020 */ 00021 00022 /****************************************************************************** 00023 * 00024 * 00025 * main.hpp 00026 * - definitions for main 00027 * 00028 * 00029 ****************************************************************************** 00030 */ 00031 00032 #ifndef MAIN_HPP 00033 #define MAIN_HPP 00034 00035 #include <stdio.h> 00036 #include <string.h> 00037 #include <string> 00038 #include <list> 00039 #include "csymtab.h" 00040 #include "cdecl.h" 00041 00042 using namespace std; 00043 00048 extern int inferVectors; 00049 extern int quietFlag; 00050 extern int ignoreVrqComments; 00051 extern int verboseFlag; 00052 extern int svEnable; 00053 extern CSymtab<CDecl> cuSymtab; 00063 const char* VrqVersionString(); 00070 char* GetPlusArg( const char* prefix ); 00077 void GetPlusArgs( const char* prefix, list<string>& args ); 00083 void GetPluginPaths( list<string>& paths ); 00084 00085 00086 #endif // MAIN_HPP