~timchen119/ubuntu/trusty/gnome-bluetooth/lp1035431

« back to all changes in this revision

Viewing changes to lib/bling-spinner.h

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-02-27 15:45:22 UTC
  • mfrom: (1.3.2 upstream)
  • mto: (2.2.3 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20110227154522-dnnoqasv5v3mv42a
Tags: upstream-2.91.5
ImportĀ upstreamĀ versionĀ 2.91.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* @Copyright (C) 2007 John Stowers, Neil Jagdish Patel.
2
 
 *
3
 
 * This library is free software; you can redistribute it and/or
4
 
 * modify it under the terms of the GNU Lesser General Public
5
 
 * License as published by the Free Software Foundation; either
6
 
 * version 2 of the License, or (at your option) any later version.
7
 
 *
8
 
 * This library is distributed in the hope that it will be useful,
9
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 
 * Lesser General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU Lesser General Public
14
 
 * License along with this library; if not, write to the
15
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
 
 * Boston, MA  02111-1307, USA.
17
 
 */
18
 
 
19
 
 
20
 
#ifndef _BLING_SPINNER_H_
21
 
#define _BLING_SPINNER_H_
22
 
 
23
 
#include <gtk/gtk.h>
24
 
 
25
 
G_BEGIN_DECLS
26
 
 
27
 
#define BLING_TYPE_SPINNER           (bling_spinner_get_type ())
28
 
#define BLING_SPINNER(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), BLING_TYPE_SPINNER, BlingSpinner))
29
 
#define BLING_SPINNER_CLASS(obj)     (G_TYPE_CHECK_CLASS_CAST ((obj), BLING_SPINNER,  BlingSpinnerClass))
30
 
#define BLING_IS_SPINNER(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BLING_TYPE_SPINNER))
31
 
#define BLING_IS_SPINNER_CLASS(obj)  (G_TYPE_CHECK_CLASS_TYPE ((obj), BLING_TYPE_SPINNER))
32
 
#define BLING_SPINNER_GET_CLASS      (G_TYPE_INSTANCE_GET_CLASS ((obj), BLING_TYPE_SPINNER, BlingSpinnerClass))
33
 
 
34
 
typedef struct _BlingSpinner      BlingSpinner;
35
 
typedef struct _BlingSpinnerClass BlingSpinnerClass;
36
 
typedef struct _BlingSpinnerPrivate  BlingSpinnerPrivate;
37
 
 
38
 
struct _BlingSpinner
39
 
{
40
 
        GtkDrawingArea parent;
41
 
};
42
 
 
43
 
struct _BlingSpinnerClass
44
 
{
45
 
        GtkDrawingAreaClass parent_class;
46
 
        BlingSpinnerPrivate *priv;
47
 
};
48
 
 
49
 
GType bling_spinner_get_type (void);
50
 
 
51
 
GtkWidget * bling_spinner_new (void);
52
 
 
53
 
void bling_spinner_start (BlingSpinner *spinner);
54
 
void bling_spinner_stop  (BlingSpinner *spinner);
55
 
 
56
 
G_END_DECLS
57
 
 
58
 
#endif