00001 /****************************************************************************** 00002 * 00003 * $Id: code.h,v 1.9 2001/03/19 19:27:39 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 CODE_H 00019 #define CODE_H 00020 00021 #include "qtbc.h" 00022 #include <stdio.h> 00023 00024 class CodeOutputInterface; 00025 class FileDef; 00026 class MemberDef; 00027 00028 void parseCCode(CodeOutputInterface &,const char *,const QCString &, 00029 bool ,const char *,FileDef *fd=0, 00030 int startLine=-1,int endLine=-1,bool inlineFragment=FALSE, 00031 MemberDef *memberDef=0); 00032 void resetCCodeParserState(); 00033 void codeFreeScanner(); 00034 00035 #endif