/usr/include/libgoffice-0.8/goffice/app/go-cmd-context.h is in libgoffice-0.8-dev 0.8.17-3.
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 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-cmd-context.h:
*
* Copyright (C) 2004 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
#ifndef GO_CMD_CONTEXT_H
#define GO_CMD_CONTEXT_H
#include <goffice/app/goffice-app.h>
#include <glib-object.h>
G_BEGIN_DECLS
#define GO_TYPE_CMD_CONTEXT (go_cmd_context_get_type ())
#define GO_CMD_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_CMD_CONTEXT, GOCmdContext))
#define GO_IS_CMD_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_CMD_CONTEXT))
GType go_cmd_context_get_type (void);
void go_cmd_context_error (GOCmdContext *cc, GError *err);
char *go_cmd_context_get_password (GOCmdContext *cc, char const *fname);
void go_cmd_context_set_sensitive (GOCmdContext *cc, gboolean flag);
/* utility routines for common errors */
void go_cmd_context_error_system (GOCmdContext *cc, char const *msg);
void go_cmd_context_error_import (GOCmdContext *cc, char const *msg);
void go_cmd_context_error_export (GOCmdContext *cc, char const *msg);
void go_cmd_context_error_invalid (GOCmdContext *cc,
char const *msg, char const *val);
void go_cmd_context_error_info (GOCmdContext *cc, GOErrorInfo *stack);
void go_cmd_context_error_info_list (GOCmdContext *cc, GSList *stack);
/* An initial set of std errors */
GQuark go_error_system (void);
GQuark go_error_import (void);
GQuark go_error_export (void);
GQuark go_error_invalid (void);
G_END_DECLS
#endif /* GO_CMD_CONTEXT_H */
|