[Geany] Plugin API

blackdog blackdog at xxxxx
Fri Jul 27 12:03:36 UTC 2007


Hi Nick

I was using these events in monodevelop, you can use them for anything,
i was uploading stuff after a build. I was just thinking of stuff which
maybe easy to add and is competitive with other packages - not that
that is so important.

However, on reflection, but on the same lines, what maybe is more
useful, is an event system where any code in geany can register an
event, fire and listen. Maybe gobject has this already, need to
investigate, maybe you have something already that I'm not aware of?

Anyway with some kind of event system, my first suggestion would just
get implemented naturally in a plug in when it was needed, so really
an event system is key, not which events.

cheers

bd


On Fri, 27 Jul 2007 11:27:39 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> On 07/25/2007 07:27:25 PM, blackdog wrote:
> > 
> > Another suggestion
> > 
> > BeforeCompile, AfterCompile
> > BeforeBuild, AfterBuild
> > 
> > callbacks that can be hooked into via the plug-in system.
> > 
> Maybe, what do you need them for?
> If you want to submit a patch, I would use the build_type enum:
> 
> void after_build(build_type btype);
> 
> Instead of having one callback for each type of build action.
> 
> Regards,
> Nick
> 
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany


-- 
http://www.blackdog-haxe.com/

"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti


-- 
http://www.blackdog-haxe.com/

"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti



More information about the Users mailing list