use separated class files, use hpp header extension, update include model

This commit is contained in:
yggverse 2024-08-10 17:57:15 +03:00
parent 9b6dceddd8
commit 0f96ff851e
15 changed files with 235 additions and 145 deletions

41
src/app/browser/page.hpp Normal file
View file

@ -0,0 +1,41 @@
#ifndef APP_BROWSER_PAGE_H
#define APP_BROWSER_PAGE_H
#include <gtkmm/notebook.h>
namespace app::browser
{
class Page : public Gtk::Notebook
{
public:
const bool SCROLLABLE = true;
const bool REORDERABLE = true;
class Navbar
{
public:
Navbar();
};
class Body
{
public:
Body();
};
Page();
void append(
char* request,
bool open = true,
bool focus = false
);
void update();
};
}
#endif // APP_BROWSER_PAGE_H