diff --git a/src/app/browser/main/tab.cpp b/src/app/browser/main/tab.cpp index e4ab5854..ad536576 100644 --- a/src/app/browser/main/tab.cpp +++ b/src/app/browser/main/tab.cpp @@ -107,7 +107,7 @@ Tab::Tab( ); } -void Tab::shutdown() +void Tab::save() { char * error; // @TODO @@ -154,6 +154,11 @@ void Tab::shutdown() &error ); } +} + +void Tab::shutdown() +{ + save(); // @TODO shutdown children components } diff --git a/src/app/browser/main/tab.hpp b/src/app/browser/main/tab.hpp index bd006470..0711edbe 100644 --- a/src/app/browser/main/tab.hpp +++ b/src/app/browser/main/tab.hpp @@ -94,6 +94,8 @@ namespace app::browser::main const int & PAGE_NUMBER ); + void save(); + void shutdown(); // Getters