Blame src/web-extensions/e-web-extension.h

Packit 15f964
/*
Packit 15f964
 * e-web-extension.h
Packit 15f964
 *
Packit 15f964
 * This program is free software; you can redistribute it and/or
Packit 15f964
 * modify it under the terms of the GNU Lesser General Public
Packit 15f964
 * License as published by the Free Software Foundation; either
Packit 15f964
 * version 2 of the License, or (at your option) version 3.
Packit 15f964
 *
Packit 15f964
 * This program is distributed in the hope that it will be useful,
Packit 15f964
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 15f964
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 15f964
 * Lesser General Public License for more details.
Packit 15f964
 *
Packit 15f964
 * You should have received a copy of the GNU Lesser General Public
Packit 15f964
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
Packit 15f964
 *
Packit 15f964
 */
Packit 15f964
Packit 15f964
#ifndef E_WEB_EXTENSION_H
Packit 15f964
#define E_WEB_EXTENSION_H
Packit 15f964
Packit 15f964
#include <webkit2/webkit-web-extension.h>
Packit 15f964
#include <glib-object.h>
Packit 15f964
Packit 15f964
/* Standard GObject macros */
Packit 15f964
#define E_TYPE_WEB_EXTENSION \
Packit 15f964
	(e_web_extension_get_type ())
Packit 15f964
#define E_WEB_EXTENSION(obj) \
Packit 15f964
	(G_TYPE_CHECK_INSTANCE_CAST \
Packit 15f964
	((obj), E_TYPE_WEB_EXTENSION, EWebExtension))
Packit 15f964
#define E_WEB_EXTENSION_CLASS(cls) \
Packit 15f964
	(G_TYPE_CHECK_CLASS_CAST \
Packit 15f964
	((cls), E_TYPE_WEB_EXTENSION, EWebExtensionClass))
Packit 15f964
#define E_IS_WEB_EXTENSION(obj) \
Packit 15f964
	(G_TYPE_CHECK_INSTANCE_TYPE \
Packit 15f964
	((obj), E_TYPE_WEB_EXTENSION))
Packit 15f964
#define E_IS_WEB_EXTENSION_CLASS(cls) \
Packit 15f964
	(G_TYPE_CHECK_CLASS_TYPE \
Packit 15f964
	((cls), E_TYPE_WEB_EXTENSION))
Packit 15f964
#define E_WEB_EXTENSION_GET_CLASS(obj) \
Packit 15f964
	(G_TYPE_INSTANCE_GET_CLASS \
Packit 15f964
	((obj), E_TYPE_WEB_EXTENSION, EWebExtensionClass))
Packit 15f964
Packit 15f964
G_BEGIN_DECLS
Packit 15f964
Packit 15f964
typedef struct _EWebExtension EWebExtension;
Packit 15f964
typedef struct _EWebExtensionClass EWebExtensionClass;
Packit 15f964
typedef struct _EWebExtensionPrivate EWebExtensionPrivate;
Packit 15f964
Packit 15f964
struct _EWebExtension {
Packit 15f964
	GObject parent;
Packit 15f964
	EWebExtensionPrivate *priv;
Packit 15f964
};
Packit 15f964
Packit 15f964
struct _EWebExtensionClass
Packit 15f964
{
Packit 15f964
	GObjectClass parent_class;
Packit 15f964
};
Packit 15f964
Packit 15f964
GType		e_web_extension_get_type	(void) G_GNUC_CONST;
Packit 15f964
Packit 15f964
EWebExtension *	e_web_extension_get		(void);
Packit 15f964
Packit 15f964
void		e_web_extension_initialize	(EWebExtension *extension,
Packit 15f964
						 WebKitWebExtension *wk_extension);
Packit 15f964
Packit 15f964
void		e_web_extension_dbus_register	(EWebExtension *extension,
Packit 15f964
						 GDBusConnection *connection);
Packit 15f964
Packit 15f964
G_END_DECLS
Packit 15f964
Packit 15f964
#endif /* E_WEB_EXTENSION_H */