[mythtv] ToggleInputs() in TV class

John Hurliman jhurliman at myrealbox.com
Thu Jul 3 01:11:47 EDT 2003


Isaac I spoke to you yesterday in IRC about adding the ability to toggle
inputs from an external control with a TV object (versus the TVRec
object). The patch was a simple one-liner to declare ToggleInputs()
public instead of private in the TV class. Here's the patch for
convenience. I haven't ran in to any problems with this but if there's a
good reason why ToggleInputs() has to be privately declared report back
and I'll scheme up something new :).

jph


Index: tv_play.h
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/tv_play.h,v
retrieving revision 1.33
diff -u -r1.33 tv_play.h
--- tv_play.h	19 Jun 2003 06:34:28 -0000	1.33
+++ tv_play.h	3 Jul 2003 02:05:07 -0000
@@ -77,6 +77,8 @@
     void AddPreviousChannel(void);
     void PreviousChannel(void);

+    void ToggleInputs(void);
+
   protected slots:
     void SetPreviousChannel(void);

@@ -104,9 +106,7 @@
     void ChangeDeinterlacer();
  
     void ChannelKey(int key);
-    void ChannelCommit(void);
-
-    void ToggleInputs(void);
+    void ChannelCommit(void); 

     void DoInfo(void);
     void DoPause(void);



More information about the mythtv-dev mailing list