~ubuntu-branches/debian/sid/geany-plugins/sid

« back to all changes in this revision

Viewing changes to addons/src/ao_openuri.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-07-10 22:56:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090710225641-xc1126t7pq0jmpos
Tags: upstream-0.17.1
Import upstream version 0.17.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      ao_openuri.h - this file is part of Addons, a Geany plugin
 
3
 *
 
4
 *      Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
 
5
 *
 
6
 *      This program 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 2 of the License, or
 
9
 *      (at your option) any later version.
 
10
 *
 
11
 *      This program 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 this program; if not, write to the Free Software
 
18
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19
 *
 
20
 * $Id$
 
21
 */
 
22
 
 
23
 
 
24
#ifndef __AO_OPENURI_H__
 
25
#define __AO_OPENURI_H__
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define AO_OPEN_URI_TYPE                                (ao_open_uri_get_type())
 
30
#define AO_OPEN_URI(obj)                                (G_TYPE_CHECK_INSTANCE_CAST((obj),\
 
31
                        AO_OPEN_URI_TYPE, AoOpenUri))
 
32
#define AO_OPEN_URI_CLASS(klass)                (G_TYPE_CHECK_CLASS_CAST((klass),\
 
33
                        AO_OPEN_URI_TYPE, AoOpenUriClass))
 
34
#define IS_AO_OPEN_URI(obj)                     (G_TYPE_CHECK_INSTANCE_TYPE((obj),\
 
35
                        AO_OPEN_URI_TYPE))
 
36
#define IS_AO_OPEN_URI_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE((klass),\
 
37
                        AO_OPEN_URI_TYPE))
 
38
 
 
39
typedef struct _AoOpenUri                       AoOpenUri;
 
40
typedef struct _AoOpenUriClass          AoOpenUriClass;
 
41
 
 
42
 
 
43
GType           ao_open_uri_get_type            (void);
 
44
AoOpenUri*      ao_open_uri_new                         (gboolean enable);
 
45
void            ao_open_uri_update_menu         (AoOpenUri *openuri, GeanyDocument *doc, gint pos);
 
46
 
 
47
G_END_DECLS
 
48
 
 
49
#endif /* __AO_OPENURI_H__ */