summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/DocumentWrapper.h
blob: 931720c6966981f5c221b9e8352e4cd2fd2da902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <LibWeb/Bindings/NodeWrapper.h>

namespace Web {
namespace Bindings {

class DocumentWrapper : public NodeWrapper {
public:
    explicit DocumentWrapper(Document&);
    virtual ~DocumentWrapper() override;

    Document& node();
    const Document& node() const;

private:
    virtual const char* class_name() const override { return "Document"; }
};

}
}