diff options
Diffstat (limited to 'embed/ephy-request-about.h')
-rw-r--r-- | embed/ephy-request-about.h | 37 |
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 */ |