#include "support/copied_ptr.h"
#include "support/types.h"
+#include "frontends/controllers/biblio.h"
+
#include <vector>
class Language;
-namespace biblio {
-
-enum CiteEngine {
- ENGINE_BASIC,
- ENGINE_NATBIB_AUTHORYEAR,
- ENGINE_NATBIB_NUMERICAL,
- ENGINE_JURABIB
-};
-
-class CiteEngine_enum {
- CiteEngine val_;
-public:
- CiteEngine_enum(CiteEngine val) : val_(val) {}
- operator CiteEngine() const{ return val_; }
-};
-
-} // namespace biblio
-
-
/** Buffer parameters.
* This class contains all the parameters for this a buffer uses. Some
* work needs to be done on this class to make it nice. Now everything
/// Whether and how to load esint
Package use_esint;
///
- biblio::CiteEngine cite_engine;
- ///
bool use_bibtopic;
/// revision tracking for this buffer ?
bool trackChanges;
/// path of the current buffer
std::string filepath;
/// get the appropriate cite engine (natbib handling)
- biblio::CiteEngine_enum getEngine() const;
+ biblio::CiteEngine getEngine() const;
+
+ ///
+ void setCiteEngine(biblio::CiteEngine const);
private:
/** Use the Pimpl idiom to hide those member variables that would otherwise
static void destroy(Impl *);
};
support::copied_ptr<Impl, MemoryTraits> pimpl_;
+
+ ///
+ biblio::CiteEngine cite_engine_;
};
} // namespace lyx