11 #ifndef HK_INTERPRETER
12 #define HK_INTERPRETER
130 virtual bool load_module(
const hk_string&)=0;
132 void set_block_execution(
bool);
133 bool block_execution(
void)
const;
151 enum enum_action{ a_before_row_change,
175 bool p_error_occured;
176 hk_string p_errormessage;
177 int p_error_rownumber;
180 bool p_block_execution;
215 virtual bool load_module(
const hk_string&);
218 bool warning_already_displayed;
260 virtual bool load_module(
const hk_string&);
265 void error_occured(enum_action action);
266 bool execute_script(
const hk_string& script,enum_action action);
267 hk_string pystatement(
void);
270 static int p_referencecounting;
305 #endif //HK_INTERPRETER
base class for widgets which show multi column data in a grid.
Definition: hk_dsgrid.h:26
virtual bool after_update(hk_dsvisible *)=0
virtual bool on_open(hk_visible *)
Definition: hk_interpreter.cpp:416
basic class for all other defined classes.
Definition: hk_class.h:52
virtual bool before_insert(hk_dsvisible *)=0
virtual bool before_update(hk_dsvisible *)=0
base class for visible widgets without column data connection
Definition: hk_dsvisible.h:31
virtual bool after_insert(hk_dsvisible *)
Definition: hk_interpreter.cpp:131
virtual bool on_loosefocus(hk_visible *)=0
virtual bool on_getfocus(hk_visible *)
Definition: hk_interpreter.cpp:177
basic dummy interpreter class that returns a warning message
Definition: hk_interpreter.h:191
virtual bool before_update(hk_dsvisible *)
Definition: hk_interpreter.cpp:321
virtual bool after_row_change(hk_dsvisible *)
Definition: hk_interpreter.cpp:398
structure of a column in a grid
Definition: hk_dsgridcolumn.h:29
virtual bool after_delete(hk_dsvisible *)
Definition: hk_interpreter.cpp:111
virtual bool on_doubleclick(hk_visible *)=0
virtual bool on_print_data(hk_reportdata *)=0
bool scripterror(void)
Definition: hk_interpreter.h:138
virtual bool before_row_change(hk_dsvisible *)
Definition: hk_interpreter.cpp:385
base class for lineedit fields
Definition: hk_dslineedit.h:24
virtual bool on_key(hk_visible *)
Definition: hk_interpreter.cpp:313
virtual bool on_click(hk_visible *)
Definition: hk_interpreter.cpp:138
virtual bool after_update(hk_dsvisible *)
Definition: hk_interpreter.cpp:98
Definition: hk_interpreter.cpp:32
virtual bool on_close(hk_visible *)
Definition: hk_interpreter.cpp:150
virtual bool on_print_new_page(hk_report *)
Definition: hk_interpreter.cpp:171
virtual bool on_loosefocus(hk_visible *)
Definition: hk_interpreter.cpp:183
virtual bool on_valuechanged(hk_dsdatavisible *)=0
virtual bool after_insert(hk_dsvisible *)
Definition: hk_interpreter.cpp:371
virtual bool on_print_data(hk_reportdata *)
Definition: hk_interpreter.cpp:434
virtual bool before_update(hk_dsvisible *)
Definition: hk_interpreter.cpp:92
virtual bool on_getfocus(hk_visible *)=0
virtual bool on_loosefocus(hk_visible *)
Definition: hk_interpreter.cpp:305
virtual bool on_close(hk_visible *)=0
Definition: hk_dsimage.h:20
virtual bool before_delete(hk_dsvisible *)
Definition: hk_interpreter.cpp:105
base class for boolean fields.
Definition: hk_dsboolean.h:25
virtual bool before_row_change(hk_dsvisible *)=0
virtual bool before_insert(hk_dsvisible *)
Definition: hk_interpreter.cpp:362
represents the data of a field within a section.
Definition: hk_reportdata.h:75
base class for memofields
Definition: hk_dsmemo.h:24
virtual bool on_click(hk_visible *)=0
virtual bool on_print_new_page(hk_report *)
Definition: hk_interpreter.cpp:442
virtual bool on_valuechanged(hk_dsdatavisible *)
Definition: hk_interpreter.cpp:425
int error_rownumber(void)
Definition: hk_interpreter.h:146
virtual bool before_delete(hk_dsvisible *)=0
base class for visible widgets
Definition: hk_visible.h:35
virtual bool after_update(hk_dsvisible *)
Definition: hk_interpreter.cpp:334
virtual bool on_close(hk_visible *)
Definition: hk_interpreter.cpp:407
virtual hk_string interpretername(void) const
Definition: hk_interpreter.h:150
virtual bool on_open(hk_visible *)
Definition: hk_interpreter.cpp:156
base class for multidatasource based classes like forms and reports
Definition: hk_presentation.h:40
virtual bool before_insert(hk_dsvisible *)
Definition: hk_interpreter.cpp:125
base class for visible widgets with data connection
Definition: hk_dsdatavisible.h:32
virtual bool before_row_change(hk_dsvisible *)
Definition: hk_interpreter.cpp:78
virtual bool on_click(hk_visible *)
Definition: hk_interpreter.cpp:282
basic class to create reports
Definition: hk_report.h:52
hk_string errormessage(void)
Definition: hk_interpreter.h:142
basic class for script handling
Definition: hk_interpreter.h:44
virtual bool on_key(hk_visible *)
Definition: hk_interpreter.cpp:189
virtual bool on_doubleclick(hk_visible *)
Definition: hk_interpreter.cpp:290
base class for combobox fields
Definition: hk_dscombobox.h:32
virtual bool before_delete(hk_dsvisible *)
Definition: hk_interpreter.cpp:343
virtual bool on_valuechanged(hk_dsdatavisible *)
Definition: hk_interpreter.cpp:118
virtual bool on_open(hk_visible *)=0
virtual hk_string interpretername(void) const
Definition: hk_interpreter.h:247
virtual bool on_getfocus(hk_visible *)
Definition: hk_interpreter.cpp:298
virtual bool after_insert(hk_dsvisible *)=0
virtual bool after_delete(hk_dsvisible *)=0
virtual bool after_row_change(hk_dsvisible *)=0
virtual bool on_print_data(hk_reportdata *)
Definition: hk_interpreter.cpp:163
virtual bool after_delete(hk_dsvisible *)
Definition: hk_interpreter.cpp:352
virtual bool on_doubleclick(hk_visible *)
Definition: hk_interpreter.cpp:144
virtual bool after_row_change(hk_dsvisible *)
Definition: hk_interpreter.cpp:85
virtual bool on_key(hk_visible *)=0
basic class for Python script handling
Definition: hk_interpreter.h:232
Definition: hk_dsdate.h:16
virtual bool on_print_new_page(hk_report *)=0