/usr/include/libinstpatch-1.0/libinstpatch/IpatchSF2PZone.h is in libinstpatch-dev 1.0.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /*
* libInstPatch
* Copyright (C) 1999-2010 Joshua "Element" Green <jgreen@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1
* of the License only.
*
* This library 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA or on the web at http://www.gnu.org.
*/
/**
* SECTION: IpatchSF2PZone
* @short_description: SoundFont preset zone object
* @see_also: #IpatchSF2Preset, #IpatchSF2Inst
* @stability: Stable
*
* Preset zones are children to #IpatchSF2Preset objects and define how
* offset generators (effect parameters) for their referenced #IpatchSF2Inst.
*/
#ifndef __IPATCH_SF2_PZONE_H__
#define __IPATCH_SF2_PZONE_H__
#include <stdarg.h>
#include <glib.h>
#include <glib-object.h>
#include <libinstpatch/IpatchSF2Zone.h>
#include <libinstpatch/IpatchSF2Inst.h>
/* forward type declarations */
typedef struct _IpatchSF2PZone IpatchSF2PZone;
typedef struct _IpatchSF2PZoneClass IpatchSF2PZoneClass;
#define IPATCH_TYPE_SF2_PZONE (ipatch_sf2_pzone_get_type ())
#define IPATCH_SF2_PZONE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), IPATCH_TYPE_SF2_PZONE, \
IpatchSF2PZone))
#define IPATCH_SF2_PZONE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), IPATCH_TYPE_SF2_PZONE, \
IpatchSF2PZoneClass))
#define IPATCH_IS_SF2_PZONE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), IPATCH_TYPE_SF2_PZONE))
#define IPATCH_IS_SF2_PZONE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), IPATCH_TYPE_SF2_PZONE))
#define IPATCH_SF2_PZONE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), IPATCH_TYPE_SF2_PZONE, \
IpatchSF2PZoneClass))
/* SoundFont pzone item */
struct _IpatchSF2PZone
{
IpatchSF2Zone parent_instance;
};
struct _IpatchSF2PZoneClass
{
IpatchSF2ZoneClass parent_class;
};
GType ipatch_sf2_pzone_get_type (void);
IpatchSF2PZone *ipatch_sf2_pzone_new (void);
IpatchSF2PZone *ipatch_sf2_pzone_first (IpatchIter *iter);
IpatchSF2PZone *ipatch_sf2_pzone_next (IpatchIter *iter);
void ipatch_sf2_pzone_set_inst (IpatchSF2PZone *pzone, IpatchSF2Inst *inst);
IpatchSF2Inst *ipatch_sf2_pzone_get_inst (IpatchSF2PZone *pzone);
#endif
|