00001 /****************************************************************************** 00002 * 00003 * $Id: pre.h,v 1.10 2001/03/19 19:27:41 root Exp $ 00004 * 00005 * Copyright (C) 1997-2008 by Dimitri van Heesch. 00006 * 00007 * Permission to use, copy, modify, and distribute this software and its 00008 * documentation under the terms of the GNU General Public License is hereby 00009 * granted. No representations are made about the suitability of this software 00010 * for any purpose. It is provided "as is" without express or implied warranty. 00011 * See the GNU General Public License for more details. 00012 * 00013 * Documents produced by Doxygen are derivative works derived from the 00014 * input used in their production; they are not affected by this license. 00015 * 00016 */ 00017 00018 #ifndef PRE_H 00019 #define PRE_H 00020 00021 #include "qtbc.h" 00022 #include <stdio.h> 00023 //#include <qfile.h> 00024 #include "define.h" 00025 00026 class BufStr; 00027 00028 DefineDict* getFileDefineDict(); 00029 void initPreprocessor(); 00030 void cleanUpPreprocessor(); 00031 void addSearchDir(const char *dir); 00032 void preprocessFile(const char *fileName,BufStr &output); 00033 void preFreeScanner(); 00034 00035 #endif