Check if widget's shared/res/ entry is directory
[platform/core/appfw/wgt-backend.git] / src / wgt / wgt_backend_data.h
1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
4
5 #ifndef WGT_WGT_BACKEND_DATA_H_
6 #define WGT_WGT_BACKEND_DATA_H_
7
8 #include <common/installer_context.h>
9 #include <common/utils/property.h>
10
11 #include <wgt_manifest_handlers/appwidget_handler.h>
12 #include <wgt_manifest_handlers/setting_handler.h>
13
14 #include <string>
15 #include <vector>
16
17 namespace wgt {
18
19 /**
20  * \brief Class that is used within specific backends to keep additional
21  *        information regarding package
22  */
23 class WgtBackendData : public common_installer::BackendData {
24  public:
25   /**
26    * \brief Property of SettingInfo
27    */
28   Property<parse::SettingInfo> settings;
29
30   Property<parse::AppWidgetInfo> appwidgets;
31 };
32
33 }  // namespace wgt
34
35 #endif  // WGT_WGT_BACKEND_DATA_H_