~ubuntu-branches/ubuntu/raring/almanah/raring-proposed

« back to all changes in this revision

Viewing changes to src/add-definition-dialog.h

  • Committer: Package Import Robot
  • Author(s): Angel Abad
  • Date: 2012-10-29 10:14:18 UTC
  • mfrom: (1.4.1) (10.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20121029101418-k2c27xb0aku22zeg
Tags: 0.10.0-1~exp1
* Imported Upstream version 0.10.0
* debian/control:
  - Bump evolution Build-Depends ( >=3.6.0)
  - debian/control: Depends on evolution-common (>= 3.6.0)
* Bump Standards-Version to 3.9.4 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
/*
3
 
 * Almanah
4
 
 * Copyright (C) Philip Withnall 2008-2009 <philip@tecnocode.co.uk>
5
 
 * 
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.
10
 
 *
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.
15
 
 *
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/>.
18
 
 */
19
 
 
20
 
#ifndef ALMANAH_ADD_DEFINITION_DIALOG_H
21
 
#define ALMANAH_ADD_DEFINITION_DIALOG_H
22
 
 
23
 
#include <glib.h>
24
 
#include <glib-object.h>
25
 
#include <gtk/gtk.h>
26
 
 
27
 
#include "definition.h"
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
#define ALMANAH_TYPE_ADD_DEFINITION_DIALOG              (almanah_add_definition_dialog_get_type ())
32
 
#define ALMANAH_ADD_DEFINITION_DIALOG(o)                (G_TYPE_CHECK_INSTANCE_CAST ((o), ALMANAH_TYPE_ADD_DEFINITION_DIALOG, AlmanahAddDefinitionDialog))
33
 
#define ALMANAH_ADD_DEFINITION_DIALOG_CLASS(k)          (G_TYPE_CHECK_CLASS_CAST((k), ALMANAH_TYPE_ADD_DEFINITION_DIALOG, AlmanahAddDefinitionDialogClass))
34
 
#define ALMANAH_IS_ADD_DEFINITION_DIALOG(o)             (G_TYPE_CHECK_INSTANCE_TYPE ((o), ALMANAH_TYPE_ADD_DEFINITION_DIALOG))
35
 
#define ALMANAH_IS_ADD_DEFINITION_DIALOG_CLASS(k)       (G_TYPE_CHECK_CLASS_TYPE ((k), ALMANAH_TYPE_ADD_DEFINITION_DIALOG))
36
 
#define ALMANAH_ADD_DEFINITION_DIALOG_GET_CLASS(o)      (G_TYPE_INSTANCE_GET_CLASS ((o), ALMANAH_TYPE_ADD_DEFINITION_DIALOG, AlmanahAddDefinitionDialogClass))
37
 
 
38
 
typedef struct _AlmanahAddDefinitionDialogPrivate       AlmanahAddDefinitionDialogPrivate;
39
 
 
40
 
typedef struct {
41
 
        GtkDialog parent;
42
 
        AlmanahAddDefinitionDialogPrivate *priv;
43
 
} AlmanahAddDefinitionDialog;
44
 
 
45
 
typedef struct {
46
 
        GtkDialogClass parent;
47
 
} AlmanahAddDefinitionDialogClass;
48
 
 
49
 
GType almanah_add_definition_dialog_get_type (void);
50
 
 
51
 
AlmanahAddDefinitionDialog *almanah_add_definition_dialog_new (void);
52
 
 
53
 
const gchar *almanah_add_definition_dialog_get_text (AlmanahAddDefinitionDialog *self);
54
 
void almanah_add_definition_dialog_set_text (AlmanahAddDefinitionDialog *self, const gchar *text);
55
 
 
56
 
AlmanahDefinition *almanah_add_definition_dialog_get_definition (AlmanahAddDefinitionDialog *self);
57
 
 
58
 
G_END_DECLS
59
 
 
60
 
#endif /* !ALMANAH_ADD_DEFINITION_DIALOG_H */