mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
draft gemini connector, remove sigc, implement destructor
This commit is contained in:
parent
de312cdcb0
commit
a741f1edca
4 changed files with 77 additions and 57 deletions
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_HPP
|
||||
|
||||
#include <giomm/asyncresult.h>
|
||||
#include <giomm/inputstream.h>
|
||||
#include <giomm/outputstream.h>
|
||||
#include <giomm/simpleactiongroup.h>
|
||||
#include <giomm/socketclient.h>
|
||||
#include <giomm/socketconnection.h>
|
||||
#include <glibmm/refptr.h>
|
||||
#include <gtkmm/box.h>
|
||||
#include <sigc++/functors/mem_fun.h>
|
||||
|
||||
#include <giomm/asyncresult.h>
|
||||
#include <giomm/socketconnection.h>
|
||||
#include <giomm/socketclient.h>
|
||||
#include <string>
|
||||
|
||||
namespace app::browser::main::tab
|
||||
{
|
||||
|
|
@ -22,17 +24,15 @@ namespace app::browser::main::tab
|
|||
{
|
||||
private:
|
||||
|
||||
char buffer[0xfffff];
|
||||
|
||||
Glib::RefPtr<Gio::SimpleActionGroup> action_group;
|
||||
Glib::RefPtr<Gio::SocketClient> socket_client;
|
||||
Glib::RefPtr<Gio::SocketConnection> socket_connection;
|
||||
|
||||
page::Navbar * navbar;
|
||||
page::Content * content;
|
||||
|
||||
void connect(
|
||||
const std::string & host,
|
||||
int port
|
||||
);
|
||||
|
||||
public:
|
||||
|
||||
Page();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue