1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef HYBRID_HYBRID_BACKEND_DATA_H_
6 #define HYBRID_HYBRID_BACKEND_DATA_H_
8 #include <common/utils/property.h>
9 #include <pkgmgrinfo_basic.h>
10 #include <pkgmgr_parser.h>
11 #include <wgt_manifest_handlers/setting_handler.h>
16 #include "wgt/wgt_backend_data.h"
20 class HybridBackendData : public wgt::WgtBackendData {
22 HybridBackendData() { }
23 ~HybridBackendData() override {
24 if (tpk_manifest_data.get())
25 pkgmgr_parser_free_manifest_xml(tpk_manifest_data.get());
28 Property<manifest_x*> tpk_manifest_data;
33 #endif // HYBRID_HYBRID_BACKEND_DATA_H_