diff options
Diffstat (limited to 'embed/webkit/webkit-embed-persist.h')
-rw-r--r-- | embed/webkit/webkit-embed-persist.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/embed/webkit/webkit-embed-persist.h b/embed/webkit/webkit-embed-persist.h new file mode 100644 index 000000000..b1728fb1d --- /dev/null +++ b/embed/webkit/webkit-embed-persist.h @@ -0,0 +1,60 @@ +/* + * Copyright © 2007 Xan Lopez <xan@gnome.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $Id$ + */ + +#ifndef WEBKIT_EMBED_PERSIST_H +#define WEBKIT_EMBED_PERSIST_H + +#include <glib.h> +#include <glib-object.h> + +#include "ephy-embed-persist.h" + +G_BEGIN_DECLS + +#define WEBKIT_TYPE_EMBED_PERSIST (webkit_embed_persist_get_type ()) +#define WEBKIT_EMBED_PERSIST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), WEBKIT_TYPE_EMBED_PERSIST, WebkitEmbedPersist)) +#define WEBKIT_EMBED_PERSIST_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), WEBKIT_TYPE_EMBED_PERSIST, WebkitEmbedPersistClass)) +#define WEBKIT_IS_EMBED_PERSIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), WEBKIT_TYPE_EMBED_PERSIST)) +#define WEBKIT_IS_EMBED_PERSIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), WEBKIT_TYPE_EMBED_PERSIST)) +#define WEBKIT_EMBED_PERSIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), WEBKIT_TYPE_EMBED_PERSIST, WebkitEmbedPersistClass)) + +typedef struct WebkitEmbedPersistClass WebkitEmbedPersistClass; +typedef struct WebkitEmbedPersist WebkitEmbedPersist; +typedef struct WebkitEmbedPersistPrivate WebkitEmbedPersistPrivate; + +struct WebkitEmbedPersist +{ + EphyEmbedPersist parent; +}; + +struct WebkitEmbedPersistClass +{ + EphyEmbedPersistClass parent_class; +}; + +GType webkit_embed_persist_get_type (void); + +void webkit_embed_persist_completed (WebkitEmbedPersist *persist); + +void webkit_embed_persist_cancelled (WebkitEmbedPersist *persist); + +G_END_DECLS + +#endif |