Author: jerome
Date: 2009-04-03 16:58:39 +0200 (Fri, 03 Apr 2009)
New Revision: 4335

Modified:
   
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/src/com/kysoh/tvPrograms/gadget/Configuration.java
Log:
* Added some parameters.

Modified: 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/src/com/kysoh/tvPrograms/gadget/Configuration.java
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/src/com/kysoh/tvPrograms/gadget/Configuration.java
   2009-04-03 14:50:23 UTC (rev 4334)
+++ 
software_suite_v2/software/gadgets/tuxdroid-gadget-programsTV/trunk/tuxdroid-gadget-programsTV/src/com/kysoh/tvPrograms/gadget/Configuration.java
   2009-04-03 14:58:39 UTC (rev 4335)
@@ -27,6 +27,10 @@
        
        private String channel = "Ketnet";
        private boolean giveProgramDescription = true;
+       private boolean giveMorning = true;
+       private boolean giveAfternoon = true;
+       private boolean giveEvening = true;
+       private boolean giveNowPlaying = true;
        
        
        /**
@@ -67,4 +71,84 @@
        {
                this.giveProgramDescription = give;
        }
+       
+       
+       /**
+        * Sets the 'now playing' parameter.
+        * @param aNowPlaying
+        */
+       public void setNowPlaying(boolean aNowPlaying)
+       {
+               this.giveNowPlaying = aNowPlaying;
+       }
+       
+       
+       /**
+        * Return true if user wants to hear the current played program.
+        * @return
+        */
+       public boolean getGiveNowPlaying()
+       {
+               return this.giveNowPlaying;
+       }
+       
+       
+       /**
+        * Set the 'give morning' parameter.
+        * @param aGiveMorning
+        */
+       public void setGiveMorning(boolean aGiveMorning)
+       {
+               this.giveMorning = aGiveMorning;
+       }
+       
+       
+       /**
+        * Return true if user wants to hear the morning program.
+        * @return
+        */
+       public boolean getGiveMorning()
+       {
+               return this.giveMorning;
+       }
+       
+       
+       /**
+        * Return true if user wants to hear the afternoon program.
+        * @return
+        */
+       public boolean getGiveAfternoon()
+       {
+               return this.giveAfternoon;
+       }
+       
+       
+       /**
+        * Set the afternnon parameter.
+        * @param aGiveAfternoon
+        */
+       public void setGiveAfternoon(boolean aGiveAfternoon)
+       {
+               this.giveAfternoon = aGiveAfternoon;
+       }
+       
+       
+       /**
+        * Return true if user wants to hear the evening prgrams.
+        * @return
+        */
+       public boolean getGiveEvening()
+       {
+               return this.giveEvening;
+       }
+       
+       
+       /**
+        * Set the 'give evening' parameter.
+        * @param aGiveEvening
+        */
+       public void setGiveEvening(boolean aGiveEvening)
+       {
+               this.giveEvening = aGiveEvening;
+       }
 }


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to