mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
rename tab elements namespace
This commit is contained in:
parent
4e733d8997
commit
2986a475c1
29 changed files with 181 additions and 181 deletions
52
src/app/browser/main/tab/page/navbar.hpp
Normal file
52
src/app/browser/main/tab/page/navbar.hpp
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_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::page
|
||||
{
|
||||
namespace navbar
|
||||
{
|
||||
class Base;
|
||||
class Bookmark;
|
||||
class History;
|
||||
class Update;
|
||||
class Request;
|
||||
}
|
||||
|
||||
class Navbar : public Gtk::Box
|
||||
{
|
||||
private:
|
||||
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
|
||||
// Components
|
||||
navbar::Base * base;
|
||||
navbar::Bookmark * bookmark;
|
||||
navbar::History * history;
|
||||
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();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue