[libsoupmm] Add more types to extradefs generator and regenerate libsoup_signals.defs
- From: Siavash Safi <siavashs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libsoupmm] Add more types to extradefs generator and regenerate libsoup_signals.defs
- Date: Wed, 26 Aug 2009 15:34:03 +0000 (UTC)
commit 966948fb1c804a89d7b8a6c01db128f8c50a7838
Author: Siavash Safi <siavash siavashs org>
Date: Wed Aug 26 19:51:50 2009 +0430
Add more types to extradefs generator and regenerate libsoup_signals.defs
* codegen/extradefs/generate_extra_defs_libsoup.cc: Add more types
* libsoup/src/libsoup_signals.defs: Regenerate
codegen/extradefs/generate_extra_defs_libsoup.cc | 4 ++
libsoup/src/libsoup_signals.defs | 51 ++++++++++++++++++++++
2 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/codegen/extradefs/generate_extra_defs_libsoup.cc b/codegen/extradefs/generate_extra_defs_libsoup.cc
index c635f82..27f7705 100644
--- a/codegen/extradefs/generate_extra_defs_libsoup.cc
+++ b/codegen/extradefs/generate_extra_defs_libsoup.cc
@@ -24,9 +24,13 @@
int main(int, char**)
{
Glib::init();
+ Glib::thread_init();
+ std::cout << get_defs(SOUP_TYPE_ADDRESS);
std::cout << get_defs(SOUP_TYPE_AUTH);
+ std::cout << get_defs(SOUP_TYPE_BUFFER);
std::cout << get_defs(SOUP_TYPE_MESSAGE);
+ std::cout << get_defs(SOUP_TYPE_MESSAGE_BODY);
std::cout << get_defs(SOUP_TYPE_SESSION);
std::cout << get_defs(SOUP_TYPE_URI);
diff --git a/libsoup/src/libsoup_signals.defs b/libsoup/src/libsoup_signals.defs
index f04ad75..73a3621 100644
--- a/libsoup/src/libsoup_signals.defs
+++ b/libsoup/src/libsoup_signals.defs
@@ -1,3 +1,50 @@
+;; From SoupAddress
+
+(define-property name
+ (of-object "SoupAddress")
+ (prop-type "GParamString")
+ (docs "Hostname for this address")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property family
+ (of-object "SoupAddress")
+ (prop-type "GParamEnum")
+ (docs "Address family for this address")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property port
+ (of-object "SoupAddress")
+ (prop-type "GParamInt")
+ (docs "Port for this address")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property physical
+ (of-object "SoupAddress")
+ (prop-type "GParamString")
+ (docs "IP address for this address")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property sockaddr
+ (of-object "SoupAddress")
+ (prop-type "GParamPointer")
+ (docs "struct sockaddr for this address")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
;; From SoupAuth
(define-property scheme-name
@@ -45,6 +92,8 @@
(construct-only #f)
)
+;; From SoupBuffer
+
;; From SoupMessage
(define-signal wrote-informational
@@ -182,6 +231,8 @@
(construct-only #f)
)
+;; From SoupMessageBody
+
;; From SoupSession
(define-signal request-queued
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]