/usr/include/libanjuta-3.0/libanjuta/anjuta-language-provider.h is in libanjuta-dev 2:3.14.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* anjuta-language-provider.h
* Copyright (C) Naba Kumar <naba@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _ANJUTA_LANGUAGE_PROVIDER_H_
#define _ANJUTA_LANGUAGE_PROVIDER_H_
#include <glib.h>
#include <glib-object.h>
#include <libanjuta/interfaces/ianjuta-editor.h>
#include <libanjuta/interfaces/ianjuta-editor-tip.h>
#include <libanjuta/interfaces/ianjuta-iterable.h>
#include <libanjuta/interfaces/ianjuta-provider.h>
#include <libanjuta/interfaces/ianjuta-symbol.h>
G_BEGIN_DECLS
#define ANJUTA_LANGUAGE_PROPOSAL_DATA(obj) (AnjutaLanguageProposalData*)((obj))
typedef struct _AnjutaLanguageProposalData AnjutaLanguageProposalData;
/**
* AnjutaLanguageProposalData:
* @name: Name of the object
* @info: Info about the object
* @is_func: If this is a function
* @has_para: If the function has at least one parameters
* @type: Type of the object
*/
struct _AnjutaLanguageProposalData
{
gchar* name;
gchar* info;
gboolean is_func;
gboolean has_para;
IAnjutaSymbolType type;
};
GType anjuta_language_proposal_data_get_type (void) G_GNUC_CONST;
AnjutaLanguageProposalData* anjuta_language_proposal_data_new (gchar* name);
void anjuta_language_proposal_data_free (AnjutaLanguageProposalData *data);
#define ANJUTA_TYPE_LANGUAGE_PROVIDER (anjuta_language_provider_get_type ())
#define ANJUTA_LANGUAGE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_LANGUAGE_PROVIDER, AnjutaLanguageProvider))
#define ANJUTA_LANGUAGE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_LANGUAGE_PROVIDER, AnjutaLanguageProviderClass))
#define ANJUTA_IS_LANGUAGE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_LANGUAGE_PROVIDER))
#define ANJUTA_IS_LANGUAGE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_LANGUAGE_PROVIDER))
#define ANJUTA_LANGUAGE_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_LANGUAGE_PROVIDER, AnjutaLanguageProviderClass))
typedef struct _AnjutaLanguageProviderClass AnjutaLanguageProviderClass;
typedef struct _AnjutaLanguageProvider AnjutaLanguageProvider;
typedef struct _AnjutaLanguageProviderPriv AnjutaLanguageProviderPriv;
struct _AnjutaLanguageProviderClass
{
GObjectClass parent_class;
};
struct _AnjutaLanguageProvider
{
GObject parent;
AnjutaLanguageProviderPriv *priv;
};
GType anjuta_language_provider_get_type (void) G_GNUC_CONST;
void
anjuta_language_provider_install (AnjutaLanguageProvider* lang_prov,
IAnjutaEditor *ieditor,
GSettings* settings);
gchar*
anjuta_language_provider_get_pre_word (AnjutaLanguageProvider* lang_prov,
IAnjutaEditor* editor,
IAnjutaIterable *iter,
IAnjutaIterable** start_iter,
const gchar *word_characters);
gchar*
anjuta_language_provider_get_calltip_context (AnjutaLanguageProvider* lang_prov,
IAnjutaEditorTip* itip,
IAnjutaIterable* iter,
const gchar* scope_context_ch);
void
anjuta_language_provider_activate (AnjutaLanguageProvider* lang_prov,
IAnjutaProvider* iprov,
IAnjutaIterable* iter,
gpointer data);
void
anjuta_language_provider_populate (AnjutaLanguageProvider* lang_prov,
IAnjutaProvider* iprov,
IAnjutaIterable* cursor);
void
anjuta_language_provider_proposals (AnjutaLanguageProvider* lang_prov,
IAnjutaProvider* iprov,
GList* proposals,
const gchar* pre_word,
gboolean finished);
IAnjutaIterable*
anjuta_language_provider_get_start_iter (AnjutaLanguageProvider* lang_prov);
G_END_DECLS
#endif
|