mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
22 lines
453 B
C++
22 lines
453 B
C++
/*
|
|
* Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
|
|
* Copyright (c) 2022, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibCore/Forward.h>
|
|
|
|
#include "Common.h"
|
|
#include "Mesh.h"
|
|
|
|
class MeshLoader {
|
|
public:
|
|
MeshLoader() = default;
|
|
virtual ~MeshLoader() = default;
|
|
|
|
virtual ErrorOr<NonnullRefPtr<Mesh>> load(ByteString const& filename, NonnullOwnPtr<Core::File> file) = 0;
|
|
};
|