1 /******************************************************************************
5 * Copyright (C) 2009 by Tobias Hunger <tobias@aquazul.com>
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
18 #ifndef SCANNER_DBUSXML_H
19 #define SCANNER_DBUSXML_H
21 #include "parserintf.h"
25 * This is the D-Bus XML parser for doxygen.
27 class DBusXMLScanner : public ParserInterface
31 virtual ~DBusXMLScanner();
32 void parseInput(const char *fileName,
36 bool needsPreprocessing(const QCString &extension);
38 void parseCode(CodeOutputInterface &codeOutIntf,
39 const char *scopeName,
40 const QCString &input,
42 const char *exampleName=0,
46 bool inlineFragment=FALSE,
47 MemberDef *memberDef=0,
48 bool showLineNumbers=TRUE,
49 Definition *searchCtx=0
52 void resetCodeParserState();
54 void parsePrototype(const char *text);