Back to index

plt-scheme  4.2.1
wxsmred.h
Go to the documentation of this file.
00001 
00002 #ifndef MRED_EXTERN
00003 # define MRED_EXTERN extern
00004 #endif
00005 
00006 extern int mred_eventspace_param;
00007 extern int mred_event_dispatch_param;
00008 extern int mred_ps_setup_param;
00009 
00010 extern Scheme_Type mred_eventspace_type;
00011 
00012 extern Scheme_Object *MrEdGetFrameList(void);
00013 extern int MrEdCheckForBreak(void);
00014 extern Scheme_Object *MrEdEventspaceConfig(Scheme_Object *);
00015 extern Scheme_Object *MrEdEventspaceThread(Scheme_Object *e);
00016 
00017 extern Scheme_Object *MrEdMakeEventspace();
00018 extern int wxsIsContextShutdown(void *cx);
00019 
00020 extern Scheme_Object *wxsBundlePSSetup(wxPrintSetupData *d);
00021 extern wxPrintSetupData *wxsUnbundlePSSetup(Scheme_Object *s);
00022 
00023 extern void MrEd_add_q_callback(char *who, int argc, Scheme_Object **argv);
00024 void MrEdQueueInEventspace(void *context, Scheme_Object *thunk);
00025 extern Scheme_Object *MrEd_mid_queue_key;
00026 
00027 extern Scheme_Object *wxs_app_file_proc;
00028 extern Scheme_Object *wxs_app_quit_proc;
00029 extern Scheme_Object *wxs_app_about_proc;
00030 extern Scheme_Object *wxs_app_pref_proc;
00031 
00032 extern void *wxSchemeYield(void *sema);
00033 
00034 extern wxWindow *wxLocationToWindow(int x, int y);
00035 
00036 MRED_EXTERN void mred_wait_eventspace(void);
00037 
00038 MRED_EXTERN Scheme_Object *wxSchemeFindDirectory(int argc, Scheme_Object **argv);
00039 
00040 extern int wxGetPreference(const char *name, int *res);
00041 
00042 extern int wxIsUserMainEventspace(Scheme_Object *o);
00043 
00044 extern int mred_current_thread_is_handler(void *ctx);
00045 
00046 void wxscheme_early_gl_init(void);
00047 
00048 #ifdef MPW_CPLUS
00049 # define CAST_SP (Scheme_Prim *)
00050 #else
00051 # define CAST_SP 
00052 #endif