source: trunk/third/evolution/shell/e-activity-handler.h @ 16787

Revision 16787, 2.3 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-activity-handler.h
3 *
4 * Copyright (C) 2001  Ximian, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Author: Ettore Perazzoli <ettore@ximian.com>
21 */
22
23#ifndef _E_ACTIVITY_HANDLER_H_
24#define _E_ACTIVITY_HANDLER_H_
25
26#include "Evolution.h"
27
28#include "e-task-bar.h"
29
30#include <bonobo/bonobo-xobject.h>
31
32#ifdef __cplusplus
33extern "C" {
34#pragma }
35#endif /* __cplusplus */
36
37#define E_TYPE_ACTIVITY_HANDLER                 (e_activity_handler_get_type ())
38#define E_ACTIVITY_HANDLER(obj)                 (GTK_CHECK_CAST ((obj), E_TYPE_ACTIVITY_HANDLER, EActivityHandler))
39#define E_ACTIVITY_HANDLER_CLASS(klass)         (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_ACTIVITY_HANDLER, EActivityHandlerClass))
40#define E_IS_ACTIVITY_HANDLER(obj)              (GTK_CHECK_TYPE ((obj), E_TYPE_ACTIVITY_HANDLER))
41#define E_IS_ACTIVITY_HANDLER_CLASS(klass)      (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_ACTIVITY_HANDLER))
42
43
44typedef struct _EActivityHandler        EActivityHandler;
45typedef struct _EActivityHandlerPrivate EActivityHandlerPrivate;
46typedef struct _EActivityHandlerClass   EActivityHandlerClass;
47
48struct _EActivityHandler {
49        BonoboXObject parent;
50
51        EActivityHandlerPrivate *priv;
52};
53
54struct _EActivityHandlerClass {
55        BonoboXObjectClass parent_class;
56
57        POA_GNOME_Evolution_Activity__epv epv;
58};
59
60
61GtkType           e_activity_handler_get_type   (void);
62void              e_activity_handler_construct  (EActivityHandler *activity_hanlder);
63EActivityHandler *e_activity_handler_new        (void);
64
65void  e_activity_handler_attach_task_bar  (EActivityHandler *activity_hanlder,
66                                           ETaskBar         *task_bar);
67
68#ifdef __cplusplus
69}
70#endif /* __cplusplus */
71
72#endif /* _E_ACTIVITY_HANDLER_H_ */
Note: See TracBrowser for help on using the repository browser.