[Geany] project support

Yura Siamashka yurand2 at xxxxx
Mon Dec 24 16:06:55 UTC 2007


Hi

sources for new project plugin are here:

git clone git://repo.or.cz/geanyprj.git

or

git clone http://repo.or.cz/r/geanyprj.git

Plugin is in early development stage, but it is already can be used to provide custom build dir.

To geany devs: Please, apply attached patch, it adds few utils functions needed by this plugin to api.

Best regards,
Yura Siamashka

-------------- next part --------------
Index: src/plugindata.h
===================================================================
--- src/plugindata.h	(revision 2129)
+++ src/plugindata.h	(working copy)
@@ -93,7 +93,7 @@
 
 /* The API version should be incremented whenever any plugin data types below are
  * modified or appended to. */
-static const gint api_version = 35;
+static const gint api_version = 36;
 
 /* The ABI version should be incremented whenever existing fields in the plugin
  * data types below have to be changed or reordered. It should stay the same if fields
@@ -284,6 +284,9 @@
 	gchar*		(*get_utf8_from_locale) (const gchar *locale_text);
 	gchar*		(*remove_ext_from_filename) (const gchar *filename);
 	gint		(*mkdir) (const gchar *path, gboolean create_parent_dirs);
+	gboolean (*get_setting_boolean)(GKeyFile *config, const gchar *section, const gchar *key, const gboolean default_value);
+	gint (*get_setting_integer)(GKeyFile *config, const gchar *section, const gchar *key, const gint default_value);
+	gchar* (*get_setting_string)(GKeyFile *config, const gchar *section, const gchar *key, const gchar *default_value);
 }
 UtilsFuncs;
 
Index: src/plugins.c
===================================================================
--- src/plugins.c	(revision 2129)
+++ src/plugins.c	(working copy)
@@ -148,7 +148,10 @@
 	&utils_get_locale_from_utf8,
 	&utils_get_utf8_from_locale,
 	&utils_remove_ext_from_filename,
-	&utils_mkdir
+	&utils_mkdir,
+	&utils_get_setting_boolean,
+	&utils_get_setting_integer,
+	&utils_get_setting_string,
 };
 
 static UIUtilsFuncs uiutils_funcs = {


More information about the Users mailing list