summaryrefslogtreecommitdiffstats
path: root/src/cite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cite.h')
-rw-r--r--src/cite.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/cite.h b/src/cite.h
index adf0840..499000b 100644
--- a/src/cite.h
+++ b/src/cite.h
@@ -19,9 +19,7 @@
#include <memory>
-#include <qcstring.h>
-
-class FTextStream;
+#include "qcstring.h"
/// Citation-related data.
struct CiteInfo
@@ -42,12 +40,12 @@ class CitationManager
static CitationManager &instance();
/** Insert a citation identified by \a label into the database */
- void insert(const char *label);
+ void insert(const QCString &label);
/** Return the citation info for a given \a label.
* Ownership of the info stays with the manager.
*/
- const CiteInfo *find(const char *label) const;
+ const CiteInfo *find(const QCString &label) const;
/** Generate the citations page */
void generatePage();
@@ -63,8 +61,8 @@ class CitationManager
*/
QCString latexBibFiles();
- const char *fileName() const;
- const char *anchorPrefix() const;
+ QCString fileName() const;
+ QCString anchorPrefix() const;
private:
/** Create the database, with an expected maximum of \a size entries */