videoplayerapp/videoplayerengine/inc/videoserviceview.h
branchRCL_3
changeset 56 839377eedc2b
equal deleted inserted replaced
54:315810614048 56:839377eedc2b
       
     1 /* 
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved. 
       
     4 * This component and the accompanying materials are made available 
       
     5 * under the terms of "Eclipse Public License v1.0" 
       
     6 * which accompanies this distribution, and is available 
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 
       
     8 * 
       
     9 * Initial Contributors: 
       
    10 * Nokia Corporation - initial contribution. 
       
    11 * 
       
    12 * Contributors: 
       
    13 * 
       
    14 * Description:  Declaration of VideoServiceView 
       
    15 * 
       
    16 */ 
       
    17       
       
    18 // Version : %version: 3 % 
       
    19       
       
    20 #ifndef __VIDEOSERVICEVIEW_H__ 
       
    21 #define __VIDEOSERVICEVIEW_H__ 
       
    22    
       
    23 #include <xqserviceprovider.h> 
       
    24 #include <QObject> 
       
    25 #include <xqsharablefile.h> 
       
    26       
       
    27 // FORWARD DECLARATIONS 
       
    28 class VideoServices; 
       
    29 class VideoPlayerEngine; 
       
    30 class QFile; 
       
    31 class QLatin1String;
       
    32     
       
    33 class VideoServiceView : public XQServiceProvider 
       
    34 {       
       
    35     Q_OBJECT 
       
    36       
       
    37     public: 
       
    38     
       
    39         VideoServiceView( VideoServices *parent, 
       
    40                           VideoPlayerEngine* engine, 
       
    41                           QLatin1String service ); 
       
    42         
       
    43         virtual ~VideoServiceView(); 
       
    44      
       
    45         void setEngine( VideoPlayerEngine* engine ); 
       
    46       
       
    47     public slots: 
       
    48         bool view( QString file ); 
       
    49         bool view (XQSharableFile file); 
       
    50             
       
    51     private: 
       
    52         VideoPlayerEngine* mEngine; 
       
    53         VideoServices* mServiceApp; 
       
    54             
       
    55 }; 
       
    56       
       
    57 #endif //__VIDEOSERVICEVIEW_H__ 
       
    58