::elm_genlist_item_selected_set((Elm_Object_Item *) event, EINA_FALSE);
}
-void GraphicWorkbench::onPolicySelected(Evas_Object *obj, AbstractPolicy *policy, void *event) noexcept
+void GraphicWorkbench::onPolicySelected(Evas_Object *obj, AbstractPolicy *policy, void *event)
{
// Called after the Policy group is selected.
::elm_genlist_item_selected_set((Elm_Object_Item *) event, EINA_FALSE);
::dlog_print(DLOG_DEBUG, LOG_TAG, "Item pop");
}
-void GraphicWorkbench::createContents() noexcept
+void GraphicWorkbench::createContents()
{
// Create main view.
window = new ConformantWindow(pkgName);
int showConfirmPopup(const std::string& title, const std::string& msg);
private:
- void createContents() noexcept;
+ void createContents();
void onWorkbenchAction(Evas_Object *obj, WorkbenchActionDelegate *action, void *event);
- void onPolicySelected(Evas_Object *obj, AbstractPolicy *data, void *event) noexcept;
+ void onPolicySelected(Evas_Object *obj, AbstractPolicy *data, void *event);
void onPageDelete(Widget *widget);
private:
int main(int argc, char *argv[])
{
- int ret;
+ int ret = 0;
char *nullCheck =::strrchr(argv[0], '/');
std::unique_ptr<Workbench> workbench = NULL;
std::string name;
try {
workbench.reset(WorkbenchFactory::createInstance(name));
+ ret = workbench->run(argc, argv);
}
catch(runtime::Exception & e) {
::dlog_print(DLOG_ERROR, LOG_TAG, "%s", e.what());
return -1;
}
- ret = workbench->run(argc, argv);
PolicyCleaner::deletePolicies();
return ret;