diff options
Diffstat (limited to 'src/code.h')
-rw-r--r-- | src/code.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -31,12 +31,12 @@ class CCodeParser : public CodeParserInterface CCodeParser(); virtual ~CCodeParser(); void parseCode(CodeOutputInterface &codeOutIntf, - const char *scopeName, + const QCString &scopeName, const QCString &input, SrcLangExt lang, bool isExampleBlock, - const char *exampleName=0, - FileDef *fileDef=0, + const QCString &exampleName=QCString(), + const FileDef *fileDef=0, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, @@ -46,6 +46,7 @@ class CCodeParser : public CodeParserInterface bool collectXRefs=TRUE ); void resetCodeParserState(); + void setStartCodeLine(const bool inp); private: struct Private; std::unique_ptr<Private> p; |