summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_device.h
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-06 21:38:13 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-06 21:38:13 +0000
commit070635cb6e0b42c7a485189d1a58db04482de0f8 (patch)
treeb814420bed82cf36ba64bbd44841d63eb2ded1e4 /mixlib/xmix_device.h
parent6c118b8f8965a5fbb602ad556b584f6f8c0c26c0 (diff)
downloadmdk-070635cb6e0b42c7a485189d1a58db04482de0f8.tar.gz
mdk-070635cb6e0b42c7a485189d1a58db04482de0f8.tar.bz2
support for gtk binary devices added
Diffstat (limited to 'mixlib/xmix_device.h')
-rw-r--r--mixlib/xmix_device.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/mixlib/xmix_device.h b/mixlib/xmix_device.h
index 45fd7d3..4c2866a 100644
--- a/mixlib/xmix_device.h
+++ b/mixlib/xmix_device.h
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- xmix_device.h :
* Protected declarations for mix_device_t
* ------------------------------------------------------------------
- * Last change: Time-stamp: <01/03/02 01:15:22 jose>
+ * Last change: Time-stamp: <2001-05-04 23:35:39 jao>
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -56,6 +56,19 @@ struct mix_device_t
const mix_device_vtable_t *vtable;
};
+/* constructors */
+extern void
+construct_device_ (mix_device_t *dev, mix_device_type_t type);
+
+extern void
+construct_device_with_name_ (mix_device_t *dev,
+ mix_device_type_t type, const gchar *name);
+
+extern void
+construct_device_with_file_ (mix_device_t *dev,
+ mix_device_type_t type, FILE *file);
+
+
#define GET_CHANNEL_(dev) (dev->file)
#define GET_FILE_(dev) ((mix_file_t *)(dev->file))