~ps-jenkins/indicator-datetime/latestsnapshot-13.10.0+13.10.20131023.2-0ubuntu1

« back to all changes in this revision

Viewing changes to src/planner-mock.h

  • Committer: Tarmac
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2013-10-22 22:35:31 UTC
  • mfrom: (278.1.1 indicator-datetime)
  • Revision ID: tarmac-20131022223531-rn7zr7smbnlki2ak
Revert revision 277 which appears to be more feature than bugfix applicable for SRU.

Approved by PS Jenkins bot, Ted Gould.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright 2013 Canonical Ltd.
3
 
 *
4
 
 * Authors:
5
 
 *   Charles Kerr <charles.kerr@canonical.com>
6
 
 *
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.
10
 
 *
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.
15
 
 *
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/>.
18
 
 */
19
 
 
20
 
#ifndef __INDICATOR_DATETIME_PLANNER_MOCK__H__
21
 
#define __INDICATOR_DATETIME_PLANNER_MOCK__H__
22
 
 
23
 
#include "planner.h" /* parent class */
24
 
 
25
 
G_BEGIN_DECLS
26
 
 
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))
31
 
 
32
 
typedef struct _IndicatorDatetimePlannerMock        IndicatorDatetimePlannerMock;
33
 
typedef struct _IndicatorDatetimePlannerMockPriv    IndicatorDatetimePlannerMockPriv;
34
 
typedef struct _IndicatorDatetimePlannerMockClass   IndicatorDatetimePlannerMockClass;
35
 
 
36
 
GType indicator_datetime_planner_mock_get_type (void);
37
 
 
38
 
/**
39
 
 * An IndicatorDatetimePlanner which uses Evolution Data Server
40
 
 * to get its list of appointments.
41
 
 */
42
 
struct _IndicatorDatetimePlannerMock
43
 
{
44
 
  /*< private >*/
45
 
  IndicatorDatetimePlanner parent;
46
 
  IndicatorDatetimePlannerMockPriv * priv;
47
 
};
48
 
 
49
 
struct _IndicatorDatetimePlannerMockClass
50
 
{
51
 
  IndicatorDatetimePlannerClass parent_class;
52
 
};
53
 
 
54
 
IndicatorDatetimePlanner * indicator_datetime_planner_mock_new (void);
55
 
 
56
 
G_END_DECLS
57
 
 
58
 
#endif /* __INDICATOR_DATETIME_PLANNER_MOCK__H__ */