2020-01-18 05:38:21 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 05:38:21 -03:00
|
|
|
*/
|
|
|
|
|
|
2019-08-19 15:29:52 -03:00
|
|
|
#include "RemoteObject.h"
|
|
|
|
|
#include "RemoteObjectPropertyModel.h"
|
|
|
|
|
|
2020-09-25 16:03:29 -03:00
|
|
|
namespace Inspector {
|
|
|
|
|
|
2019-08-19 15:29:52 -03:00
|
|
|
RemoteObject::RemoteObject()
|
|
|
|
|
: m_property_model(RemoteObjectPropertyModel::create(*this))
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RemoteObjectPropertyModel& RemoteObject::property_model()
|
|
|
|
|
{
|
2021-05-25 11:13:19 -03:00
|
|
|
m_property_model->invalidate();
|
2019-08-19 15:29:52 -03:00
|
|
|
return *m_property_model;
|
|
|
|
|
}
|
2020-09-25 16:03:29 -03:00
|
|
|
|
|
|
|
|
}
|