~ubuntu-branches/ubuntu/precise/simple-scan/precise

« back to all changes in this revision

Viewing changes to src/colord.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-08-22 14:39:00 UTC
  • mfrom: (1.1.26 upstream)
  • Revision ID: james.westby@ubuntu.com-20110822143900-mas00fbdm5evsv8a
Tags: 3.1.3-0ubuntu1
* New upstream release.
* debian/control: Update build-deps as per configure.ac: valac (>= 0.13.0),
  GTK 2 → 3, drop libgconf2-dev.
* debian/watch: Look for *.tar.bz2.
* 01-zlib.patch: Update for new upstream version.
* Disable 20-lpi.patch for now, needs porting to vala.

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
}