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=480b33298e78d227f7bb3ecb65fced361ab7ff79;hb=32a609a6bd1181993569399ab51f314dc7cb4fba;hpb=4c207ab325a8e8e6b79a9a18d4647273b5f59f93 diff --git a/cinelerra-5.1/cinelerra/record.h b/cinelerra-5.1/cinelerra/record.h index 480b3329..d99a7254 100644 --- a/cinelerra-5.1/cinelerra/record.h +++ b/cinelerra-5.1/cinelerra/record.h @@ -235,6 +235,7 @@ public: void add_key(int ch); 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); @@ -358,14 +359,15 @@ public: ~RecordSchedule() { remove_all_objects(); } }; -class RecordRemoteHandler : public RemoteHandler +class RecordKeyEvHandler : public RemoteHandler { public: - int process_key(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; };