gimpinputdevicestore.h 1.81 KB
Newer Older
1 2 3 4 5 6
/* GIMP - The GNU Image Manipulation Program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * gimpinputdevicestore.h
 * Copyright (C) 2007  Sven Neumann <sven@gimp.org>
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation; either version 3 of the License, or
10 11 12 13 14 15 16 17
 * (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
18
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20 21 22 23 24
 */

#ifndef __GIMP_INPUT_DEVICE_STORE_H__
#define __GIMP_INPUT_DEVICE_STORE_H__


25
#define GIMP_TYPE_INPUT_DEVICE_STORE    (gimp_input_device_store_get_type ())
26 27 28 29 30 31
#define GIMP_INPUT_DEVICE_STORE(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_INPUT_DEVICE_STORE, GimpInputDeviceStore))
#define GIMP_IS_INPUT_DEVICE_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_INPUT_DEVICE_STORE))

typedef struct _GimpInputDeviceStore GimpInputDeviceStore;


32
void                   gimp_input_device_store_register_types  (GTypeModule           *module);
33

34
GType                  gimp_input_device_store_get_type        (void);
35

36
GimpInputDeviceStore * gimp_input_device_store_new             (void);
37 38 39
gchar                * gimp_input_device_store_get_device_file (GimpInputDeviceStore  *store,
                                                                const gchar           *udi);
GError               * gimp_input_device_store_get_error       (GimpInputDeviceStore  *store);
40 41 42


#endif  /* __GIMP_INPUT_DEVICE_STORE_H__ */