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 of the License, or
9
* (at your option) any later version.
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_MANAGER_H
23
#define __GSD_ORIENTATION_MANAGER_H
25
#include <glib-object.h>
29
#define GSD_TYPE_ORIENTATION_MANAGER (gsd_orientation_manager_get_type ())
30
#define GSD_ORIENTATION_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_ORIENTATION_MANAGER, GsdOrientationManager))
31
#define GSD_ORIENTATION_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_ORIENTATION_MANAGER, GsdOrientationManagerClass))
32
#define GSD_IS_ORIENTATION_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_ORIENTATION_MANAGER))
33
#define GSD_IS_ORIENTATION_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_ORIENTATION_MANAGER))
34
#define GSD_ORIENTATION_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_ORIENTATION_MANAGER, GsdOrientationManagerClass))
36
typedef struct GsdOrientationManagerPrivate GsdOrientationManagerPrivate;
41
GsdOrientationManagerPrivate *priv;
42
} GsdOrientationManager;
46
GObjectClass parent_class;
47
} GsdOrientationManagerClass;
49
GType gsd_orientation_manager_get_type (void);
51
GsdOrientationManager * gsd_orientation_manager_new (void);
52
gboolean gsd_orientation_manager_start (GsdOrientationManager *manager,
54
void gsd_orientation_manager_stop (GsdOrientationManager *manager);
58
#endif /* __GSD_ORIENTATION_MANAGER_H */