mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Namespace the atari global history functions.
This commit is contained in:
parent
6e5e741d53
commit
13326b2716
@ -459,7 +459,7 @@ static void __CDECL menu_lhistory(short item, short title, void *data)
|
||||
static void __CDECL menu_ghistory(short item, short title, void *data)
|
||||
{
|
||||
LOG(("%s", __FUNCTION__));
|
||||
global_history_open();
|
||||
atari_global_history_open();
|
||||
}
|
||||
|
||||
static void __CDECL menu_add_bookmark(short item, short title, void *data)
|
||||
|
@ -810,7 +810,7 @@ void gui_quit(void)
|
||||
gw = tmp;
|
||||
}
|
||||
|
||||
global_history_destroy();
|
||||
atari_global_history_destroy();
|
||||
hotlist_destroy();
|
||||
toolbar_exit();
|
||||
|
||||
@ -1021,7 +1021,7 @@ static void gui_init2(int argc, char** argv)
|
||||
menu_register( _AESapid, (char*)" NetSurf ");
|
||||
}
|
||||
gemtk_wm_init();
|
||||
global_history_init();
|
||||
atari_global_history_init();
|
||||
hotlist_init();
|
||||
toolbar_init();
|
||||
}
|
||||
|
@ -48,9 +48,9 @@ extern GRECT desk_area;
|
||||
struct s_atari_global_history gl_history;
|
||||
|
||||
|
||||
void global_history_open( void )
|
||||
void atari_global_history_open( void )
|
||||
{
|
||||
global_history_init();
|
||||
atari_global_history_init();
|
||||
if (gl_history.init == false ) {
|
||||
return;
|
||||
}
|
||||
@ -89,7 +89,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8])
|
||||
switch (msg[0]) {
|
||||
|
||||
case WM_CLOSED:
|
||||
global_history_close();
|
||||
atari_global_history_close();
|
||||
break;
|
||||
|
||||
default: break;
|
||||
@ -100,7 +100,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8])
|
||||
// ObjcChange( OC_TOOLBAR, win, buff[4], ~SELECTED, OC_MSG );
|
||||
}
|
||||
|
||||
bool global_history_init( void )
|
||||
bool atari_global_history_init( void )
|
||||
{
|
||||
|
||||
if( gl_history.init == false ) {
|
||||
@ -136,7 +136,7 @@ bool global_history_init( void )
|
||||
}
|
||||
|
||||
|
||||
void global_history_destroy( void )
|
||||
void atari_global_history_destroy( void )
|
||||
{
|
||||
|
||||
if( gl_history.init == false ) {
|
||||
@ -145,7 +145,7 @@ void global_history_destroy( void )
|
||||
if( gl_history.window != NULL ) {
|
||||
history_global_cleanup();
|
||||
if( gl_history.open )
|
||||
global_history_close();
|
||||
atari_global_history_close();
|
||||
wind_delete(gemtk_wm_get_handle(gl_history.window));
|
||||
gemtk_wm_remove(gl_history.window);
|
||||
gl_history.window = NULL;
|
||||
@ -155,7 +155,7 @@ void global_history_destroy( void )
|
||||
LOG(("done"));
|
||||
}
|
||||
|
||||
void global_history_redraw( void )
|
||||
void atari_global_history_redraw( void )
|
||||
{
|
||||
atari_treeview_redraw( gl_history.tv );
|
||||
}
|
||||
|
@ -33,12 +33,12 @@ struct s_atari_global_history {
|
||||
|
||||
extern struct s_atari_global_history gl_history;
|
||||
|
||||
bool global_history_init( void );
|
||||
void global_history_destroy( void );
|
||||
void global_history_open( void );
|
||||
void global_history_close( void );
|
||||
bool atari_global_history_init( void );
|
||||
void atari_global_history_destroy( void );
|
||||
void atari_global_history_open( void );
|
||||
void atari_global_history_close( void );
|
||||
|
||||
void global_history_redraw( void );
|
||||
void atari_global_history_redraw( void );
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user