aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-request-about.h
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-09-06 00:21:41 +0800
committerXan Lopez <xlopez@igalia.com>2011-09-06 02:40:31 +0800
commit0cff2bef71ac69095f62ace7be8443d42db34d32 (patch)
treeb5b122815e1c57c39d6593d3b368b858ebec3871 /embed/ephy-request-about.h
parent00e5075c92be48a8ad71985ed522aafc1596a58c (diff)
downloadgsoc2013-epiphany-0cff2bef71ac69095f62ace7be8443d42db34d32.tar.gz
gsoc2013-epiphany-0cff2bef71ac69095f62ace7be8443d42db34d32.tar.zst
gsoc2013-epiphany-0cff2bef71ac69095f62ace7be8443d42db34d32.zip
ephy-request-about: move this to embed/
We'll need to access embed/ data for about:applications.
Diffstat (limited to 'embed/ephy-request-about.h')
-rw-r--r--embed/ephy-request-about.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/embed/ephy-request-about.h b/embed/ephy-request-about.h
new file mode 100644
index 000000000..cc441a7a3
--- /dev/null
+++ b/embed/ephy-request-about.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/*
+ * Copyright (C) 2011, Igalia S.L.
+ */
+
+#ifndef EPHY_REQUEST_ABOUT_H
+#define EPHY_REQUEST_ABOUT_H 1
+
+#define LIBSOUP_USE_UNSTABLE_REQUEST_API
+#include <libsoup/soup-request.h>
+
+#define EPHY_TYPE_REQUEST_ABOUT (ephy_request_about_get_type ())
+#define EPHY_REQUEST_ABOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), EPHY_TYPE_REQUEST_ABOUT, EphyRequestAbout))
+#define EPHY_REQUEST_ABOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_REQUEST_ABOUT, EphyRequestAboutClass))
+#define EPHY_IS_REQUEST_ABOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), EPHY_TYPE_REQUEST_ABOUT))
+#define EPHY_IS_REQUEST_ABOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EPHY_TYPE_REQUEST_ABOUT))
+#define EPHY_REQUEST_ABOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EPHY_TYPE_REQUEST_ABOUT, EphyRequestAboutClass))
+
+#define EPHY_ABOUT_SCHEME "ephy-about"
+#define EPHY_ABOUT_SCHEME_LEN 10
+
+typedef struct _EphyRequestAboutPrivate EphyRequestAboutPrivate;
+
+typedef struct {
+ SoupRequest parent;
+
+ EphyRequestAboutPrivate *priv;
+} EphyRequestAbout;
+
+typedef struct {
+ SoupRequestClass parent;
+
+} EphyRequestAboutClass;
+
+GType ephy_request_about_get_type (void);
+
+#endif /* EPHY_REQUEST_ABOUT_H */