radioapp/radiopresetstorage/inc/radiopresetstorage.h
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 14 63aabac4416d
parent 32 189d20c34778
--- a/radioapp/radiopresetstorage/inc/radiopresetstorage.h	Fri Jun 11 16:24:13 2010 +0100
+++ b/radioapp/radiopresetstorage/inc/radiopresetstorage.h	Thu Jul 22 16:33:45 2010 +0100
@@ -20,6 +20,8 @@
 
 // System includes
 #include <QtGlobal>
+#include <QList>
+#include <QScopedPointer>
 
 #include "radiopresetstorageexport.h"
 
@@ -29,7 +31,7 @@
 
 class STORAGE_DLL_EXPORT RadioPresetStorage
 {
-    Q_DECLARE_PRIVATE_D( d_ptr, RadioPresetStorage )
+    Q_DECLARE_PRIVATE_D( d_ptr.data(), RadioPresetStorage )
     Q_DISABLE_COPY( RadioPresetStorage )
 
 public:
@@ -44,13 +46,14 @@
     bool deletePreset( int presetIndex );
     bool savePreset( const RadioStationIf& station );
     bool readPreset( int index, RadioStationIf& station );
+    void readFrequencies( QList<uint>& frequencyList );
 
 private: // data
 
     /**
      * Unmodifiable pointer to the private implementation
      */
-    RadioPresetStoragePrivate* const d_ptr;
+    const QScopedPointer<RadioPresetStoragePrivate> d_ptr;
 
 };