/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 2 -*- */
/* eggassistant.h
 * Copyright (C) 2005 Carlos Garnacho Parro
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __EGG_ASSISTANT_PAGE_H
#define __EGG_ASSISTANT_PAGE_H

G_BEGIN_DECLS

#include <gtk/gtk.h>

#define EGG_TYPE_ASSISTANT_PAGE         (egg_assistant_page_get_type ())
#define EGG_ASSISTANT_PAGE(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), EGG_TYPE_ASSISTANT_PAGE, EggAssistantPage))
#define EGG_ASSISTANT_PAGE_CLASS(c)     (G_TYPE_CHECK_CLASS_CAST    ((c), EGG_TYPE_ASSISTANT_PAGE, EggAssistantPageClass))
#define EGG_IS_ASSISTANT_PAGE(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EGG_TYPE_ASSISTANT_PAGE))
#define EGG_IS_ASSISTANT_PAGE_CLASS(c)  (G_TYPE_CHECK_CLASS_TYPE    ((c), EGG_TYPE_ASSISTANT_PAGE))
#define EGG_ASSISTANT_PAGE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS  ((o), EGG_TYPE_ASSISTANT_PAGE, EggAssistantPageClass))

typedef struct _EggAssistantPage      EggAssistantPage;
typedef struct _EggAssistantPageClass EggAssistantPageClass;

struct _EggAssistantPage
{
  GtkBin parent;
};

struct _EggAssistantPageClass
{
  GtkBinClass parent_class;

  void (*prepare) (EggAssistantPage *page);

  /* padding for possible expansion */
  gpointer padding1;
  gpointer padding2;
  gpointer padding3;
  gpointer padding4;
  gpointer padding5;
  gpointer padding6;
  gpointer padding7;
};

GType        egg_assistant_page_get_type  (void) G_GNUC_CONST;

GtkWidget   *egg_assistant_page_new       (const gchar *title, GdkPixbuf *header_image, GtkWidget *child);

const gchar *egg_assistant_page_get_title (EggAssistantPage *page);
void         egg_assistant_page_set_title (EggAssistantPage *page, const gchar *title);

GdkPixbuf   *egg_assistant_page_get_header_image (EggAssistantPage *page);
void         egg_assistant_page_set_header_image (EggAssistantPage *page, GdkPixbuf *pixbuf);

GdkPixbuf   *egg_assistant_page_get_watermark (EggAssistantPage *page);
void         egg_assistant_page_set_watermark (EggAssistantPage *page, GdkPixbuf *pixbuf);


void         egg_assistant_page_prepare   (EggAssistantPage *page);

G_END_DECLS

#endif /* __EGG_ASSISTANT_H */
