X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fremotecontrol.h;h=ac338aef5195774b6675072d346453527242c3e9;hb=e6b185e4309d5f1d0c70d1d16079a5d32b7e67e2;hp=d2b96ed696b07fe13bf5fa4cf349f5f3a2a73b6b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/remotecontrol.h b/cinelerra-5.1/cinelerra/remotecontrol.h index d2b96ed6..ac338aef 100644 --- a/cinelerra-5.1/cinelerra/remotecontrol.h +++ b/cinelerra-5.1/cinelerra/remotecontrol.h @@ -1,3 +1,23 @@ +/* + * CINELERRA + * Copyright (C) 2016-2020 William Morrow + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + #ifndef _REMOTECONTROL_H_ #define _REMOTECONTROL_H_ @@ -45,7 +65,12 @@ public: int color; void activate() { gui->set_active(this); } - virtual int remote_process_key(RemoteControl *remote_control, int key) { return -1; } + virtual int remote_key(int key); + virtual int process_key(int key); + + virtual int is_keytv() { return 0; } + virtual int is_wintv() { return 0; } + virtual int is_x10tv() { return 0; } RemoteHandler(RemoteGUI *gui, int color); virtual ~RemoteHandler();