diff options
Diffstat (limited to 'plugins/desktop-thumbnailer/desktop-thumbnailer-provider.h')
-rw-r--r-- | plugins/desktop-thumbnailer/desktop-thumbnailer-provider.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.h b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.h new file mode 100644 index 0000000..db10a46 --- /dev/null +++ b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2017 Ali Abdallah <ali@xfce.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * 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 Library General Public License for more details. + * + * You should have received a copy of the GNU Library General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef __DESKTOP_THUMBNAILER_PROVIDER_H__ +#define __DESKTOP_THUMBNAILER_PROVIDER_H__ + +#include <glib-object.h> + +G_BEGIN_DECLS + +#define TYPE_DESKTOP_THUMBNAILER_PROVIDER (desktop_thumbnailer_provider_get_type ()) +#define DESKTOP_THUMBNAILER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DESKTOP_THUMBNAILER_PROVIDER, DesktopThumbnailerProvider)) +#define DESKTOP_THUMBNAILER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DESKTOP_THUMBNAILER_PROVIDER, DesktopThumbnailerProviderClass)) +#define IS_DESKTOP_THUMBNAILER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DESKTOP_THUMBNAILER_PROVIDER)) +#define IS_DESKTOP_THUMBNAILER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DESKTOP_THUMBNAILER_PROVIDER) +#define DESKTOP_THUMBNAILER_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DESKTOP_THUMBNAILER_PROVIDER, DesktopThumbnailerProviderClass)) + +typedef struct _DesktopThumbnailerProviderClass DesktopThumbnailerProviderClass; +typedef struct _DesktopThumbnailerProvider DesktopThumbnailerProvider; + +GType desktop_thumbnailer_provider_get_type (void) G_GNUC_CONST; +void desktop_thumbnailer_provider_register (TumblerProviderPlugin *plugin); + +G_END_DECLS + +#endif /* !__DESKTOP_THUMBNAILER_PROVIDER_H__ */ |