summaryrefslogtreecommitdiff
path: root/ui/gcr-deprecated.h
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-12-22 21:26:10 +0100
committerStef Walter <stefw@gnome.org>2012-12-22 23:31:36 +0100
commit41d96e69e8b56aa88e36e8bd176c51c5aa93caf9 (patch)
treef78639aeef07a56cf9913e9d921f141957ecf351 /ui/gcr-deprecated.h
parent86550b678407e360515878703e81258044d84541 (diff)
downloadgcr-41d96e69e8b56aa88e36e8bd176c51c5aa93caf9.tar.gz
Separate the base and ui parts of the Gcr library more thoroughly.
* This is due to gobject introspection not being able to have separate GIRs provide the same namespace, and the desire to conditionally build the GTK+ dependent stuff. * Partially based on a patch by Mathias Hasselmann * Separate GIRs: Gcr and GcrUi * Separate libraries: libgcr-base-3.so and libgcr-ui-3.so. The latter links to the former. * Symlink libgcr-3.so to libgcr-ui-3.so * Expose internal symbols in libgcr-base-3.so so they can be easily shared by libgcr-ui-3.so * Add --without-gtk argument https://bugzilla.gnome.org/show_bug.cgi?id=688678
Diffstat (limited to 'ui/gcr-deprecated.h')
-rw-r--r--ui/gcr-deprecated.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/ui/gcr-deprecated.h b/ui/gcr-deprecated.h
new file mode 100644
index 0000000..3447c84
--- /dev/null
+++ b/ui/gcr-deprecated.h
@@ -0,0 +1,48 @@
+/*
+ * gnome-keyring
+ *
+ * Copyright (C) 2011 Collabora Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ *
+ * Author: Stef Walter <stefw@collabora.co.uk>
+ */
+
+#if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION)
+#error "Only <gcr/gcr.h> or <gcr/gcr-base.h> can be included directly."
+#endif
+
+#ifndef GCR_DEPRECATED_H_
+#define GCR_DEPRECATED_H_
+#ifndef GCR_DISABLE_DEPRECATED
+#ifndef __GI_SCANNER__
+
+#include <glib.h>
+
+#include "gcr-certificate-basics-widget.h"
+#include "gcr-certificate-details-widget.h"
+#include "gcr-viewer.h"
+
+G_BEGIN_DECLS
+
+void gcr_renderer_render (GcrRenderer *self,
+ GcrViewer *viewer);
+
+G_END_DECLS
+
+#endif /* __GI_SCANNER__ */
+#endif /* GCR_DISABLE_DEPRECATED */
+#endif /* GCRTYPES_H_ */