1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4
* Copyright (C) 2007 Naba Kumar <naba@gnome.org>
6
* anjuta is free software.
8
* You may redistribute it and/or modify it under the terms of the
9
* GNU General Public License, as published by the Free Software
10
* Foundation; either version 2 of the License, or (at your option)
13
* anjuta is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
* See the GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with anjuta. If not, write to:
20
* The Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor
22
* Boston, MA 02110-1301, USA.
25
#ifndef _PARSER_CXX_ASSIST_H_
26
#define _PARSER_CXX_ASSIST_H_
28
#include <glib-object.h>
29
#include <libanjuta/anjuta-preferences.h>
30
#include <libanjuta/interfaces/ianjuta-editor-assist.h>
31
#include <libanjuta/interfaces/ianjuta-symbol-manager.h>
35
#define TYPE_PARSER_CXX_ASSIST (parser_cxx_assist_get_type ())
36
#define PARSER_CXX_ASSIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PARSER_CXX_ASSIST, ParserCxxAssist))
37
#define PARSER_CXX_ASSIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PARSER_CXX_ASSIST, ParserCxxAssistClass))
38
#define IS_PARSER_CXX_ASSIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PARSER_CXX_ASSIST))
39
#define IS_PARSER_CXX_ASSIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PARSER_CXX_ASSIST))
40
#define PARSER_CXX_ASSIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PARSER_CXX_ASSIST, ParserCxxAssistClass))
42
typedef struct _ParserCxxAssistClass ParserCxxAssistClass;
43
typedef struct _ParserCxxAssist ParserCxxAssist;
44
typedef struct _ParserCxxAssistContext ParserCxxAssistContext;
45
typedef struct _ParserCxxAssistPriv ParserCxxAssistPriv;
47
struct _ParserCxxAssistContext {
48
GCompletion* completion;
53
struct _ParserCxxAssistClass
55
GObjectClass parent_class;
58
struct _ParserCxxAssist
60
GObject parent_instance;
61
ParserCxxAssistPriv *priv;
64
GType parser_cxx_assist_get_type (void) G_GNUC_CONST;
67
parser_cxx_assist_new (IAnjutaEditor *ieditor,
68
IAnjutaSymbolManager *isymbol_manager,
73
#endif /* _PARSER_CXX_ASSIST_H_ */