Merge branch 'master' into gregoa
[gregoa/zavai.git] / src / devkit-power-gobject.vapi
index 80a7a75f84ba43778853db65ea83082ebf83a65a..139abc2ac6b21e33ac43cf59e240d5176c2face4 100644 (file)
@@ -2,7 +2,7 @@
 
 [CCode (cprefix = "Dkp", lower_case_cprefix = "dkp_")]
 namespace Dkp {
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class Client : GLib.Object {
                [CCode (has_construct_function = false)]
                public Client ();
@@ -38,7 +38,7 @@ namespace Dkp {
                public virtual signal void device_changed (void* device);
                public virtual signal void device_removed (void* device);
        }
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class Device : GLib.Object {
                [CCode (has_construct_function = false)]
                public Device ();
@@ -111,7 +111,7 @@ namespace Dkp {
                public virtual signal void changed (void* obj);
        }
        [Compact]
-       [CCode (copy_function = "dkp_history_obj_copy", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (copy_function = "dkp_history_obj_copy", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class HistoryObj {
                public Dkp.DeviceState state;
                public uint time;
@@ -127,7 +127,7 @@ namespace Dkp {
                public unowned string to_string ();
        }
        [Compact]
-       [CCode (copy_function = "dkp_qos_obj_copy", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (copy_function = "dkp_qos_obj_copy", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class QosObj {
                public weak string cmdline;
                public uint cookie;
@@ -145,7 +145,7 @@ namespace Dkp {
                public bool print ();
        }
        [Compact]
-       [CCode (copy_function = "dkp_stats_obj_copy", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (copy_function = "dkp_stats_obj_copy", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class StatsObj {
                public double accuracy;
                public double value;
@@ -156,7 +156,7 @@ namespace Dkp {
                public static unowned Dkp.StatsObj from_string (string text);
                public unowned string to_string ();
        }
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class Wakeups : GLib.Object {
                [CCode (has_construct_function = false)]
                public Wakeups ();
@@ -167,7 +167,7 @@ namespace Dkp {
                public virtual signal void total_changed (uint value);
        }
        [Compact]
-       [CCode (copy_function = "dkp_wakeups_obj_copy", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (copy_function = "dkp_wakeups_obj_copy", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public class WakeupsObj {
                public weak string cmdline;
                public weak string details;
@@ -181,7 +181,7 @@ namespace Dkp {
                public bool equal (Dkp.WakeupsObj obj2);
                public bool print ();
        }
-       [CCode (cprefix = "DKP_DEVICE_STATE_", has_type_id = "0", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cprefix = "DKP_DEVICE_STATE_", has_type_id = "0", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public enum DeviceState {
                UNKNOWN,
                CHARGING,
@@ -192,7 +192,7 @@ namespace Dkp {
                PENDING_DISCHARGE,
                LAST
        }
-       [CCode (cprefix = "DKP_DEVICE_TECHNOLOGY_", has_type_id = "0", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cprefix = "DKP_DEVICE_TECHNOLOGY_", has_type_id = "0", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public enum DeviceTechnology {
                UNKNOWN,
                LITHIUM_ION,
@@ -203,7 +203,7 @@ namespace Dkp {
                NICKEL_METAL_HYDRIDE,
                LAST
        }
-       [CCode (cprefix = "DKP_DEVICE_TYPE_", has_type_id = "0", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cprefix = "DKP_DEVICE_TYPE_", has_type_id = "0", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public enum DeviceType {
                UNKNOWN,
                LINE_POWER,
@@ -216,17 +216,17 @@ namespace Dkp {
                PHONE,
                LAST
        }
-       [CCode (cprefix = "DKP_QOS_TYPE_", has_type_id = "0", cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cprefix = "DKP_QOS_TYPE_", has_type_id = "0", cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public enum QosType {
                UNKNOWN,
                NETWORK,
                CPU_DMA,
                LAST
        }
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public const int COMPILE_VERSION;
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public static Dkp.QosType qos_type_from_text (string type);
-       [CCode (cheader_filename = "devkit-power-gobject.h")]
+       [CCode (cheader_filename = "devkit-power-gobject/devicekit-power.h")]
        public static unowned string qos_type_to_text (Dkp.QosType type);
 }