1 /*
2  *  Copyright (c) Stephan Arts 2006-2012 <stephan@xfce.org>
3  *
4  *  This program is free software; you can redistribute it and/or
5  *  modify it under the terms of the GNU General Public License
6  *  as published by the Free Software Foundation; either version 2
7  *  of the License, or (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  *  02110-1301, USA.
18  */
19 
20 #include "util.h"
21 #include "wallpaper_manager.h"
22 
23 
24 
G_DEFINE_INTERFACE(RsttoWallpaperManager,rstto_wallpaper_manager,G_TYPE_OBJECT)25 G_DEFINE_INTERFACE (RsttoWallpaperManager, rstto_wallpaper_manager, G_TYPE_OBJECT)
26 
27 
28 
29 gint
30 rstto_wallpaper_manager_configure_dialog_run (
31         RsttoWallpaperManager *self,
32         RsttoFile *file,
33         GtkWindow *parent)
34 {
35     return RSTTO_WALLPAPER_MANAGER_GET_IFACE (self)->configure_dialog_run (self, file, parent);
36 }
37 
38 gboolean
rstto_wallpaper_manager_check_running(RsttoWallpaperManager * self)39 rstto_wallpaper_manager_check_running (RsttoWallpaperManager *self)
40 {
41     return RSTTO_WALLPAPER_MANAGER_GET_IFACE (self)->check_running (self);
42 }
43 
44 gboolean
rstto_wallpaper_manager_set(RsttoWallpaperManager * self,RsttoFile * file)45 rstto_wallpaper_manager_set (
46         RsttoWallpaperManager *self,
47         RsttoFile *file)
48 {
49     return RSTTO_WALLPAPER_MANAGER_GET_IFACE (self)->set (self, file);
50 }
51 
52 
53 static void
rstto_wallpaper_manager_default_init(RsttoWallpaperManagerInterface * klass)54 rstto_wallpaper_manager_default_init (RsttoWallpaperManagerInterface *klass)
55 {
56 }
57