From 89cd6749b82686ca78e8d44c5b3fb18fead02363 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 30 Mar 2011 09:36:08 +0200 Subject: Added about:plugins support. We are now able to show a page with the list of installed plugins. Bug #575498 --- lib/ephy-request-about.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lib/ephy-request-about.h (limited to 'lib/ephy-request-about.h') diff --git a/lib/ephy-request-about.h b/lib/ephy-request-about.h new file mode 100644 index 000000000..bb16eda80 --- /dev/null +++ b/lib/ephy-request-about.h @@ -0,0 +1,37 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Copyright (C) 2011, Igalia S.L. + */ + +#ifndef EPHY_REQUEST_ABOUT_H +#define EPHY_REQUEST_ABOUT_H 1 + +#define LIBSOUP_USE_UNSTABLE_REQUEST_API +#include + +#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 */ -- cgit v1.2.3