mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
23 lines
428 B
C++
23 lines
428 B
C++
/*
|
||
* Copyright (c) 2020, Hüseyin Aslıtürk <asliturk@hotmail.com>
|
||
*
|
||
* SPDX-License-Identifier: BSD-2-Clause
|
||
*/
|
||
|
||
#pragma once
|
||
|
||
#include <AK/JsonObject.h>
|
||
#include <LibKeyboard/CharacterMapData.h>
|
||
|
||
namespace Keyboard {
|
||
|
||
class CharacterMapFile {
|
||
|
||
public:
|
||
static ErrorOr<CharacterMapData> load_from_file(String const& filename);
|
||
|
||
private:
|
||
static Vector<u32> read_map(JsonObject const& json, String const& name);
|
||
};
|
||
|
||
}
|