~khaeru/referencer/daily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CROSSREFPLUGIN_H
#define CROSSREFPLUGIN_H



#include "Plugin.h"

class Document;

class CrossRefPlugin : public Plugin
{
	public:
		CrossRefPlugin ();
		~CrossRefPlugin () {};
		virtual int canResolve (Document &doc);
		virtual bool resolve (Document &doc);
		virtual Glib::ustring const getShortName ();
		virtual Glib::ustring const getLongName ();
		virtual Glib::ustring const getAuthor ();
		virtual Glib::ustring const getVersion ();
		virtual bool canConfigure () {return true;};
		virtual void doConfigure ();

	private:
		bool ignoreChanges_;
		void onPrefsChanged ();
		Glib::RefPtr<Gtk::Builder> xml_;
		Gtk::Dialog *dialog_;
		Gtk::Entry  *usernameEntry_;
		Gtk::Entry  *passwordEntry_;
};

#endif