1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Philip Withnall 2009 <philip@tecnocode.co.uk>
6
* Almanah is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
11
* Almanah is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with Almanah. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef ALMANAH_CONTACT_DEFINITION_H
21
#define ALMANAH_CONTACT_DEFINITION_H
24
#include <glib-object.h>
26
#include "../definition.h"
30
#define ALMANAH_TYPE_CONTACT_DEFINITION (almanah_contact_definition_get_type ())
31
#define ALMANAH_CONTACT_DEFINITION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ALMANAH_TYPE_CONTACT_DEFINITION, AlmanahContactDefinition))
32
#define ALMANAH_CONTACT_DEFINITION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ALMANAH_TYPE_CONTACT_DEFINITION, AlmanahContactDefinitionClass))
33
#define ALMANAH_IS_CONTACT_DEFINITION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ALMANAH_TYPE_CONTACT_DEFINITION))
34
#define ALMANAH_IS_CONTACT_DEFINITION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ALMANAH_TYPE_CONTACT_DEFINITION))
35
#define ALMANAH_CONTACT_DEFINITION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ALMANAH_TYPE_CONTACT_DEFINITION, AlmanahContactDefinitionClass))
37
typedef struct _AlmanahContactDefinitionPrivate AlmanahContactDefinitionPrivate;
40
AlmanahDefinition parent;
41
AlmanahContactDefinitionPrivate *priv;
42
} AlmanahContactDefinition;
45
AlmanahDefinitionClass parent;
46
} AlmanahContactDefinitionClass;
48
GType almanah_contact_definition_get_type (void);
52
#endif /* !ALMANAH_CONTACT_DEFINITION_H */