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
commit9b40d8bb8b744de9b1d5c5f7359329ba753bdf8d (patch)
tree2ece6a7b3992e0aa8d11aaad8744e6617867ccb6 /mixlib/xmix_device.h
parentfd742ee1c757c436a3c6018576251e74c096e7e0 (diff)
downloadmdk-9b40d8bb8b744de9b1d5c5f7359329ba753bdf8d.tar.gz
mdk-9b40d8bb8b744de9b1d5c5f7359329ba753bdf8d.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))