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