#include "dpm-toolkit.h"
#define handler_display_input_popup(title, selected_policy) \
-if(global_popup.popup_flag == 0) { \
+if (global_popup.popup_flag == 0) { \
display_input_popup(title, selected_policy); \
return POLICY_RESULT_NONE; \
} \
-else \
+else \
global_popup.popup_flag = 0;
#define handler_display_radio_popup(title, selected_policy, radio_text, row) \
-if(global_popup.popup_flag == 0) { \
+if (global_popup.popup_flag == 0) { \
display_radio_popup(title, selected_policy, radio_text, row); \
return POLICY_RESULT_NONE; \
} \
appdata_s* global_ad;
-typedef struct dpm_toolkit_entity{
+typedef struct dpm_toolkit_entity {
char* id;
int (*handler)(struct dpm_toolkit_entity* self);
xmlNodePtr model;
char* entry_input;
int radio_index;
-}dpm_toolkit_entity_t;
+} dpm_toolkit_entity_t;
typedef struct dpm_toolkit_policy_group {
char* id;
GList* policies;
-}dpm_toolkit_policy_group_t;
+} dpm_toolkit_policy_group_t;
typedef struct popup_data {
Evas_Object* popup;