diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-30 18:58:53 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-30 18:58:53 (GMT) |
commit | 46570cfd109829f87a17c46e32006f901b9026f4 (patch) | |
tree | 0b5acf9f52c1beacbf70e4bd2060a1b7d4d832b7 /src/reflist.cpp | |
parent | c454a5400393a54586d81517c42f7419b43b3f23 (diff) | |
download | Doxygen-46570cfd109829f87a17c46e32006f901b9026f4.zip Doxygen-46570cfd109829f87a17c46e32006f901b9026f4.tar.gz Doxygen-46570cfd109829f87a17c46e32006f901b9026f4.tar.bz2 |
Release-1.2.16-20020630
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r-- | src/reflist.cpp | 44 |
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; +} + |