mirror of
https://github.com/m1ngsama/TUT.git
synced 2026-02-08 09:04:04 +00:00
Following Unix philosophy and documentation standards: - Rewrite README.md in man page format (NAME, SYNOPSIS, DESCRIPTION, etc.) - Remove all Chinese comments from source code - Keep code clean and self-documenting - Add PHILOSOPHY section explaining Unix principles - Include proper EXIT STATUS, ENVIRONMENT, and FILES sections - Reference related tools in SEE ALSO section
23 lines
426 B
C++
23 lines
426 B
C++
#pragma once
|
|
|
|
#include "http_client.h"
|
|
#include "html_parser.h"
|
|
#include "text_renderer.h"
|
|
#include "input_handler.h"
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
|
|
class Browser {
|
|
public:
|
|
Browser();
|
|
~Browser();
|
|
|
|
void run(const std::string& initial_url = "");
|
|
bool load_url(const std::string& url);
|
|
std::string get_current_url() const;
|
|
|
|
private:
|
|
class Impl;
|
|
std::unique_ptr<Impl> pImpl;
|
|
};
|