[valadoc] signals: collect default implementations
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] signals: collect default implementations
- Date: Tue, 2 Sep 2014 17:17:35 +0000 (UTC)
commit eee27a89faa533249f7b3aad7af23c0fd61dfc6e
Author: Florian Brosch <flo brosch gmail com>
Date: Sat Aug 30 18:16:12 2014 +0200
signals: collect default implementations
src/driver/0.16.x/treebuilder.vala | 1 +
src/driver/0.18.x/treebuilder.vala | 1 +
src/driver/0.20.x/treebuilder.vala | 1 +
src/driver/0.22.x/treebuilder.vala | 1 +
src/driver/0.24.x/treebuilder.vala | 1 +
src/driver/0.26.x/treebuilder.vala | 1 +
src/libvaladoc/api/signal.vala | 8 +++++++-
7 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/src/driver/0.16.x/treebuilder.vala b/src/driver/0.16.x/treebuilder.vala
index 54458a1..5e342a2 100644
--- a/src/driver/0.16.x/treebuilder.vala
+++ b/src/driver/0.16.x/treebuilder.vala
@@ -1291,6 +1291,7 @@ element);
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusServerModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/driver/0.18.x/treebuilder.vala b/src/driver/0.18.x/treebuilder.vala
index 43ec860..81b5d34 100644
--- a/src/driver/0.18.x/treebuilder.vala
+++ b/src/driver/0.18.x/treebuilder.vala
@@ -1283,6 +1283,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusServerModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/driver/0.20.x/treebuilder.vala b/src/driver/0.20.x/treebuilder.vala
index 06c5845..a855505 100644
--- a/src/driver/0.20.x/treebuilder.vala
+++ b/src/driver/0.20.x/treebuilder.vala
@@ -1285,6 +1285,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusServerModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/driver/0.22.x/treebuilder.vala b/src/driver/0.22.x/treebuilder.vala
index 32f9b84..03cfe05 100644
--- a/src/driver/0.22.x/treebuilder.vala
+++ b/src/driver/0.22.x/treebuilder.vala
@@ -1285,6 +1285,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusServerModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/driver/0.24.x/treebuilder.vala b/src/driver/0.24.x/treebuilder.vala
index 7210711..76e52c0 100644
--- a/src/driver/0.24.x/treebuilder.vala
+++ b/src/driver/0.24.x/treebuilder.vala
@@ -1285,6 +1285,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusServerModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/driver/0.26.x/treebuilder.vala b/src/driver/0.26.x/treebuilder.vala
index f703e02..f37b153 100644
--- a/src/driver/0.26.x/treebuilder.vala
+++ b/src/driver/0.26.x/treebuilder.vala
@@ -1285,6 +1285,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
get_access_modifier
(element),
comment,
get_cname (element),
+ (element.default_handler !=
null)? get_cname (element.default_handler) : null,
Vala.GDBusModule.get_dbus_name_for_member (element),
Vala.GDBusModule.is_dbus_visible (element),
element.is_virtual,
diff --git a/src/libvaladoc/api/signal.vala b/src/libvaladoc/api/signal.vala
index 646e71c..4bbbb23 100644
--- a/src/libvaladoc/api/signal.vala
+++ b/src/libvaladoc/api/signal.vala
@@ -28,6 +28,7 @@ using Valadoc.Content;
* Represents an signal.
*/
public class Valadoc.Api.Signal : Member, Callable {
+ private string? default_impl_cname;
private string? dbus_name;
private string? cname;
@@ -42,11 +43,12 @@ public class Valadoc.Api.Signal : Member, Callable {
public Signal (Node parent, SourceFile file, string name, SymbolAccessibility accessibility,
- SourceComment? comment, string? cname, string? dbus_name, bool
is_dbus_visible,
+ SourceComment? comment, string? cname, string? default_impl_cname, string?
dbus_name, bool is_dbus_visible,
bool is_virtual, void* data)
{
base (parent, file, name, accessibility, comment, data);
+ this.default_impl_cname = default_impl_cname;
this.dbus_name = dbus_name;
this.cname = cname;
@@ -61,6 +63,10 @@ public class Valadoc.Api.Signal : Member, Callable {
return cname;
}
+ public string? get_default_impl_cname () {
+ return default_impl_cname;
+ }
+
/**
* Returns the dbus-name.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]