videocollection/tsrc/stubs/inc/videoservices.h
changeset 66 adb51f74b890
parent 44 518105d52e45
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
    13 *
    13 *
    14 * Description:   VideoServices class definition
    14 * Description:   VideoServices class definition
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: %
    18 // Version : %version: 4 %
    19 
    19 
    20 #ifndef __VIDEOSERVICES_H__
    20 #ifndef __VIDEOSERVICES_H__
    21 #define __VIDEOSERVICES_H__
    21 #define __VIDEOSERVICES_H__
    22 
    22 
    23 /**
    23 /**
    36 class VideoPlayerEngine;
    36 class VideoPlayerEngine;
    37 
    37 
    38 class VideoServices : public QObject
    38 class VideoServices : public QObject
    39 {
    39 {
    40     Q_OBJECT
    40     Q_OBJECT
       
    41 
       
    42     Q_DISABLE_COPY( VideoServices )
    41 
    43 
    42     public:
    44     public:
    43 
    45 
    44         /**
    46         /**
    45          * Returns singleton instance for this class.
    47          * Returns singleton instance for this class.
   121         /**
   123         /**
   122          * Destructor.
   124          * Destructor.
   123          */
   125          */
   124         virtual ~VideoServices();
   126         virtual ~VideoServices();
   125     
   127     
       
   128     public:
   126         void setEngine( VideoPlayerEngine* engine );
   129         void setEngine( VideoPlayerEngine* engine );
   127     
   130     
   128         /**
   131         /**
   129          * Sets the active service
   132          * Sets the active service
   130          * @param service
   133          * @param service
   134         /**
   137         /**
   135          * Returns the current engine
   138          * Returns the current engine
   136          * @return engine
   139          * @return engine
   137          */
   140          */
   138         VideoPlayerEngine* engine();
   141         VideoPlayerEngine* engine();
   139     
       
   140         Q_DISABLE_COPY( VideoServices )
       
   141     
   142     
   142     private:
   143     private:
   143     
   144     
   144         /**
   145         /**
   145          * Reference count.
   146          * Reference count.