|
Packit Service |
999d52 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
|
Packit Service |
999d52 |
*
|
|
Packit Service |
999d52 |
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
|
|
Packit Service |
999d52 |
*
|
|
Packit Service |
999d52 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
999d52 |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
999d52 |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit Service |
999d52 |
* (at your option) any later version.
|
|
Packit Service |
999d52 |
*
|
|
Packit Service |
999d52 |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
999d52 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
999d52 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
999d52 |
* GNU General Public License for more details.
|
|
Packit Service |
999d52 |
*
|
|
Packit Service |
999d52 |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
999d52 |
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
999d52 |
*
|
|
Packit Service |
999d52 |
*/
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
#ifndef __GSD_MOUSE_MANAGER_H
|
|
Packit Service |
999d52 |
#define __GSD_MOUSE_MANAGER_H
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
#include <glib-object.h>
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
G_BEGIN_DECLS
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
#define GSD_TYPE_MOUSE_MANAGER (gsd_mouse_manager_get_type ())
|
|
Packit Service |
999d52 |
#define GSD_MOUSE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_MOUSE_MANAGER, GsdMouseManager))
|
|
Packit Service |
999d52 |
#define GSD_MOUSE_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_MOUSE_MANAGER, GsdMouseManagerClass))
|
|
Packit Service |
999d52 |
#define GSD_IS_MOUSE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_MOUSE_MANAGER))
|
|
Packit Service |
999d52 |
#define GSD_IS_MOUSE_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_MOUSE_MANAGER))
|
|
Packit Service |
999d52 |
#define GSD_MOUSE_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_MOUSE_MANAGER, GsdMouseManagerClass))
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
typedef struct GsdMouseManagerPrivate GsdMouseManagerPrivate;
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
typedef struct
|
|
Packit Service |
999d52 |
{
|
|
Packit Service |
999d52 |
GObject parent;
|
|
Packit Service |
999d52 |
GsdMouseManagerPrivate *priv;
|
|
Packit Service |
999d52 |
} GsdMouseManager;
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
typedef struct
|
|
Packit Service |
999d52 |
{
|
|
Packit Service |
999d52 |
GObjectClass parent_class;
|
|
Packit Service |
999d52 |
} GsdMouseManagerClass;
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
GType gsd_mouse_manager_get_type (void);
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
GsdMouseManager * gsd_mouse_manager_new (void);
|
|
Packit Service |
999d52 |
gboolean gsd_mouse_manager_start (GsdMouseManager *manager,
|
|
Packit Service |
999d52 |
GError **error);
|
|
Packit Service |
999d52 |
void gsd_mouse_manager_stop (GsdMouseManager *manager);
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
G_END_DECLS
|
|
Packit Service |
999d52 |
|
|
Packit Service |
999d52 |
#endif /* __GSD_MOUSE_MANAGER_H */
|