mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
We now support loading both file:// and http:// URLs. Feel free to visit http://www.serenityos.org/ and enjoy the fancy good times. :^)
15 lines
225 B
C++
15 lines
225 B
C++
#pragma once
|
|
|
|
#include <AK/Function.h>
|
|
#include <AK/URL.h>
|
|
|
|
class ResourceLoader {
|
|
public:
|
|
static ResourceLoader& the();
|
|
|
|
void load(const URL&, Function<void(const ByteBuffer&)>);
|
|
|
|
private:
|
|
ResourceLoader() {}
|
|
};
|