summaryrefslogtreecommitdiff
path: root/plugins/mouse/gsd-timeline.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-02-22 03:44:27 -0800
committerStefano Karapetsas <[email protected]>2012-02-22 03:44:27 -0800
commit2dfe3164d9f195b50e066def8e2a4782b5910c10 (patch)
treef95660c9462b74c2775355c29df79267fc30501b /plugins/mouse/gsd-timeline.h
parentecd8a153901507f5d210d6f85103693ef81d49c3 (diff)
parente46b4adef5c6c6805b3ca6dbfbe99a4299252514 (diff)
downloadmate-settings-daemon-2dfe3164d9f195b50e066def8e2a4782b5910c10.tar.bz2
mate-settings-daemon-2dfe3164d9f195b50e066def8e2a4782b5910c10.tar.xz
Merge pull request #3 from haxar/master
gsd to msd complete rename patch by NiceandGently
Diffstat (limited to 'plugins/mouse/gsd-timeline.h')
-rw-r--r--plugins/mouse/gsd-timeline.h127
1 files changed, 0 insertions, 127 deletions
diff --git a/plugins/mouse/gsd-timeline.h b/plugins/mouse/gsd-timeline.h
deleted file mode 100644
index d4ecbcc..0000000
--- a/plugins/mouse/gsd-timeline.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/* gsdtimeline.c
- *
- * Copyright (C) 2008 Carlos Garnacho <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef __GSD_TIMELINE_H__
-#define __GSD_TIMELINE_H__
-
-#include <glib-object.h>
-#include <gdk/gdk.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define GSD_TYPE_TIMELINE_DIRECTION (gsd_timeline_direction_get_type ())
-#define GSD_TYPE_TIMELINE_PROGRESS_TYPE (gsd_timeline_progress_type_get_type ())
-#define GSD_TYPE_TIMELINE (gsd_timeline_get_type ())
-#define GSD_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_TIMELINE, GsdTimeline))
-#define GSD_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSD_TYPE_TIMELINE, GsdTimelineClass))
-#define GSD_IS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSD_TYPE_TIMELINE))
-#define GSD_IS_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSD_TYPE_TIMELINE))
-#define GSD_TIMELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSD_TYPE_TIMELINE, GsdTimelineClass))
-
-typedef enum {
- GSD_TIMELINE_DIRECTION_FORWARD,
- GSD_TIMELINE_DIRECTION_BACKWARD
-} GsdTimelineDirection;
-
-typedef enum {
- GSD_TIMELINE_PROGRESS_LINEAR,
- GSD_TIMELINE_PROGRESS_SINUSOIDAL,
- GSD_TIMELINE_PROGRESS_EXPONENTIAL
-} GsdTimelineProgressType;
-
-typedef struct GsdTimeline GsdTimeline;
-typedef struct GsdTimelineClass GsdTimelineClass;
-
-struct GsdTimeline
-{
- GObject parent_instance;
-};
-
-struct GsdTimelineClass
-{
- GObjectClass parent_class;
-
- void (* started) (GsdTimeline *timeline);
- void (* finished) (GsdTimeline *timeline);
- void (* paused) (GsdTimeline *timeline);
-
- void (* frame) (GsdTimeline *timeline,
- gdouble progress);
-
- void (* __gsd_reserved1) (void);
- void (* __gsd_reserved2) (void);
- void (* __gsd_reserved3) (void);
- void (* __gsd_reserved4) (void);
-};
-
-typedef gdouble (*GsdTimelineProgressFunc) (gdouble progress);
-
-
-GType gsd_timeline_get_type (void) G_GNUC_CONST;
-GType gsd_timeline_direction_get_type (void) G_GNUC_CONST;
-GType gsd_timeline_progress_type_get_type (void) G_GNUC_CONST;
-
-GsdTimeline *gsd_timeline_new (guint duration);
-GsdTimeline *gsd_timeline_new_for_screen (guint duration,
- GdkScreen *screen);
-
-void gsd_timeline_start (GsdTimeline *timeline);
-void gsd_timeline_pause (GsdTimeline *timeline);
-void gsd_timeline_rewind (GsdTimeline *timeline);
-
-gboolean gsd_timeline_is_running (GsdTimeline *timeline);
-
-guint gsd_timeline_get_fps (GsdTimeline *timeline);
-void gsd_timeline_set_fps (GsdTimeline *timeline,
- guint fps);
-
-gboolean gsd_timeline_get_loop (GsdTimeline *timeline);
-void gsd_timeline_set_loop (GsdTimeline *timeline,
- gboolean loop);
-
-guint gsd_timeline_get_duration (GsdTimeline *timeline);
-void gsd_timeline_set_duration (GsdTimeline *timeline,
- guint duration);
-
-GdkScreen *gsd_timeline_get_screen (GsdTimeline *timeline);
-void gsd_timeline_set_screen (GsdTimeline *timeline,
- GdkScreen *screen);
-
-GsdTimelineDirection gsd_timeline_get_direction (GsdTimeline *timeline);
-void gsd_timeline_set_direction (GsdTimeline *timeline,
- GsdTimelineDirection direction);
-
-GsdTimelineProgressType gsd_timeline_get_progress_type (GsdTimeline *timeline);
-void gsd_timeline_set_progress_type (GsdTimeline *timeline,
- GsdTimelineProgressType type);
-void gsd_timeline_get_progress_func (GsdTimeline *timeline);
-
-void gsd_timeline_set_progress_func (GsdTimeline *timeline,
- GsdTimelineProgressFunc progress_func);
-
-gdouble gsd_timeline_get_progress (GsdTimeline *timeline);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __GSD_TIMELINE_H__ */