1 /* $Id$ */
2 /*-
3  * Copyright (c) 2006 Benedikt Meurer <benny@xfce.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
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 GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20 
21 #ifndef __TAP_PROVIDER_H__
22 #define __TAP_PROVIDER_H__
23 
24 #include <thunarx/thunarx.h>
25 
26 G_BEGIN_DECLS;
27 
28 typedef struct _TapProviderClass TapProviderClass;
29 typedef struct _TapProvider      TapProvider;
30 
31 #define TAP_TYPE_PROVIDER             (tap_provider_get_type ())
32 #define TAP_PROVIDER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TAP_TYPE_PROVIDER, TapProvider))
33 #define TAP_PROVIDER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TAP_TYPE_PROVIDER, TapProviderClass))
34 #define TAP_IS_PROVIDER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TAP_TYPE_PROVIDER))
35 #define TAP_IS_PROVIDER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TAP_TYPE_PROVIDER))
36 #define TAP_PROVIDER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TAP_TYPE_PROVIDER, TapProviderClass))
37 
38 GType tap_provider_get_type      (void) G_GNUC_CONST G_GNUC_INTERNAL;
39 void  tap_provider_register_type (ThunarxProviderPlugin *plugin) G_GNUC_INTERNAL;
40 
41 G_END_DECLS;
42 
43 #endif /* !__TAP_PROVIDER_H__ */
44