summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/Property.cpp
blob: faf00e25edc06df26d8e772177a901e914d72e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <LibCore/Property.h>

namespace Core {

Property::Property(String name, Function<JsonValue()> getter, Function<bool(const JsonValue&)> setter)
    : m_name(move(name))
    , m_getter(move(getter))
    , m_setter(move(setter))
{
}

Property::~Property()
{
}

}