Skip to content
Snippets Groups Projects
Commit 6f3d3bb0 authored by Odilitime's avatar Odilitime
Browse files

remove browser specfic stuff

parent c66314bd
No related branches found
No related tags found
No related merge requests found
#ifndef BROWSER_H
#define BROWSER_H
#ifndef APP_H
#define APP_H
#include "interfaces/graphical/renderers/glfw/Window.h"
#include "interfaces/components/Component.h"
#include "interfaces/components/DocumentComponent.h"
#include "interfaces/components/ComponentBuilder.h"
#include "parsers/markup/Node.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <memory>
//#include <GL/glew.h>
//#include <GLFW/glfw3.h>
//#include <memory>
#include <vector>
#include <algorithm>
#include "networking/HTTPResponse.h"
#include "URL.h"
#include "interfaces/graphical/renderers/glfw/Window.h"
//#include <algorithm>
void doOnClick(std::string type, Component *component, Window *win);
// this is the actually application that
// contains a list of windows
class App {
public:
std::shared_ptr<Node> loadTheme(std::string filename);
......@@ -42,22 +39,4 @@ public:
size_t windowCounter = 0;
};
// this is the actually application that
// contains a list of windows
// separate window functions from browser functions
class Browser : public App {
private:
public:
Browser();
std::shared_ptr<DocumentComponent> getActiveDocumentComponent();
std::shared_ptr<Component> tabComponent = nullptr;
std::shared_ptr<Component> addressComponent = nullptr;
//URL currentURL;
};
//bool setWindowContent(URL const& url);
//void handleRequest(const HTTPResponse &response);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment