~ken-vandine/ubuntu/precise/folks/precise

« back to all changes in this revision

Viewing changes to folks/folks.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-12-21 17:40:15 UTC
  • mfrom: (1.2.5 upstream) (4.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221174015-4o0mdnok2a83mcch
Tags: 0.3.3-1ubuntu1
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Build-depend on dh-autoreconf
  - Bump build-depends on valac-0.12, libvala-0.12-dev
  - Add Vcs-Bzr link
* debian/rules:
  - Build with autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* folks.vapi generated by valac 0.11.2.11-bbde6, do not modify. */
 
1
/* folks.vapi generated by valac 0.11.2.25-30b2-dirty, do not modify. */
2
2
 
3
3
[CCode (cprefix = "Folks", lower_case_cprefix = "folks_")]
4
4
namespace Folks {
31
31
                public signal void backend_available (Folks.Backend backend);
32
32
        }
33
33
        [CCode (cheader_filename = "folks.h")]
34
 
        public class Individual : GLib.Object, Folks.Aliasable, Folks.Avatar, Folks.Favourite, Folks.Groupable, Folks.IMable, Folks.Presence {
 
34
        public class Individual : GLib.Object, Folks.Aliasable, Folks.Favouritable, Folks.Groupable, Folks.HasAvatar, Folks.HasPresence, Folks.IMable {
35
35
                public Individual (GLib.List<Folks.Persona>? personas);
36
36
                public string id { get; private set; }
37
37
                public bool is_user { get; private set; }
95
95
                public abstract string alias { get; set; }
96
96
        }
97
97
        [CCode (cheader_filename = "folks.h")]
98
 
        public interface Avatar : GLib.Object {
99
 
                public abstract GLib.File avatar { get; set; }
100
 
        }
101
 
        [CCode (cheader_filename = "folks.h")]
102
 
        public interface Favourite : GLib.Object {
 
98
        public interface Favouritable : GLib.Object {
103
99
                public abstract bool is_favourite { get; set; }
104
100
        }
105
101
        [CCode (cheader_filename = "folks.h")]
124
120
                public signal void group_changed (string group, bool is_member);
125
121
        }
126
122
        [CCode (cheader_filename = "folks.h")]
127
 
        public interface IMable : GLib.Object {
128
 
                public static string normalise_im_address (string im_address, string protocol);
129
 
                public abstract GLib.HashTable<string,GLib.GenericArray<string>> im_addresses { get; set; }
 
123
        public interface HasAvatar : GLib.Object {
 
124
                public abstract GLib.File avatar { get; set; }
130
125
        }
131
126
        [CCode (cheader_filename = "folks.h")]
132
 
        public interface Presence : GLib.Object {
 
127
        public interface HasPresence : GLib.Object {
133
128
                public bool is_online ();
134
129
                public static int typecmp (Folks.PresenceType type_a, Folks.PresenceType type_b);
135
130
                public abstract string presence_message { get; set; }
136
131
                public abstract Folks.PresenceType presence_type { get; set; }
137
132
        }
 
133
        [CCode (cheader_filename = "folks.h")]
 
134
        public interface IMable : GLib.Object {
 
135
                public static string normalise_im_address (string im_address, string protocol) throws Folks.IMableError;
 
136
                public abstract GLib.HashTable<string,GLib.GenericArray<string>> im_addresses { get; set; }
 
137
        }
138
138
        [CCode (cprefix = "FOLKS_MAYBE_BOOL_", cheader_filename = "folks.h")]
139
139
        public enum MaybeBool {
140
140
                UNSET,
164
164
                NONE,
165
165
                PERSONAS
166
166
        }
 
167
        [CCode (cprefix = "FOLKS_IMABLE_ERROR_", cheader_filename = "folks.h")]
 
168
        public errordomain IMableError {
 
169
                INVALID_IM_ADDRESS,
 
170
        }
167
171
        [CCode (cprefix = "FOLKS_INDIVIDUAL_AGGREGATOR_ERROR_", cheader_filename = "folks.h")]
168
172
        public errordomain IndividualAggregatorError {
169
173
                STORE_NOT_FOUND,