diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-09-14 19:13:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-09-14 19:13:58 (GMT) |
commit | 0fc06d657d596adcc289a5f228973ea268efd66d (patch) | |
tree | b204043c2cfcb805b869b3647b3bbcea0746377e /src/xmlcode.h | |
parent | 5162dab5a4254ef65e2de972f07a00ff52e7734c (diff) | |
download | Doxygen-0fc06d657d596adcc289a5f228973ea268efd66d.zip Doxygen-0fc06d657d596adcc289a5f228973ea268efd66d.tar.gz Doxygen-0fc06d657d596adcc289a5f228973ea268efd66d.tar.bz2 |
Refactoring: making xmlcode.l reentrant
Diffstat (limited to 'src/xmlcode.h')
-rw-r--r-- | src/xmlcode.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xmlcode.h b/src/xmlcode.h index 4cada9b..5a35506 100644 --- a/src/xmlcode.h +++ b/src/xmlcode.h @@ -1,12 +1,10 @@ /****************************************************************************** * - * - * - * Copyright (C) 1997-2014 by Dimitri van Heesch. + * Copyright (C) 1997-2020 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. * @@ -32,6 +30,8 @@ class Definition; class XMLCodeParser : public CodeParserInterface { public: + XMLCodeParser(); + virtual ~XMLCodeParser(); void parseCode(CodeOutputInterface &codeOutIntf, const char *scopeName, const QCString &input, @@ -48,6 +48,9 @@ class XMLCodeParser : public CodeParserInterface bool collectXRefs=TRUE ); void resetCodeParserState(); + private: + struct Private; + std::unique_ptr<Private> p; }; |