diff options
author | Felix Riemann <[email protected]> | 2012-08-12 16:35:46 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-17 21:53:38 +0200 |
commit | a3c97eb293bfff825c43bd10d5584ae5a20f5495 (patch) | |
tree | 182bf7d6d551653c00b2e376bb7d9b4ec1f6cfac /src/eom-application-internal.h | |
parent | bb3b0c0a009cbf5f699a37c656b43bdc5a12b7b0 (diff) | |
download | eom-a3c97eb293bfff825c43bd10d5584ae5a20f5495.tar.bz2 eom-a3c97eb293bfff825c43bd10d5584ae5a20f5495.tar.xz |
EomApplication: Make most members private
This allows plugin usage without installing toolbar editor headers.
origin commit:
https://gitlab.gnome.org/GNOME/eog/commit/e647078
Diffstat (limited to 'src/eom-application-internal.h')
-rw-r--r-- | src/eom-application-internal.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/eom-application-internal.h b/src/eom-application-internal.h new file mode 100644 index 0000000..07755e2 --- /dev/null +++ b/src/eom-application-internal.h @@ -0,0 +1,60 @@ +/* Eye Of Gnome - Application Facade (internal) + * + * Copyright (C) 2006-2012 The Free Software Foundation + * + * Author: Lucas Rocha <[email protected]> + * + * Based on evince code (shell/ev-application.h) by: + * - Martin Kretzschmar <[email protected]> + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __EOM_APPLICATION_INTERNAL_H__ +#define __EOM_APPLICATION_INTERNAL_H__ + +#include <glib.h> +#include <glib-object.h> + +#include <libpeas/peas-extension-set.h> + +#include "eom-application.h" +#include "eom-plugin-engine.h" +#include "egg-toolbars-model.h" +#include "eom-window.h" + +G_BEGIN_DECLS + +struct _EomApplicationPrivate { + EggToolbarsModel *toolbars_model; + gchar *toolbars_file; + EomPluginEngine *plugin_engine; + + EomStartupFlags flags; + + PeasExtensionSet *extensions; +}; + + +EggToolbarsModel *eom_application_get_toolbars_model (EomApplication *application); + +void eom_application_save_toolbars_model (EomApplication *application); + +void eom_application_reset_toolbars_model (EomApplication *app); + +G_END_DECLS + +#endif /* __EOM_APPLICATION_INTERNAL_H__ */ + |