diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-15 13:09:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-15 19:07:37 (GMT) |
commit | 2442e7c5c2c8ac2879486a8d01ce8cdf8a6965bb (patch) | |
tree | 014c5150555fd2b1c5cede6a389289e6726f2d81 /src/diagram.h | |
parent | b82f069a2a11f6bc82c81ee2cda8d30725e95313 (diff) | |
download | Doxygen-2442e7c5c2c8ac2879486a8d01ce8cdf8a6965bb.zip Doxygen-2442e7c5c2c8ac2879486a8d01ce8cdf8a6965bb.tar.gz Doxygen-2442e7c5c2c8ac2879486a8d01ce8cdf8a6965bb.tar.bz2 |
Refactoring: Modernise diagram.h/diagram.cpp
Diffstat (limited to 'src/diagram.h')
-rw-r--r-- | src/diagram.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/diagram.h b/src/diagram.h index 05af28e..d8e7612 100644 --- a/src/diagram.h +++ b/src/diagram.h @@ -1,13 +1,13 @@ /****************************************************************************** * - * + * * * * 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. * @@ -19,10 +19,9 @@ #ifndef DIAGRAM_H #define DIAGRAM_H -#include <qglobal.h> +#include <memory> class ClassDef; -class TreeDiagram; class FTextStream; /** Class representing a built-in class diagram. */ @@ -36,8 +35,8 @@ class ClassDiagram void writeImage(FTextStream &t,const char *path,const char *relPath, const char *file,bool generateMap=TRUE) const; private: - TreeDiagram *base; - TreeDiagram *super; + struct Private; + std::unique_ptr<Private> p; }; #endif |