/usr/include/libgoffice-0.8/goffice/app/go-plugin-service-impl.h is in libgoffice-0.8-dev 0.8.17-8.
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 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* go-graph-item-impl.h : Implementation details for the abstract graph-item
* interface
*
* Copyright (C) 2001 Zbigniew Chyla (cyba@gnome.pl)
*
* 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_PLUGIN_SERVICE_IMPL_H
#define GO_PLUGIN_SERVICE_IMPL_H
#include <goffice/app/goffice-app.h>
#include <glib-object.h>
#include <libxml/tree.h>
G_BEGIN_DECLS
struct _GOPluginService {
GObject g_object;
char *id;
GOPlugin *plugin;
gboolean is_loaded;
/* protected */
gpointer cbs_ptr;
gboolean is_active;
/* private */
char *saved_description;
};
typedef struct {
GObjectClass g_object_class;
void (*read_xml) (GOPluginService *service, xmlNode *tree, GOErrorInfo **ret_error);
void (*activate) (GOPluginService *service, GOErrorInfo **ret_error);
void (*deactivate) (GOPluginService *service, GOErrorInfo **ret_error);
char *(*get_description) (GOPluginService *service);
} GOPluginServiceClass;
#define GO_PLUGIN_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GO_TYPE_PLUGIN_SERVICE, GOPluginServiceClass))
#define GO_PLUGIN_SERVICE_GET_CLASS(o) GO_PLUGIN_SERVICE_CLASS (G_OBJECT_GET_CLASS (o))
typedef struct {
GOPluginServiceClass plugin_service_class;
GHashTable *pending; /* has service instances by type names */
} GOPluginServiceGObjectLoaderClass;
struct _GOPluginServiceGObjectLoader {
GOPluginService plugin_service;
};
#define GO_PLUGIN_SERVICE_GOBJECT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GO_TYPE_PLUGIN_SERVICE, GOPluginServiceGObjectLoaderClass))
#define GO_PLUGIN_SERVICE_GOBJECT_LOADER_GET_CLASS(o) GO_PLUGIN_SERVICE_GOBJECT_LOADER_CLASS (G_OBJECT_GET_CLASS (o))
typedef struct {
GOPluginServiceClass plugin_service_class;
} GOPluginServiceSimpleClass;
struct _GOPluginServiceSimple {
GOPluginService plugin_service;
};
G_END_DECLS
#endif /* GO_PLUGIN_SERVICE_IMPL_H */
|