00001 #ifndef __VIEW_H__ 00002 #define __VIEW_H__ 00003 00004 /** 00005 * File Name : view.h 00006 * 00007 * Description: Webview 00008 */ 00009 00010 /* 00011 * This file is part of erbrowser. 00012 * 00013 * erbrowser is free software: you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation, either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * erbrowser is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 */ 00026 00027 /** 00028 * Copyright (C) 2009 iRex Technologies B.V. 00029 * All rights reserved. 00030 */ 00031 00032 00033 //---------------------------------------------------------------------------- 00034 // Include Files 00035 //---------------------------------------------------------------------------- 00036 00037 G_BEGIN_DECLS 00038 00039 00040 //---------------------------------------------------------------------------- 00041 // Definitions 00042 //---------------------------------------------------------------------------- 00043 00044 00045 //---------------------------------------------------------------------------- 00046 // Forward Declarations 00047 //---------------------------------------------------------------------------- 00048 00049 00050 //---------------------------------------------------------------------------- 00051 // Type Declarations 00052 //---------------------------------------------------------------------------- 00053 00054 00055 //---------------------------------------------------------------------------- 00056 // Global Constants 00057 //---------------------------------------------------------------------------- 00058 00059 00060 //---------------------------------------------------------------------------- 00061 // Global Variables 00062 //---------------------------------------------------------------------------- 00063 00064 00065 00066 //============================================================================ 00067 // Public Functions 00068 //============================================================================ 00069 00070 BrowserWindow *view_create ( void ); 00071 void view_destroy ( void ); 00072 void view_zoom_in ( void ); 00073 void view_zoom_out ( void ); 00074 void view_set_zoom_level ( gfloat zoom_level ); 00075 void view_full_screen ( gboolean mode ); 00076 void view_go_back ( void ); 00077 void view_go_forward ( void ); 00078 void view_reload ( void ); 00079 void view_open_uri ( const char *uri ); 00080 void view_set_statusbar ( gchar *message ); 00081 void view_show_busy ( gboolean show ); 00082 void view_show_error ( const gchar *title, const gchar *message ); 00083 void view_open_emall ( void ); 00084 void view_set_text ( void ); 00085 void view_deactivated ( void ); 00086 00087 void view_open_last ( void ); 00088 gboolean view_is_page_loaded ( void ); 00089 00090 00091 G_END_DECLS 00092 00093 #endif /* __VIEW_H__ */