/* $Id: common.h,v 1.1 2010/02/28 14:01:58 khorben Exp $ */ /* Copyright (c) 2010 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Surfer */ /* Surfer is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License version 2 as published by the Free * Software Foundation. * * Surfer 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 * Surfer; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA */ #ifndef SURFER_COMMON_H # define SURFER_COMMON_H # include # include /* Surfer */ /* types */ struct _Surfer { Config * config; char * url; /* preferences */ char * homepage; /* widgets */ /* main window */ GtkWidget * window; #ifndef EMBEDDED GtkWidget * menubar; #endif GtkWidget * toolbar; GtkToolItem * tb_back; GtkToolItem * tb_forward; GtkToolItem * tb_stop; GtkToolItem * tb_refresh; GtkWidget * tb_path; GtkWidget * view; GtkWidget * progress; GtkWidget * statusbox; GtkWidget * statusbar; guint statusbar_id; /* preferences */ GtkWidget * pr_window; GtkWidget * pr_homepage; }; #endif /* !SURFER_COMMON_H */