1 /* 2 * libInstPatch 3 * Copyright (C) 1999-2014 Element Green <element@elementsofsound.org> 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public License 7 * as published by the Free Software Foundation; version 2.1 8 * of the License only. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18 * 02110-1301, USA or on the web at http://www.gnu.org. 19 */ 20 #ifndef __IPATCH_CONVERT_DLS2_H__ 21 #define __IPATCH_CONVERT_DLS2_H__ 22 23 #include <glib.h> 24 #include <glib-object.h> 25 #include <libinstpatch/IpatchConverter.h> 26 27 typedef struct 28 { 29 IpatchConverter parent_instance; 30 31 /*< private >*/ 32 gboolean create_stores; 33 } IpatchConverterDLS2ToFile; 34 35 typedef IpatchConverterClass IpatchConverterDLS2ToFileClass; 36 typedef IpatchConverter IpatchConverterFileToDLS2; 37 typedef IpatchConverterClass IpatchConverterFileToDLS2Class; 38 typedef IpatchConverter IpatchConverterFileToDLS2Sample; 39 typedef IpatchConverterClass IpatchConverterFileToDLS2SampleClass; 40 41 42 #define IPATCH_TYPE_CONVERTER_DLS2_TO_FILE \ 43 (ipatch_converter_dls2_to_file_get_type ()) 44 #define IPATCH_TYPE_CONVERTER_FILE_TO_DLS2 \ 45 (ipatch_converter_file_to_dls2_get_type ()) 46 #define IPATCH_TYPE_CONVERTER_FILE_TO_DLS2_SAMPLE \ 47 (ipatch_converter_file_to_dls2_sample_get_type ()) 48 49 50 GType ipatch_converter_dls2_to_file_get_type(void); 51 GType ipatch_converter_file_to_dls2_get_type(void); 52 GType ipatch_converter_file_to_dls2_sample_get_type(void); 53 54 #endif 55