~ubuntu-branches/ubuntu/vivid/simple-scan/vivid

« back to all changes in this revision

Viewing changes to src/colord.vapi

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-08-30 12:58:27 UTC
  • mfrom: (1.3.9 upstream) (14.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20110830125827-mwqlif9tedhve29x
Tags: 3.1.5-1
* New upstream release:
  - Fix compile warnings
  - Port to Vala
  - Port to GTK3
  - Port to GDBus
  - Port to GSettings
  - Port to colord
* debian/control:
  - Port build-deps to Vala.
* Refresh patches.
* debian/watch: Look for *.bz2 tarballs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[CCode (cprefix = "Cd", lower_case_cprefix = "cd_", cheader_filename = "colord.h")]
 
2
namespace Colord {
 
3
        public class Client : GLib.Object {
 
4
        public Client ();
 
5
                public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
 
6
                public Device find_device_by_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
 
7
        }
 
8
        public class Device : GLib.Object {
 
9
                public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
 
10
                public Profile? get_default_profile ();
 
11
        }
 
12
        public class Profile : GLib.Object {
 
13
                public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
 
14
                public string? filename { get; }
 
15
        }
 
16
        public const string DEVICE_PROPERTY_SERIAL;
 
17
}