|
|
|
@ -1,7 +1,11 @@
@@ -1,7 +1,11 @@
|
|
|
|
|
#ifndef APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
|
#define APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP |
|
|
|
|
|
|
|
|
|
#include <giomm/simpleactiongroup.h> |
|
|
|
|
#include <glibmm/refptr.h> |
|
|
|
|
#include <glibmm/ustring.h> |
|
|
|
|
#include <gtkmm/box.h> |
|
|
|
|
#include <sigc++/functors/mem_fun.h> |
|
|
|
|
|
|
|
|
|
namespace app::browser::main::tab::data |
|
|
|
|
{ |
|
|
|
@ -18,9 +22,8 @@ namespace app::browser::main::tab::data
@@ -18,9 +22,8 @@ namespace app::browser::main::tab::data
|
|
|
|
|
{ |
|
|
|
|
private: |
|
|
|
|
|
|
|
|
|
// Defaults
|
|
|
|
|
const int SPACING = 8; |
|
|
|
|
const int MARGIN = 8; |
|
|
|
|
// Actions
|
|
|
|
|
Glib::RefPtr<Gio::SimpleActionGroup> action_group; |
|
|
|
|
|
|
|
|
|
// Components
|
|
|
|
|
navbar::Base * base; |
|
|
|
@ -29,11 +32,20 @@ namespace app::browser::main::tab::data
@@ -29,11 +32,20 @@ namespace app::browser::main::tab::data
|
|
|
|
|
navbar::Request * request; |
|
|
|
|
navbar::Update * update; |
|
|
|
|
|
|
|
|
|
// Defaults
|
|
|
|
|
const int SPACING = 8; |
|
|
|
|
const int MARGIN = 8; |
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
|
|
|
|
|
Navbar(); |
|
|
|
|
|
|
|
|
|
~Navbar(); |
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
|
void refresh(); |
|
|
|
|
|
|
|
|
|
// Getters
|
|
|
|
|
Glib::ustring get_request_value(); |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|