X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frecord.h;h=d99a72546693f3ac6eb6b35126c8aa0b430b7a70;hp=76e1bd52876ab4c169dec76cfe28b79e0e9503da;hb=32a609a6bd1181993569399ab51f314dc7cb4fba;hpb=3b4b6f588c4f2643316afcbc486ca6a35c16a431 diff --git a/cinelerra-5.1/cinelerra/record.h b/cinelerra-5.1/cinelerra/record.h index 76e1bd52..d99a7254 100644 --- a/cinelerra-5.1/cinelerra/record.h +++ b/cinelerra-5.1/cinelerra/record.h @@ -233,7 +233,9 @@ public: int commercial_jobs(); void clear_keybfr(); void add_key(int ch); - int remote_process_key(RemoteControl *remote_control, int key); + int record_process_key(RemoteControl *remote_control, int key); + int wintv_process_code(int code); + int x10tv_process_code(int code); int spawn(const char *fmt, ...); void display_video_text(int x, int y, const char *text, int font, int bg_color, int color, int alpha, double secs, double scale); @@ -357,14 +359,17 @@ public: ~RecordSchedule() { remove_all_objects(); } }; -class RecordRemoteHandler : public RemoteHandler +class RecordKeyEvHandler : public RemoteHandler { public: - int remote_process_key(RemoteControl *remote_control, int key); + int remote_key(int key); int spawn(const char *fmt, ...); - RecordRemoteHandler(RemoteControl *remote_control); - ~RecordRemoteHandler(); + RecordKeyEvHandler(RemoteControl *remote_control); + ~RecordKeyEvHandler(); + int is_keytv() { return 1; } + + RemoteControl *remote_control; }; class RecordCutAdsStatus : public Thread