Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / remotecontrol.h
index 1a50d999d5108864ce53b85ed96d981514dd060b..ac338aef5195774b6675072d346453527242c3e9 100644 (file)
@@ -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();