diff -r 11b6825f0862 -r 3a6b55c6390c common/radio_global.h --- a/common/radio_global.h Tue Jul 06 14:16:27 2010 +0300 +++ b/common/radio_global.h Wed Aug 18 09:49:03 2010 +0300 @@ -29,8 +29,6 @@ */ const int FREQUENCY_MULTIPLIER = 1000000; -const int ONE_HERTZ = FREQUENCY_MULTIPLIER; - /** * Desired amount of steps in the volume control in the UI */ @@ -42,6 +40,14 @@ const int DEFAULT_VOLUME_LEVEL = 4; /** + * UIDs for checking the offline mode + * Values copied from CoreApplicationUIsSDKCRKeys.h + */ +const long int CENREP_CORE_APPLICATION_UIS = 0x101F876C; +const unsigned long int ID_NETWORK_CONNECTION_ALLOWED = 0x00000001; +enum NetworkConnectionAllowed { NetworkNotAllowed = 0, NetworkAllowed }; + +/** * Roles used when interacting with the radio station model */ namespace RadioRole @@ -105,16 +111,6 @@ }; } -namespace Scroll -{ - enum Direction - { - Shortest, - Left, - Right - }; -} - namespace StationSkip { enum Mode @@ -142,7 +138,8 @@ StationScan, StationScanFinalize, StationScanNoStationsFound, - SkipFromEngine + SkipFromEngine, + SkipFromWidget }; }