~unity-team/unity/panel-fixes

« back to all changes in this revision

Viewing changes to services/panel-indicator-entry-accessible.h

  • Committer: Neil Jagdish Patel
  • Date: 2011-02-17 09:56:22 UTC
  • mfrom: (853.2.12 unity)
  • Revision ID: neil.patel@canonical.com-20110217095622-js8ix8df5x8fgc1c
[merge] trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2011 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program 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
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Rodrigo Moya <rodrigo.moya@canonical.com>
 
17
 */
 
18
 
 
19
#ifndef _PANEL_INDICATOR_ENTRY_ACCESSIBLE_H_
 
20
#define _PANEL_INDICATOR_ENTRY_ACCESSIBLE_H_
 
21
 
 
22
#include <atk/atk.h>
 
23
#include <libindicator/indicator.h>
 
24
#include <libindicator/indicator-object.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE (panel_indicator_entry_accessible_get_type ())
 
29
#define PANEL_INDICATOR_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE, PanelIndicatorEntryAccessible))
 
30
#define PANEL_INDICATOR_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE, PanelIndicatorEntryAccessibleClass))
 
31
#define PANEL_IS_INDICATOR_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE))
 
32
#define PANEL_IS_INDICATOR_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE))
 
33
#define PANEL_INDICATOR_ENTRY_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANEL_TYPE_INDICATOR_ENTRY_ACCESSIBLE, PanelIndicatorEntryAccessibleClass))
 
34
 
 
35
typedef struct _PanelIndicatorEntryAccessible        PanelIndicatorEntryAccessible;
 
36
typedef struct _PanelIndicatorEntryAccessibleClass   PanelIndicatorEntryAccessibleClass;
 
37
typedef struct _PanelIndicatorEntryAccessiblePrivate PanelIndicatorEntryAccessiblePrivate;
 
38
 
 
39
struct _PanelIndicatorEntryAccessible
 
40
{
 
41
  AtkObject                             parent;
 
42
  PanelIndicatorEntryAccessiblePrivate *priv;
 
43
};
 
44
 
 
45
struct _PanelIndicatorEntryAccessibleClass
 
46
{
 
47
  AtkObjectClass parent_class;
 
48
};
 
49
 
 
50
GType                 panel_indicator_entry_accessible_get_type (void);
 
51
AtkObject            *panel_indicator_entry_accessible_new (IndicatorObjectEntry *entry);
 
52
 
 
53
IndicatorObjectEntry *panel_indicator_entry_accessible_get_entry (PanelIndicatorEntryAccessible *piea);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif