/usr/include/libanjuta-3.0/libanjuta/anjuta-command.h is in libanjuta-dev 2:3.4.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 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* anjuta
* Copyright (C) James Liggett 2007 <jrliggett@cox.net>
*
* anjuta is free software.
*
* You may 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.
*
* anjuta 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 anjuta. If not, write to:
* The Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301, USA.
*/
#ifndef _ANJUTA_COMMAND_H_
#define _ANJUTA_COMMAND_H_
#include <glib-object.h>
G_BEGIN_DECLS
#define ANJUTA_TYPE_COMMAND (anjuta_command_get_type ())
#define ANJUTA_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_COMMAND, AnjutaCommand))
#define ANJUTA_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_COMMAND, AnjutaCommandClass))
#define ANJUTA_IS_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_COMMAND))
#define ANJUTA_IS_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_COMMAND))
#define ANJUTA_COMMAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_COMMAND, AnjutaCommandClass))
typedef struct _AnjutaCommandClass AnjutaCommandClass;
typedef struct _AnjutaCommand AnjutaCommand;
typedef struct _AnjutaCommandPriv AnjutaCommandPriv;
struct _AnjutaCommandClass
{
GObjectClass parent_class;
/* Virtual Methods */
guint (*run) (AnjutaCommand *self);
void (*start) (AnjutaCommand *self);
void (*cancel) (AnjutaCommand *self);
void (*notify_data_arrived) (AnjutaCommand *self);
void (*notify_complete) (AnjutaCommand *self, guint return_code);
void (*notify_progress) (AnjutaCommand *self, gfloat progress);
void (*set_error_message) (AnjutaCommand *self, const gchar *error_message);
gchar * (*get_error_message) (AnjutaCommand *self);
gboolean (*start_automatic_monitor) (AnjutaCommand *self);
void (*stop_automatic_monitor) (AnjutaCommand *self);
/* Signals */
void (*data_arrived) (AnjutaCommand *command);
void (*command_started) (AnjutaCommand *command);
void (*command_finished) (AnjutaCommand *command, guint return_code);
void (*progress) (AnjutaCommand *command, gfloat progress);
};
struct _AnjutaCommand
{
GObject parent_instance;
AnjutaCommandPriv *priv;
};
GType anjuta_command_get_type (void) G_GNUC_CONST;
void anjuta_command_start (AnjutaCommand *self);
void anjuta_command_cancel (AnjutaCommand *self);
void anjuta_command_notify_data_arrived (AnjutaCommand *self);
void anjuta_command_notify_complete (AnjutaCommand *self, guint return_code);
void anjuta_command_notify_progress (AnjutaCommand *self, gfloat progress);
gboolean anjuta_command_is_running (AnjutaCommand *self);
void anjuta_command_set_error_message (AnjutaCommand *self, const gchar *error_message);
gchar *anjuta_command_get_error_message (AnjutaCommand *self);
gboolean anjuta_command_start_automatic_monitor (AnjutaCommand *self);
void anjuta_command_stop_automatic_monitor (AnjutaCommand *self);
G_END_DECLS
#endif /* _ANJUTA_COMMAND_H_ */
|