qtinternetradio/irqcommon/inc/irqutility.h
changeset 3 ee64f059b8e1
parent 0 09774dfdd46b
child 14 896e9dbc5f19
equal deleted inserted replaced
2:2e1adbfc62af 3:ee64f059b8e1
    20 #include "irqenums.h"
    20 #include "irqenums.h"
    21 
    21 
    22 class IRQPreset;
    22 class IRQPreset;
    23 class CIRPreset;
    23 class CIRPreset;
    24 class CIRIsdsPreset; 
    24 class CIRIsdsPreset; 
    25 class CFbsBitmap;
       
    26 class QPixmap;
       
    27 class QString;
    25 class QString;
    28 
    26 
    29 class IRQUtility 
    27 class IRQUtility 
    30 {
    28 {
    31 public:
    29 public:
    45 
    43 
    46   IMPORT_C static bool isValidUrl(const QString& aUrl);
    44   IMPORT_C static bool isValidUrl(const QString& aUrl);
    47 
    45 
    48   IMPORT_C static bool openAdvLink(const QString& aUrl);
    46   IMPORT_C static bool openAdvLink(const QString& aUrl);
    49   
    47   
    50   /**
    48   IMPORT_C static bool openSongRecognition();
    51    * this function is only used when in debug mode, for it's a time costing operation
    49   
    52    */
    50   IMPORT_C static bool identifySongAvailable();
    53   IMPORT_C static void writeLog2File(const QString& aString, bool aDeleteOldFile = false);
    51   
    54 
       
    55 private:
    52 private:
    56   
    53   
    57   void static appendURLL(const IRQPreset& aQIRPreset, CIRIsdsPreset& aCIRIsdsPreset);
    54   static void appendURLL(const IRQPreset& aQIRPreset, CIRIsdsPreset& aCIRIsdsPreset);  
    58   bool static openAdvLinkL(const QString& aUrl);
       
    59 };
    55 };
    60 
    56 
    61 #endif
    57 #endif