2
* ao_openuri.h - this file is part of Addons, a Geany plugin
4
* Copyright 2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
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.
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.
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.
24
#ifndef __AO_OPENURI_H__
25
#define __AO_OPENURI_H__
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),\
36
#define IS_AO_OPEN_URI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
39
typedef struct _AoOpenUri AoOpenUri;
40
typedef struct _AoOpenUriClass AoOpenUriClass;
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);
49
#endif /* __AO_OPENURI_H__ */