|
|
@ -68,12 +68,17 @@ Tab::Tab( |
|
|
|
{ |
|
|
|
{ |
|
|
|
while (sqlite3_step(statement) == SQLITE_ROW) |
|
|
|
while (sqlite3_step(statement) == SQLITE_ROW) |
|
|
|
{ |
|
|
|
{ |
|
|
|
append( |
|
|
|
const int PAGE_NUMBER = append(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* @TODO set request
|
|
|
|
::sqlite3_column_text( |
|
|
|
::sqlite3_column_text( |
|
|
|
statement, |
|
|
|
statement, |
|
|
|
DB::APP_BROWSER_MAIN_TAB::REQUEST |
|
|
|
DB::APP_BROWSER_MAIN_TAB::REQUEST |
|
|
|
), |
|
|
|
); |
|
|
|
true |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_current_page( |
|
|
|
|
|
|
|
PAGE_NUMBER |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -167,10 +172,8 @@ void Tab::refresh( |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int Tab::append( |
|
|
|
int Tab::append() |
|
|
|
const unsigned char * REQUEST, |
|
|
|
{ |
|
|
|
const bool & FOCUS |
|
|
|
|
|
|
|
) { |
|
|
|
|
|
|
|
const auto TAB_PAGE = new tab::Page( |
|
|
|
const auto TAB_PAGE = new tab::Page( |
|
|
|
action__refresh, |
|
|
|
action__refresh, |
|
|
|
action__tab_page_navigation_history_back, |
|
|
|
action__tab_page_navigation_history_back, |
|
|
@ -192,13 +195,6 @@ int Tab::append( |
|
|
|
REORDERABLE |
|
|
|
REORDERABLE |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
if (FOCUS) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
set_current_page( |
|
|
|
|
|
|
|
PAGE_NUMBER |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return PAGE_NUMBER; |
|
|
|
return PAGE_NUMBER; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|