5 * Copyright (C) Robert Ham 2002, 2003 (node@users.sourceforge.net)
7 * Modification for MLT:
8 * Copyright (C) 2004 Ushodaya Enterprises Limited
9 * Author: Dan Dennedy <dan@dennedy.org>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #ifndef __JR_PLUGIN_MANAGER_H__
27 #define __JR_PLUGIN_MANAGER_H__
31 #include "plugin_desc.h"
33 typedef struct _plugin_mgr plugin_mgr_t
;
40 unsigned long plugin_count
;
45 plugin_mgr_t
* plugin_mgr_new ();
46 void plugin_mgr_destroy (plugin_mgr_t
* plugin_mgr
);
48 void plugin_mgr_set_plugins (plugin_mgr_t
* plugin_mgr
, unsigned long rack_channels
);
50 plugin_desc_t
* plugin_mgr_get_desc (plugin_mgr_t
* plugin_mgr
, unsigned long id
);
51 plugin_desc_t
* plugin_mgr_get_any_desc (plugin_mgr_t
* plugin_mgr
, unsigned long id
);
53 #endif /* __JR_PLUGIN_MANAGER_H__ */