~ubuntu-branches/debian/sid/link-monitor-applet/sid

« back to all changes in this revision

Viewing changes to build/src/lm-bar-graph.h

  • Committer: Bazaar Package Importer
  • Author(s): Adriaan Peeters
  • Date: 2008-03-30 22:26:13 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080330222613-5aubcuo9mgg2n7st
Tags: upstream-3.0
ImportĀ upstreamĀ versionĀ 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by GOB (v2.0.15)   (do not edit directly) */
 
2
 
 
3
#include <glib.h>
 
4
#include <glib-object.h>
 
5
 
 
6
 
 
7
#include <gtk/gtk.h>
 
8
#include "lm-decls.h"
 
9
 
 
10
#ifndef __LM_BAR_GRAPH_H__
 
11
#define __LM_BAR_GRAPH_H__
 
12
 
 
13
#ifdef __cplusplus
 
14
extern "C" {
 
15
#endif /* __cplusplus */
 
16
 
 
17
 
 
18
 
 
19
typedef enum
 
20
{
 
21
  LM_BAR_GRAPH_ORIENTATION_HORIZONTAL,
 
22
  LM_BAR_GRAPH_ORIENTATION_VERTICAL
 
23
} LMBarGraphOrientation;
 
24
 
 
25
 
 
26
/*
 
27
 * Type checking and casting macros
 
28
 */
 
29
#define LM_TYPE_BAR_GRAPH       (lm_bar_graph_get_type())
 
30
#define LM_BAR_GRAPH(obj)       G_TYPE_CHECK_INSTANCE_CAST((obj), lm_bar_graph_get_type(), LMBarGraph)
 
31
#define LM_BAR_GRAPH_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), lm_bar_graph_get_type(), LMBarGraph const)
 
32
#define LM_BAR_GRAPH_CLASS(klass)       G_TYPE_CHECK_CLASS_CAST((klass), lm_bar_graph_get_type(), LMBarGraphClass)
 
33
#define LM_IS_BAR_GRAPH(obj)    G_TYPE_CHECK_INSTANCE_TYPE((obj), lm_bar_graph_get_type ())
 
34
 
 
35
#define LM_BAR_GRAPH_GET_CLASS(obj)     G_TYPE_INSTANCE_GET_CLASS((obj), lm_bar_graph_get_type(), LMBarGraphClass)
 
36
 
 
37
/* Private structure type */
 
38
typedef struct _LMBarGraphPrivate LMBarGraphPrivate;
 
39
 
 
40
/*
 
41
 * Main object structure
 
42
 */
 
43
#ifndef __TYPEDEF_LM_BAR_GRAPH__
 
44
#define __TYPEDEF_LM_BAR_GRAPH__
 
45
typedef struct _LMBarGraph LMBarGraph;
 
46
#endif
 
47
struct _LMBarGraph {
 
48
        GtkWidget __parent__;
 
49
        /*< private >*/
 
50
        LMBarGraphPrivate *_priv;
 
51
};
 
52
 
 
53
/*
 
54
 * Class definition
 
55
 */
 
56
typedef struct _LMBarGraphClass LMBarGraphClass;
 
57
struct _LMBarGraphClass {
 
58
        GtkWidgetClass __parent__;
 
59
};
 
60
 
 
61
 
 
62
/*
 
63
 * Public methods
 
64
 */
 
65
GType   lm_bar_graph_get_type   (void);
 
66
#line 55 "src/lm-bar-graph.gob"
 
67
void    lm_bar_graph_set_orientation    (LMBarGraph * self,
 
68
                                        LMBarGraphOrientation val);
 
69
#line 70 "lm-bar-graph.h"
 
70
#line 283 "src/lm-bar-graph.gob"
 
71
GtkWidget *     lm_bar_graph_new        (LMApplet * applet);
 
72
#line 73 "lm-bar-graph.h"
 
73
 
 
74
/*
 
75
 * Argument wrapping macros
 
76
 */
 
77
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 
78
#define LM_BAR_GRAPH_PROP_APPLET(arg)           "applet", __extension__ ({gpointer z = (arg); z;})
 
79
#define LM_BAR_GRAPH_GET_PROP_APPLET(arg)       "applet", __extension__ ({gpointer *z = (arg); z;})
 
80
#define LM_BAR_GRAPH_PROP_ORIENTATION(arg)      "orientation", __extension__ ({LMBarGraphOrientation z = (arg); z;})
 
81
#else /* __GNUC__ && !__STRICT_ANSI__ */
 
82
#define LM_BAR_GRAPH_PROP_APPLET(arg)           "applet",(gpointer )(arg)
 
83
#define LM_BAR_GRAPH_GET_PROP_APPLET(arg)       "applet",(gpointer *)(arg)
 
84
#define LM_BAR_GRAPH_PROP_ORIENTATION(arg)      "orientation",(LMBarGraphOrientation )(arg)
 
85
#endif /* __GNUC__ && !__STRICT_ANSI__ */
 
86
 
 
87
 
 
88
#ifdef __cplusplus
 
89
}
 
90
#endif /* __cplusplus */
 
91
 
 
92
#endif