2
* Copyright 2013 Canonical Ltd.
5
* Charles Kerr <charles.kerr@canonical.com>
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License version 3, as published
9
* by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranties of
13
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
14
* PURPOSE. See the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef __INDICATOR_DATETIME_PLANNER_MOCK__H__
21
#define __INDICATOR_DATETIME_PLANNER_MOCK__H__
23
#include "planner.h" /* parent class */
27
#define INDICATOR_TYPE_DATETIME_PLANNER_MOCK (indicator_datetime_planner_mock_get_type())
28
#define INDICATOR_DATETIME_PLANNER_MOCK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), INDICATOR_TYPE_DATETIME_PLANNER_MOCK, IndicatorDatetimePlannerMock))
29
#define INDICATOR_DATETIME_PLANNER_MOCK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), INDICATOR_TYPE_DATETIME_PLANNER_MOCK, IndicatorDatetimePlannerMockClass))
30
#define INDICATOR_IS_DATETIME_PLANNER_MOCK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), INDICATOR_TYPE_DATETIME_PLANNER_MOCK))
32
typedef struct _IndicatorDatetimePlannerMock IndicatorDatetimePlannerMock;
33
typedef struct _IndicatorDatetimePlannerMockPriv IndicatorDatetimePlannerMockPriv;
34
typedef struct _IndicatorDatetimePlannerMockClass IndicatorDatetimePlannerMockClass;
36
GType indicator_datetime_planner_mock_get_type (void);
39
* An IndicatorDatetimePlanner which uses Evolution Data Server
40
* to get its list of appointments.
42
struct _IndicatorDatetimePlannerMock
45
IndicatorDatetimePlanner parent;
46
IndicatorDatetimePlannerMockPriv * priv;
49
struct _IndicatorDatetimePlannerMockClass
51
IndicatorDatetimePlannerClass parent_class;
54
IndicatorDatetimePlanner * indicator_datetime_planner_mock_new (void);
58
#endif /* __INDICATOR_DATETIME_PLANNER_MOCK__H__ */