return page number on tab append

This commit is contained in:
yggverse 2024-09-09 22:13:36 +03:00
parent 687b623354
commit 7a522cb1e1
2 changed files with 4 additions and 2 deletions

View File

@ -167,7 +167,7 @@ void Tab::refresh(
); );
} }
void Tab::append( int Tab::append(
const unsigned char * REQUEST, const unsigned char * REQUEST,
const bool & FOCUS const bool & FOCUS
) { ) {
@ -198,6 +198,8 @@ void Tab::append(
PAGE_NUMBER PAGE_NUMBER
); );
} }
return PAGE_NUMBER;
}; };
void Tab::close( void Tab::close(

View File

@ -69,7 +69,7 @@ namespace app::browser::main
const int & PAGE_NUMBER // @TODO const int & PAGE_NUMBER // @TODO
); );
void append( int append(
const unsigned char * REQUEST, const unsigned char * REQUEST,
const bool & FOCUS const bool & FOCUS
); );