radioapp/radiopresetstorage/inc/radiopresetstorage.h
changeset 32 189d20c34778
parent 28 075425b8d9a4
child 37 451b2e1545b2
equal deleted inserted replaced
28:075425b8d9a4 32:189d20c34778
    19 #define RADIOPRESETSTORAGE_H_
    19 #define RADIOPRESETSTORAGE_H_
    20 
    20 
    21 // System includes
    21 // System includes
    22 #include <QtGlobal>
    22 #include <QtGlobal>
    23 #include <QList>
    23 #include <QList>
       
    24 #include <QScopedPointer>
    24 
    25 
    25 #include "radiopresetstorageexport.h"
    26 #include "radiopresetstorageexport.h"
    26 
    27 
    27 // Forward declarations
    28 // Forward declarations
    28 class RadioStationIf;
    29 class RadioStationIf;
    29 class RadioPresetStoragePrivate;
    30 class RadioPresetStoragePrivate;
    30 
    31 
    31 class STORAGE_DLL_EXPORT RadioPresetStorage
    32 class STORAGE_DLL_EXPORT RadioPresetStorage
    32 {
    33 {
    33     Q_DECLARE_PRIVATE_D( d_ptr, RadioPresetStorage )
    34     Q_DECLARE_PRIVATE_D( d_ptr.data(), RadioPresetStorage )
    34     Q_DISABLE_COPY( RadioPresetStorage )
    35     Q_DISABLE_COPY( RadioPresetStorage )
    35 
    36 
    36 public:
    37 public:
    37 
    38 
    38     RadioPresetStorage();
    39     RadioPresetStorage();
    50 private: // data
    51 private: // data
    51 
    52 
    52     /**
    53     /**
    53      * Unmodifiable pointer to the private implementation
    54      * Unmodifiable pointer to the private implementation
    54      */
    55      */
    55     RadioPresetStoragePrivate* const d_ptr;
    56     const QScopedPointer<RadioPresetStoragePrivate> d_ptr;
    56 
    57 
    57 };
    58 };
    58 
    59 
    59 #endif // RADIOPRESETSTORAGE_H_
    60 #endif // RADIOPRESETSTORAGE_H_