Fix WGT handlers includes
[platform/core/appfw/wgt-backend.git] / src / hybrid / hybrid_backend_data.h
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.
4
5 #ifndef HYBRID_HYBRID_BACKEND_DATA_H_
6 #define HYBRID_HYBRID_BACKEND_DATA_H_
7
8 #include <common/utils/property.h>
9 #include <pkgmgrinfo_basic.h>
10 #include <pkgmgr_parser.h>
11 #include <wgt_manifest_handlers/setting_handler.h>
12
13 #include <string>
14 #include <vector>
15
16 #include "wgt/wgt_backend_data.h"
17
18 namespace hybrid {
19
20 class HybridBackendData : public wgt::WgtBackendData {
21  public:
22   HybridBackendData() { }
23   ~HybridBackendData() override {
24     if (tpk_manifest_data.get())
25       pkgmgr_parser_free_manifest_xml(tpk_manifest_data.get());
26   }
27
28   Property<manifest_x*> tpk_manifest_data;
29 };
30
31 }  // namespace hybrid
32
33 #endif  // HYBRID_HYBRID_BACKEND_DATA_H_
34