/usr/include/libanjuta-3.0/libanjuta/anjuta-token-file.h is in libanjuta-dev 2:3.28.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 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* anjuta-token-file.h
* Copyright (C) Sébastien Granjoux 2009 <seb.sfo@free.fr>
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef _ANJUTA_TOKEN_FILE_H_
#define _ANJUTA_TOKEN_FILE_H_
#include <gio/gio.h>
#include <glib.h>
#include <libanjuta/anjuta-token.h>
G_BEGIN_DECLS
#define ANJUTA_TOKEN_FILE_TYPE (anjuta_token_file_get_type ())
#define ANJUTA_TOKEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TOKEN_FILE_TYPE, AnjutaTokenFile))
#define ANJUTA_TOKEN_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TOKEN_FILE_TYPE, AnjutaTokenFileClass))
#define IS_ANJUTA_TOKEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TOKEN_FILE_TYPE))
#define IS_ANJUTA_TOKEN_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TOKEN_FILE_TYPE))
#define GET_ANJUTA_TOKEN_FILE_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TOKEN_FILE_TYPE, AnjutaTokenFileClass))
typedef struct _AnjutaTokenFile AnjutaTokenFile;
typedef struct _AnjutaTokenFileClass AnjutaTokenFileClass;
typedef struct
{
gchar *filename;
guint line;
guint column;
} AnjutaTokenFileLocation;
GType anjuta_token_file_get_type (void);
AnjutaTokenFile *anjuta_token_file_new (GFile *file);
void anjuta_token_file_free (AnjutaTokenFile *file);
AnjutaToken* anjuta_token_file_load (AnjutaTokenFile *file, GError **error);
gboolean anjuta_token_file_unload (AnjutaTokenFile *file);
gboolean anjuta_token_file_save (AnjutaTokenFile *file, GError **error);
void anjuta_token_file_move (AnjutaTokenFile *file, GFile *new_file);
gboolean anjuta_token_file_update (AnjutaTokenFile *file, AnjutaToken *token);
gboolean anjuta_token_file_get_token_location (AnjutaTokenFile *file, AnjutaTokenFileLocation *location, AnjutaToken *token);
gsize anjuta_token_file_get_token_position (AnjutaTokenFile *file, AnjutaToken *token);
GFile *anjuta_token_file_get_file (AnjutaTokenFile *file);
AnjutaToken *anjuta_token_file_get_content (AnjutaTokenFile *file);
gboolean anjuta_token_file_is_dirty (AnjutaTokenFile *file);
G_END_DECLS
#endif
|