+ app_manager_event_h app_status_handle_;
+
+ JsonCallback event_callback_;
+ JsonCallback status_callback_;
+ std::map<std::string, event_handler_h> event_handler_map_;
+ static void OnEvent(const char* event_name, bundle* event_data, void* user_data);
+ static void OnStatusEvent(const char* type, const char* app_id,
+ app_manager_event_type_e event_type,
+ app_manager_event_state_e event_state, app_manager_event_h handle,
+ void* user_data);
+
+#ifdef TIZEN_MOBILE
+ static common::PlatformResult GetContextHistory(
+ const picojson::value& args, picojson::object* out,
+ common::PlatformResult (*)(const picojson::value&, const context_history_filter_h,
+ context_history_data_e* data_type),
+ common::PlatformResult (*)(const context_history_record_h, picojson::object*));
+
+ static common::PlatformResult BatteryUsageFilter(const picojson::value&,
+ const context_history_filter_h,
+ context_history_data_e* data_type);
+ static common::PlatformResult BatteryUsageAttributes(const context_history_record_h,
+ picojson::object*);
+
+ static common::PlatformResult AppsUsageFilter(const picojson::value&,
+ const context_history_filter_h,
+ context_history_data_e* data_type);
+ static common::PlatformResult AppsUsageAttributes(const context_history_record_h,
+ picojson::object*);
+#endif