* libanjuta/interfaces/libanjuta.idl,
[anjuta-git-plugin.git] / plugins / gvim / anjuta-vim.h
blobaf366ba4725b98e0aba1f245ab189fa61c156861
1 /***************************************************************************
2 * anjuta-vim.h
4 * Do Dez 29 00:50:15 2005
5 * Copyright 2005 Naba Kumar <naba@gnome.org>
6 * jhs@gnome.org
7 ***************************************************************************/
9 /*
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Library General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef __ANJUTA_VIM_H__
26 #define __ANJUTA_VIM_H__
28 #include <glib.h>
29 #include <glib-object.h>
30 #include <libanjuta/anjuta-plugin.h>
32 #include "gtkvim.h"
34 #define ANJUTA_TYPE_VIM (anjuta_vim_get_type ())
35 #define ANJUTA_VIM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_VIM, AnjutaVim))
36 #define ANJUTA_VIM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_ANJUTA_VIM, AnjutaVimClass))
37 #define ANJUTA_IS_VIM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_VIM))
38 #define ANJUTA_IS_VIM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_VIM))
39 #define ANJUTA_VIM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_VIM, AnjutaVimClass))
41 typedef struct _AnjutaVimPrivate AnjutaVimPrivate;
43 typedef struct {
44 GtkVim parent;
45 AnjutaVimPrivate *priv;
46 } AnjutaVim;
48 typedef struct {
49 GtkVimClass parent_class;
50 } AnjutaVimClass;
52 GType anjuta_vim_get_type(void);
53 AnjutaVim *anjuta_vim_new(const gchar* uri, const gchar* filename,
54 AnjutaPlugin* plugin);
56 #endif /* __ANJUTA_VIM_H__ */