1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
4
* Copyright (C) 2010 Red Hat, Inc.
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef __GSD_ORIENTATION_PLUGIN_H__
23
#define __GSD_ORIENTATION_PLUGIN_H__
26
#include <glib-object.h>
29
#include "gnome-settings-plugin.h"
33
#define GSD_TYPE_ORIENTATION_PLUGIN (gsd_orientation_plugin_get_type ())
34
#define GSD_ORIENTATION_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_ORIENTATION_PLUGIN, GsdOrientationPlugin))
35
#define GSD_ORIENTATION_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_ORIENTATION_PLUGIN, GsdOrientationPluginClass))
36
#define GSD_IS_ORIENTATION_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_ORIENTATION_PLUGIN))
37
#define GSD_IS_ORIENTATION_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_ORIENTATION_PLUGIN))
38
#define GSD_ORIENTATION_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_ORIENTATION_PLUGIN, GsdOrientationPluginClass))
40
typedef struct GsdOrientationPluginPrivate GsdOrientationPluginPrivate;
44
GnomeSettingsPlugin parent;
45
GsdOrientationPluginPrivate *priv;
46
} GsdOrientationPlugin;
50
GnomeSettingsPluginClass parent_class;
51
} GsdOrientationPluginClass;
53
GType gsd_orientation_plugin_get_type (void) G_GNUC_CONST;
55
/* All the plugins must implement this function */
56
G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module);
60
#endif /* __GSD_ORIENTATION_PLUGIN_H__ */