00001 /****************************************************************************** 00002 * 00003 * $Id: pycode.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 /* This code is based on the work done by the MoxyPyDoxy team 00018 * (Linda Leong, Mike Rivera, Kim Truong, and Gabriel Estrada) 00019 * in Spring 2005 as part of CS 179E: Compiler Design Project 00020 * at the University of California, Riverside; the course was 00021 * taught by Peter H. Froehlich <phf@acm.org>. 00022 */ 00023 00024 00025 #ifndef PYCODE_H 00026 #define PYCODE_H 00027 00028 #include "qtbc.h" 00029 #include <stdio.h> 00030 00031 class CodeOutputInterface; 00032 class FileDef; 00033 class MemberDef; 00034 00035 extern void parsePythonCode(CodeOutputInterface &,const char *,const QCString &, 00036 bool ,const char *,FileDef *fd=0, 00037 int startLine=-1,int endLine=-1,bool inlineFragment=FALSE, 00038 MemberDef *memberDef=0); 00039 extern void resetPythonCodeParserState(); 00040 00041 #endif