common/radio_global.h
changeset 39 ac7857bd5fdb
parent 38 f8c3d4e6102c
child 51 bbebb0235466
equal deleted inserted replaced
38:f8c3d4e6102c 39:ac7857bd5fdb
    27 /**
    27 /**
    28  * Radio frequency multiplier
    28  * Radio frequency multiplier
    29  */
    29  */
    30 const int FREQUENCY_MULTIPLIER = 1000000;
    30 const int FREQUENCY_MULTIPLIER = 1000000;
    31 
    31 
    32 const int ONE_HERTZ = FREQUENCY_MULTIPLIER;
       
    33 
       
    34 /**
    32 /**
    35  * Desired amount of steps in the volume control in the UI
    33  * Desired amount of steps in the volume control in the UI
    36  */
    34  */
    37 const int MAXIMUM_VOLUME_LEVEL = 20;
    35 const int MAXIMUM_VOLUME_LEVEL = 20;
    38 
    36 
   108     enum Status
   106     enum Status
   109     {
   107     {
   110         NotScanning,
   108         NotScanning,
   111         ScanningInMainView,
   109         ScanningInMainView,
   112         ScanningInStationsView
   110         ScanningInStationsView
   113     };
       
   114 }
       
   115 
       
   116 namespace Scroll
       
   117 {
       
   118     enum Direction
       
   119     {
       
   120         Shortest,
       
   121         Left,
       
   122         Right
       
   123     };
   111     };
   124 }
   112 }
   125 
   113 
   126 namespace StationSkip
   114 namespace StationSkip
   127 {
   115 {