X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fremotecontrol.h;h=81ded5831c715a0bab2f8fc1616f93515cab3ccf;hp=1a50d999d5108864ce53b85ed96d981514dd060b;hb=HEAD;hpb=4c207ab325a8e8e6b79a9a18d4647273b5f59f93 diff --git a/cinelerra-5.1/cinelerra/remotecontrol.h b/cinelerra-5.1/cinelerra/remotecontrol.h index 1a50d999..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 process_key(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();