File: plugin.h

package info (click to toggle)
anjuta 2%3A3.34.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 72,196 kB
  • sloc: ansic: 207,444; sh: 47,499; cpp: 11,461; makefile: 3,588; yacc: 2,821; perl: 2,094; lex: 1,546; xml: 904; python: 149; sql: 99; java: 10
file content (61 lines) | stat: -rw-r--r-- 1,634 bytes parent folder | download | duplicates (5)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef __PLUGIN_H__
#define __PLUGIN_H__

#include <libanjuta/anjuta-plugin.h>
#include <libanjuta/anjuta-preferences.h>
#include <libanjuta/anjuta-ui.h>

extern GType docman_plugin_get_type (GTypeModule *module);
#define ANJUTA_TYPE_PLUGIN_DOCMAN         (docman_plugin_get_type (NULL))
#define ANJUTA_PLUGIN_DOCMAN(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_DOCMAN, DocmanPlugin))
#define ANJUTA_PLUGIN_DOCMAN_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_DOCMAN, DocmanPluginClass))
#define ANJUTA_IS_PLUGIN_DOCMAN(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_DOCMAN))
#define ANJUTA_IS_PLUGIN_DOCMAN_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_DOCMAN))
#define ANJUTA_PLUGIN_DOCMAN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_DOCMAN, DocmanPluginClass))

typedef struct _DocmanPlugin DocmanPlugin;
typedef struct _DocmanPluginClass DocmanPluginClass;

struct _DocmanPlugin{
	AnjutaPlugin parent;
	GtkWidget *docman;
	GSettings* settings;
	AnjutaUI *ui;
	gint uiid;
	GList *action_groups;
	
	/* project_root_uri watch*/
	gint project_watch_id;
	gchar* project_name;
	gchar* project_path;

	/* Autosave timer ID */
	gint autosave_id;
	gboolean autosave_on;

	/* Timer interval in mins */
	gint autosave_it;
	
	GList *notify_ids;
	
	/* Support plugins */
	GList *support_plugins;

	/* SearchBox */
	GtkWidget* search_box;

    /* SearchFiles */
    GObject* search_files;
	
	/* Base box of the widget */
	GtkWidget* vbox;
	
	/* Bookmarks */
	GObject* bookmarks;
};

struct _DocmanPluginClass{
	AnjutaPluginClass parent_class;
};

#endif