summaryrefslogtreecommitdiff
path: root/src/freebsd/up-acpi-native.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-01-18 12:26:55 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-18 12:26:55 +0000
commit15ac5102c8abcbeac6e8da007056e493d4fef1e6 (patch)
tree644ce3fecec5540cb608ad2e22175adbd3404a0a /src/freebsd/up-acpi-native.h
parent7be60e43e298a922576cafc47c89c11929c06da9 (diff)
downloadupower-15ac5102c8abcbeac6e8da007056e493d4fef1e6.tar.gz
trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes
Diffstat (limited to 'src/freebsd/up-acpi-native.h')
-rw-r--r--src/freebsd/up-acpi-native.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/freebsd/up-acpi-native.h b/src/freebsd/up-acpi-native.h
new file mode 100644
index 0000000..987e330
--- /dev/null
+++ b/src/freebsd/up-acpi-native.h
@@ -0,0 +1,48 @@
+/* dkp-acpi-native.h generated by valac, the Vala compiler, do not modify */
+
+
+#ifndef __DKP_ACPI_NATIVE_H__
+#define __DKP_ACPI_NATIVE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <stdlib.h>
+#include <string.h>
+
+G_BEGIN_DECLS
+
+
+#define TYPE_DKP_ACPI_NATIVE (dkp_acpi_native_get_type ())
+#define DKP_ACPI_NATIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DKP_ACPI_NATIVE, DkpAcpiNative))
+#define DKP_ACPI_NATIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DKP_ACPI_NATIVE, DkpAcpiNativeClass))
+#define IS_DKP_ACPI_NATIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DKP_ACPI_NATIVE))
+#define IS_DKP_ACPI_NATIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DKP_ACPI_NATIVE))
+#define DKP_ACPI_NATIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DKP_ACPI_NATIVE, DkpAcpiNativeClass))
+
+typedef struct _DkpAcpiNative DkpAcpiNative;
+typedef struct _DkpAcpiNativeClass DkpAcpiNativeClass;
+typedef struct _DkpAcpiNativePrivate DkpAcpiNativePrivate;
+
+struct _DkpAcpiNative {
+ GObject parent_instance;
+ DkpAcpiNativePrivate * priv;
+};
+
+struct _DkpAcpiNativeClass {
+ GObjectClass parent_class;
+};
+
+
+GType dkp_acpi_native_get_type (void);
+DkpAcpiNative* dkp_acpi_native_new (const char* path);
+DkpAcpiNative* dkp_acpi_native_construct (GType object_type, const char* path);
+DkpAcpiNative* dkp_acpi_native_new_driver_unit (const char* driver, gint unit);
+DkpAcpiNative* dkp_acpi_native_construct_driver_unit (GType object_type, const char* driver, gint unit);
+const char* dkp_acpi_native_get_driver (DkpAcpiNative* self);
+gint dkp_acpi_native_get_unit (DkpAcpiNative* self);
+const char* dkp_acpi_native_get_path (DkpAcpiNative* self);
+
+
+G_END_DECLS
+
+#endif