[glibmm] Re-generate gio signal defs
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glibmm] Re-generate gio signal defs
- Date: Sun, 3 Jan 2010 04:58:48 +0000 (UTC)
commit 9fbd1dc96fd3e84f3b66c3718d943b96b2300877
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Sat Jan 2 22:20:30 2010 -0600
Re-generate gio signal defs
Add new classes to the gen_defs script
gio/src/gio_signals.defs | 210 +++++++++++++++++++++++++++++
tools/extra_defs_gen/generate_defs_gio.cc | 7 +
2 files changed, 217 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index a36f6c8..b516305 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -397,6 +397,17 @@
(when "last")
)
+(define-signal show-processes
+ (of-object "GMountOperation")
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("const-gchar*" "p0")
+ '("GArray*" "p1")
+ '("GStrv*" "p2")
+ )
+)
+
(define-property username
(of-object "GMountOperation")
(prop-type "GParamString")
@@ -766,6 +777,12 @@
;; From GResolver
+(define-signal reload
+ (of-object "GResolver")
+ (return-type "void")
+ (when "last")
+)
+
;; From GNetworkAddress
(define-property hostname
@@ -898,4 +915,197 @@
(construct-only #f)
)
+;; From GSocketClient
+
+(define-property family
+ (of-object "GSocketClient")
+ (prop-type "GParamEnum")
+ (docs "The sockets address family to use for socket construction")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property type
+ (of-object "GSocketClient")
+ (prop-type "GParamEnum")
+ (docs "The sockets type to use for socket construction")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property protocol
+ (of-object "GSocketClient")
+ (prop-type "GParamEnum")
+ (docs "The protocol to use for socket construction, or 0 for default")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property local-address
+ (of-object "GSocketClient")
+ (prop-type "GParamObject")
+ (docs "The local address constructed sockets will be bound to")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+;; From GSocketConnection
+
+(define-property input-stream
+ (of-object "GSocketConnection")
+ (prop-type "GParamObject")
+ (docs "The GInputStream to read from")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property output-stream
+ (of-object "GSocketConnection")
+ (prop-type "GParamObject")
+ (docs "The GOutputStream to write to")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property closed
+ (of-object "GSocketConnection")
+ (prop-type "GParamBoolean")
+ (docs "Is the stream closed")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property socket
+ (of-object "GSocketConnection")
+ (prop-type "GParamObject")
+ (docs "The underlying GSocket")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+;; From GTcpConnection
+
+(define-property input-stream
+ (of-object "GTcpConnection")
+ (prop-type "GParamObject")
+ (docs "The GInputStream to read from")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property output-stream
+ (of-object "GTcpConnection")
+ (prop-type "GParamObject")
+ (docs "The GOutputStream to write to")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property closed
+ (of-object "GTcpConnection")
+ (prop-type "GParamBoolean")
+ (docs "Is the stream closed")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property socket
+ (of-object "GTcpConnection")
+ (prop-type "GParamObject")
+ (docs "The underlying GSocket")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property graceful-disconnect
+ (of-object "GTcpConnection")
+ (prop-type "GParamBoolean")
+ (docs "Whether or not close does a graceful disconnect")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+;; From GUnixConnection
+
+(define-property input-stream
+ (of-object "GUnixConnection")
+ (prop-type "GParamObject")
+ (docs "The GInputStream to read from")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property output-stream
+ (of-object "GUnixConnection")
+ (prop-type "GParamObject")
+ (docs "The GOutputStream to write to")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property closed
+ (of-object "GUnixConnection")
+ (prop-type "GParamBoolean")
+ (docs "Is the stream closed")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property socket
+ (of-object "GUnixConnection")
+ (prop-type "GParamObject")
+ (docs "The underlying GSocket")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+;; From GSocketListener
+
+(define-property listen-backlog
+ (of-object "GSocketListener")
+ (prop-type "GParamInt")
+ (docs "outstanding connections in the listen queue")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+;; From GSocketService
+
+(define-signal incoming
+ (of-object "GSocketService")
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+ '("GSocketConnection*" "p0")
+ '("GObject*" "p1")
+ )
+)
+
+(define-property listen-backlog
+ (of-object "GSocketService")
+ (prop-type "GParamInt")
+ (docs "outstanding connections in the listen queue")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
diff --git a/tools/extra_defs_gen/generate_defs_gio.cc b/tools/extra_defs_gen/generate_defs_gio.cc
index d79a877..e873c4f 100644
--- a/tools/extra_defs_gen/generate_defs_gio.cc
+++ b/tools/extra_defs_gen/generate_defs_gio.cc
@@ -24,6 +24,7 @@
#ifndef G_OS_WIN32
# include <gio/gunixinputstream.h>
# include <gio/gunixoutputstream.h>
+# include <gio/gunixconnection.h>
#endif
int main(int, char**)
@@ -82,6 +83,12 @@ int main(int, char**)
<< get_defs(G_TYPE_NETWORK_ADDRESS)
<< get_defs(G_TYPE_NETWORK_SERVICE)
<< get_defs(G_TYPE_SOCKET)
+ << get_defs(G_TYPE_SOCKET_CLIENT)
+ << get_defs(G_TYPE_SOCKET_CONNECTION)
+ << get_defs(G_TYPE_TCP_CONNECTION)
+ << get_defs(G_TYPE_UNIX_CONNECTION)
+ << get_defs(G_TYPE_SOCKET_LISTENER)
+ << get_defs(G_TYPE_SOCKET_SERVICE)
<< std::endl;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]