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

« back to all changes in this revision

Viewing changes to src/uri-entry-dialog.h

  • Committer: Package Import Robot
  • Author(s): Angel Abad
  • Date: 2012-04-03 14:25:25 UTC
  • mfrom: (11.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120403142525-ugk3fb0blonrl2b9
Tags: 0.9.0-1
* debian/watch: Update for .xz
* Imported Upstream version 0.9.0
* debian/patches/01_largefile_support.patch: Remove, applied upstream
* debian/patches/02_gtkspell-3.0.patch: Remove, applied upstream
* Remove dh_autoreconf stuff
* debian/copyright: Update upstream years

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 2011 <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_URI_ENTRY_DIALOG_H
 
21
#define ALMANAH_URI_ENTRY_DIALOG_H
 
22
 
 
23
#include <glib.h>
 
24
#include <glib-object.h>
 
25
#include <gtk/gtk.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define ALMANAH_TYPE_URI_ENTRY_DIALOG           (almanah_uri_entry_dialog_get_type ())
 
30
#define ALMANAH_URI_ENTRY_DIALOG(o)             (G_TYPE_CHECK_INSTANCE_CAST ((o), ALMANAH_TYPE_URI_ENTRY_DIALOG, AlmanahUriEntryDialog))
 
31
#define ALMANAH_URI_ENTRY_DIALOG_CLASS(k)       (G_TYPE_CHECK_CLASS_CAST((k), ALMANAH_TYPE_URI_ENTRY_DIALOG, AlmanahUriEntryDialogClass))
 
32
#define ALMANAH_IS_URI_ENTRY_DIALOG(o)          (G_TYPE_CHECK_INSTANCE_TYPE ((o), ALMANAH_TYPE_URI_ENTRY_DIALOG))
 
33
#define ALMANAH_IS_URI_ENTRY_DIALOG_CLASS(k)    (G_TYPE_CHECK_CLASS_TYPE ((k), ALMANAH_TYPE_URI_ENTRY_DIALOG))
 
34
#define ALMANAH_URI_ENTRY_DIALOG_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), ALMANAH_TYPE_URI_ENTRY_DIALOG, AlmanahUriEntryDialogClass))
 
35
 
 
36
typedef struct _AlmanahUriEntryDialogPrivate    AlmanahUriEntryDialogPrivate;
 
37
 
 
38
typedef struct {
 
39
        GtkDialog parent;
 
40
        AlmanahUriEntryDialogPrivate *priv;
 
41
} AlmanahUriEntryDialog;
 
42
 
 
43
typedef struct {
 
44
        GtkDialogClass parent;
 
45
} AlmanahUriEntryDialogClass;
 
46
 
 
47
GType almanah_uri_entry_dialog_get_type (void) G_GNUC_CONST;
 
48
 
 
49
AlmanahUriEntryDialog *almanah_uri_entry_dialog_new (void) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
 
50
gboolean almanah_uri_entry_dialog_run (AlmanahUriEntryDialog *self);
 
51
 
 
52
const gchar *almanah_uri_entry_dialog_get_uri (AlmanahUriEntryDialog *self) G_GNUC_PURE;
 
53
void almanah_uri_entry_dialog_set_uri (AlmanahUriEntryDialog *self, const gchar *uri);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif /* !ALMANAH_URI_ENTRY_DIALOG_H */