~ubuntu-branches/ubuntu/trusty/anjuta/trusty

« back to all changes in this revision

Viewing changes to plugins/parser-cxx/parser-cxx-assist.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-08-17 23:48:26 UTC
  • mfrom: (1.1.50)
  • Revision ID: package-import@ubuntu.com-20120817234826-fvk3rfp6nmfaqi9p
Tags: 2:3.5.5-0ubuntu1
* New upstream release.
* debian/control.in:
  - Bump vala dependency to 0.18 series
  - Drop graphviz from build-depends
* debian/watch: Watch for unstable releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 
2
/*
 
3
 * parser-cxx-anjuta
 
4
 * Copyright (C)  2007 Naba Kumar  <naba@gnome.org>
 
5
 * 
 
6
 * anjuta is free software.
 
7
 * 
 
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)
 
11
 * any later version.
 
12
 * 
 
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.
 
17
 * 
 
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.
 
23
 */
 
24
 
 
25
#ifndef _PARSER_CXX_ASSIST_H_
 
26
#define _PARSER_CXX_ASSIST_H_
 
27
 
 
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>
 
32
 
 
33
G_BEGIN_DECLS
 
34
 
 
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))
 
41
 
 
42
typedef struct _ParserCxxAssistClass ParserCxxAssistClass;
 
43
typedef struct _ParserCxxAssist ParserCxxAssist;
 
44
typedef struct _ParserCxxAssistContext ParserCxxAssistContext;
 
45
typedef struct _ParserCxxAssistPriv ParserCxxAssistPriv;
 
46
 
 
47
struct _ParserCxxAssistContext {
 
48
        GCompletion* completion;
 
49
        GList* tips;
 
50
        gint position;
 
51
};
 
52
 
 
53
struct _ParserCxxAssistClass
 
54
{
 
55
        GObjectClass parent_class;
 
56
};
 
57
 
 
58
struct _ParserCxxAssist
 
59
{
 
60
        GObject parent_instance;
 
61
        ParserCxxAssistPriv *priv;
 
62
};
 
63
 
 
64
GType parser_cxx_assist_get_type (void) G_GNUC_CONST;
 
65
 
 
66
ParserCxxAssist*
 
67
parser_cxx_assist_new                             (IAnjutaEditor *ieditor,
 
68
                                                   IAnjutaSymbolManager *isymbol_manager,
 
69
                                                   GSettings* settings);
 
70
 
 
71
G_END_DECLS
 
72
 
 
73
#endif /* _PARSER_CXX_ASSIST_H_ */