#ifndef __WIN32REPL_A_H #define __WIN32REPL_A_H #include #include #include <5D/Values> namespace REPLX { struct REPL; //bool REPL_execute(struct REPL* self, const char* command, T destination); }; namespace GUI { using namespace REPLX; void REPL_init(struct REPL* self, HWND parent); struct REPL* REPL_new(HWND parent); //void REPL_add_to_environment(struct REPL* self, AST::NodeT definition); bool REPL_save(struct REPL* self, bool B_force_save_dialog); void REPL_load(struct REPL* self); HWND REPL_get_window(struct REPL* self); HWND REPL_get_search_window(struct REPL* self); HWND REPL_get_definition_window(struct REPL* self); PHANDLE REPL_get_waiting_handles(struct REPL* REPL, DWORD* handleCount); bool interrupted_P(void); bool REPL_load_contents_by_name(struct REPL* self, const char* name); } #endif /* ndef __WIN32REPL_A_H */