
We now support loading both file:// and http:// URLs. Feel free to visit http://www.serenityos.org/ and enjoy the fancy good times. :^)
14 lines
225 B
C++
14 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() {}
|
|
};
|