summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-09-09 10:53:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-09-13 10:02:42 (GMT)
commitded4e9a92670d0157cdcc5cbf7a4a1e3193e179a (patch)
tree644b3706cf39c3d7dd4acf28ce94dfa0d9ff4a4b /src/definition.h
parent3941a16cc77f317329596b01294e021c150f88da (diff)
downloadDoxygen-ded4e9a92670d0157cdcc5cbf7a4a1e3193e179a.zip
Doxygen-ded4e9a92670d0157cdcc5cbf7a4a1e3193e179a.tar.gz
Doxygen-ded4e9a92670d0157cdcc5cbf7a4a1e3193e179a.tar.bz2
Made several improvements to the performance of template engine
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/definition.h b/src/definition.h
index 4fe953b..2a66ebc 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -92,7 +92,8 @@ class DefinitionIntf
class Definition : public DefinitionIntf
{
public:
-
+ struct Cookie {};
+
/*! Create a new definition */
Definition(
const char *defFileName,int defLine,int defColumn,
@@ -344,6 +345,9 @@ class Definition : public DefinitionIntf
void addSectionsToIndex();
void writeToc(OutputList &ol);
+ void setCookie(Cookie *cookie) { m_cookie = cookie; }
+ Cookie *cookie() const { return m_cookie; }
+
protected:
Definition(const Definition &d);
@@ -367,6 +371,7 @@ class Definition : public DefinitionIntf
QCString m_symbolName;
int m_defLine;
int m_defColumn;
+ Cookie *m_cookie;
};
/** A list of Definition objects. */