summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-06-30 18:58:53 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-06-30 18:58:53 (GMT)
commit977ad9d3ec7dff388b8be849ae4a596ae5cd3ad4 (patch)
tree0b5acf9f52c1beacbf70e4bd2060a1b7d4d832b7 /src/reflist.cpp
parent54bcd31ff103383c6c75ed87b00f846ec29b8040 (diff)
downloadDoxygen-977ad9d3ec7dff388b8be849ae4a596ae5cd3ad4.zip
Doxygen-977ad9d3ec7dff388b8be849ae4a596ae5cd3ad4.tar.gz
Doxygen-977ad9d3ec7dff388b8be849ae4a596ae5cd3ad4.tar.bz2
Release-1.2.16-20020630
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp44
1 files changed, 42 insertions, 2 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index 2469d65..9d23e04 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -18,19 +18,33 @@
#include "reflist.h"
+#if 0
/*! The one and only todo list */
RefList todoList;
/*! The test criteria list */
RefList testList;
/*! The bug list */
RefList bugList;
+#endif
-/*! Create a todo list */
-RefList::RefList()
+/*! Create a list of items that are cross referenced with documentation blocks
+ * @param listName String representing the name of the list.
+ * @param optionName String representation of the option enabling the list.
+ * @param pageTitle String representing the title of the list page.
+ * @param secTitle String representing the title of the section.
+ * @param type Type of the section.
+ */
+RefList::RefList(const char *listName,const char *optionName,const char *pageTitle,
+ const char *secTitle,BaseOutputDocInterface::SectionTypes type)
{
m_dict = 0;
m_dictIterator = 0;
m_id = 0;
+ m_listName = listName;
+ m_optionName = optionName;
+ m_pageTitle = pageTitle;
+ m_secTitle = secTitle;
+ m_type = type;
}
/*! Destroy the todo list. Currently not called! */
@@ -84,3 +98,29 @@ RefItem *RefList::getNextRefItem()
return m_dictIterator ? m_dictIterator->operator++() : 0;
}
+/*! Returns the name of the list as set in the constructor. */
+QCString RefList::listName() const
+{
+ return m_listName;
+}
+
+QCString RefList::optionName() const
+{
+ return m_optionName;
+}
+
+QCString RefList::pageTitle() const
+{
+ return m_pageTitle;
+}
+
+QCString RefList::sectionTitle() const
+{
+ return m_secTitle;
+}
+
+BaseOutputDocInterface::SectionTypes RefList::sectionType() const
+{
+ return m_type;
+}
+