/*
- * JACK Rack
- *
- * Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * JACK Rack
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * Original:
+ * Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net)
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Modification for MLT:
+ * Copyright (C) 2004 Ushodaya Enterprises Limited
+ * Author: Dan Dennedy <dan@dennedy.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __JR_JACK_RACK_H__
#include "plugin.h"
#include "plugin_mgr.h"
#include "plugin_settings.h"
-#include "ui.h"
+#include "process.h"
typedef struct _saved_plugin saved_plugin_t;
struct _jack_rack
{
- struct _ui * ui;
-
+ plugin_mgr_t * plugin_mgr;
+ process_info_t * procinfo;
unsigned long channels;
-
GSList * saved_plugins;
};
-jack_rack_t * jack_rack_new (struct _ui * ui, unsigned long channels);
+jack_rack_t * jack_rack_new (const char * client_name, unsigned long channels);
void jack_rack_destroy (jack_rack_t * jack_rack);
-int jack_rack_open_file (struct _ui * ui, const char * filename);
-void jack_rack_send_add_plugin (jack_rack_t * jack_rack, plugin_desc_t * plugin);
+int jack_rack_open_file (jack_rack_t * jack_rack, const char * filename);
void jack_rack_add_plugin (jack_rack_t * jack_rack, plugin_t * plugin);
void jack_rack_add_saved_plugin (jack_rack_t * jack_rack, struct _saved_plugin * saved_plugin);