1 #ifndef EDGE_OVERLAY_H 2 #define EDGE_OVERLAY_H 3 4 #include "flt.h" 5 6 // if you change this, remember to change the mkdir in main too 7 #define EDGE_SAVE_DIR "A/CHDK/EDGE" 8 9 // Update version if changes are made to the module interface 10 #define EDGEOVERLAY_VERSION {2,0} 11 12 typedef struct 13 { 14 base_interface_t base; 15 16 void (*edge_overlay)(); 17 void (*load_edge_overlay)(const char* fn); 18 void (*save_edge_overlay)(void); 19 } libedgeovr_sym; 20 21 extern libedgeovr_sym* libedgeovr; 22 extern int module_restore_edge(void **buf); 23 extern void module_save_edge(void* buf, int state); 24 25 #endif