[Vala] Custom export / custom attributes / iterating over object's public methods/parameters/signals/properties



Hi,

I want to implement in Vala mechanism for automatic exporting objects
over some protocol.

The concept is basically the same as usage of [DBus ...] Attributes,
but I want to add support for one more protocol.

So my questions are:

a) is there any way to define custom annotations (let's say, with the
same syntax as DBus) in the library and use that in my Vala app?

b) if not, is there any clean way to iterate over object's public
methods (with their parameters and type of returned value), signals
and properties? - that will be enough for me to implement that


Thank you in advance,

m.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]