mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
Clipboard: Add a key-value map alongside the clipboard storage
A clipping now consists of three things: - The raw clip data - A MIME type - A key-value map (String, String) for anything you like
This commit is contained in:
parent
51146e3075
commit
2e6d59b7b2
Notes:
sideshowbarker
2024-07-19 02:54:38 +09:00
Author: https://github.com/awesomekling
Commit: 2e6d59b7b2
7 changed files with 34 additions and 11 deletions
|
@ -33,7 +33,12 @@ namespace IPC {
|
|||
|
||||
class Dictionary {
|
||||
public:
|
||||
Dictionary() {}
|
||||
Dictionary() { }
|
||||
|
||||
Dictionary(const HashMap<String, String>& initial_entries)
|
||||
: m_entries(initial_entries)
|
||||
{
|
||||
}
|
||||
|
||||
bool is_empty() const { return m_entries.is_empty(); }
|
||||
size_t size() const { return m_entries.size(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue