lightmelody

changeset 740:521e1653f1e2 objectify

Removing now obsolete loudmouth.vapi
author Arc Riley <arcriley@gmail.com>
date Fri, 17 Oct 2014 07:55:36 +0000
parents 37088291364e
children 3d0dd0aa24fc
files src/Connection.gs src/wscript_build vapi/loudmouth.vapi
diffstat 3 files changed, 7 insertions(+), 31 deletions(-) [+]
line diff
     1.1 --- a/src/Connection.gs	Thu Oct 16 10:33:22 2014 +0000
     1.2 +++ b/src/Connection.gs	Fri Oct 17 07:55:36 2014 +0000
     1.3 @@ -21,6 +21,12 @@
     1.4  
     1.5  namespace Lm
     1.6  
     1.7 +    delegate DisconnectFunction (connection : Lm.Connection,
     1.8 +                                 reason : DisconnectReason)
     1.9 +
    1.10 +    delegate ResultFunction (connection : Lm.Connection, success : bool)
    1.11 +
    1.12 +
    1.13      [CCode (cprefix = "LM_DISCONNECT_REASON_", has_type_id = false)]
    1.14      enum DisconnectReason
    1.15          OK
    1.16 @@ -31,8 +37,6 @@
    1.17          INVALID_XML
    1.18          UNKNOWN
    1.19  
    1.20 -    delegate ResultFunction (connection : Lm.Connection, success : bool)
    1.21 -
    1.22  
    1.23  class Lm.Connection : Object
    1.24  
     2.1 --- a/src/wscript_build	Thu Oct 16 10:33:22 2014 +0000
     2.2 +++ b/src/wscript_build	Fri Oct 17 07:55:36 2014 +0000
     2.3 @@ -24,7 +24,7 @@
     2.4      target      = 'lightmelody-1',
     2.5      source      = bld.path.ant_glob('*.gs'),
     2.6      vapi_dirs   = '../vapi',
     2.7 -    packages    = ['config', 'gio-2.0', 'gee-0.8', 'loudmouth', 'nice'],
     2.8 +    packages    = ['config', 'gio-2.0', 'gee-0.8', 'nice'],
     2.9      includes    = '../include ../build/src',
    2.10      cflags      = ['-g', '-DLM_COMPILATION'],
    2.11      uselib      = ['GIO', 'GEE', 'IDN', 'SSL', 'ASYNCNS', 'RESOLV']
     3.1 --- a/vapi/loudmouth.vapi	Thu Oct 16 10:33:22 2014 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,28 +0,0 @@
     3.4 -/*
     3.5 - *  LightMelody - Lightweight XMPP/Jingle Client Library
     3.6 - *  Copyright (C) 2012,2013,2014 Copyleft Games Group
     3.7 - *
     3.8 - *  This program is free software; you can redistribute it and/or modify
     3.9 - *  it under the terms of the GNU Affero General Public License as published
    3.10 - *  by the Free Software Foundation, either version 3 of the License, or
    3.11 - *  (at your option) any later version.
    3.12 - *
    3.13 - *  This program is distributed in the hope that it will be useful,
    3.14 - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    3.15 - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    3.16 - *  GNU Affero General Public License for more details.
    3.17 - *
    3.18 - *  You should have received a copy of the GNU Affero General Public License
    3.19 - *  along with this program; if not, see http://www.gnu.org/licenses
    3.20 - *
    3.21 - */
    3.22 -
    3.23 -
    3.24 -namespace Lm {
    3.25 -	[CCode (cheader_filename = "loudmouth/loudmouth.h")]
    3.26 -	public delegate void DisconnectFunction (Lm.Connection connection, Lm.DisconnectReason reason);
    3.27 -	[CCode (cheader_filename = "loudmouth/loudmouth.h")]
    3.28 -	public delegate Lm.SSL.Response SSLFunction (Lm.SSL ssl, Lm.SSL.Status status);
    3.29 -	[CCode (cheader_filename = "loudmouth/loudmouth.h")]
    3.30 -	public static GLib.Quark error_quark ();
    3.31 -}