~indicator-applet-developers/notify-osd/phablet

« back to all changes in this revision

Viewing changes to egg/egg-timeout-pool.h

  • Committer: Tarmac
  • Author(s): Mirco Müller
  • Date: 2013-02-14 17:08:27 UTC
  • mfrom: (660.1.2 notify-osd)
  • Revision ID: tarmac-20130214170827-izxwq5al4hn1um13
Remove the egg tweening framework.

Approved by Pete Woods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Clutter.
3
 
 *
4
 
 * An OpenGL based 'interactive canvas' library.
5
 
 *
6
 
 * Authored By Matthew Allum  <mallum@openedhand.com>
7
 
 *
8
 
 * Copyright (C) 2006 OpenedHand
9
 
 *
10
 
 * This library is free software; you can redistribute it and/or
11
 
 * modify it under the terms of the GNU Lesser General Public
12
 
 * License as published by the Free Software Foundation; either
13
 
 * version 2 of the License, or (at your option) any later version.
14
 
 *
15
 
 * This library is distributed in the hope that it will be useful,
16
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
 
 * Lesser General Public License for more details.
19
 
 *
20
 
 * You should have received a copy of the GNU Lesser General Public
21
 
 * License along with this library; if not, write to the
22
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23
 
 * Boston, MA 02111-1307, USA.
24
 
 *
25
 
 * EggTimeoutPool: pool of timeout functions using the same slice of
26
 
 *                     the GLib main loop
27
 
 *
28
 
 * Author: Emmanuele Bassi <ebassi@openedhand.com>
29
 
 *
30
 
 * Based on similar code by Tristan van Berkom
31
 
 */
32
 
 
33
 
#ifndef __EGG_TIMEOUT_POOL_H__
34
 
#define __EGG_TIMEOUT_POOL_H__
35
 
 
36
 
#include <glib.h>
37
 
 
38
 
G_BEGIN_DECLS
39
 
 
40
 
typedef struct _EggTimeoutPool    EggTimeoutPool;
41
 
 
42
 
EggTimeoutPool *egg_timeout_pool_new    (gint                priority);
43
 
guint               egg_timeout_pool_add    (EggTimeoutPool *pool,
44
 
                                                 guint               interval,
45
 
                                                 GSourceFunc         func,
46
 
                                                 gpointer            data,
47
 
                                                 GDestroyNotify      notify);
48
 
void                egg_timeout_pool_remove (EggTimeoutPool *pool,
49
 
                                                 guint               id);
50
 
 
51
 
G_END_DECLS
52
 
 
53
 
#endif /* __EGG_TIMEOUT_POOL_H__ */