videoplayerapp/videoplayerengine/inc/videoserviceuri.h
branchRCL_3
changeset 22 839377eedc2b
equal deleted inserted replaced
21:315810614048 22: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 VideoServiceUri and VideoServiceUriMms
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 #ifndef __VIDEOSERVICEURI_H__
       
    21 #define __VIDEOSERVICEURI_H__
       
    22 
       
    23 #include <xqserviceprovider.h>
       
    24 #include <QObject>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class VideoServices;
       
    28 class VideoPlayerEngine;
       
    29 class QLatin1String;
       
    30 
       
    31 class VideoServiceUri : public XQServiceProvider
       
    32     {
       
    33     Q_OBJECT
       
    34 
       
    35     public:
       
    36         VideoServiceUri( VideoServices *parent, VideoPlayerEngine* engine, QLatin1String service );
       
    37         virtual ~VideoServiceUri();
       
    38 
       
    39         void setEngine( VideoPlayerEngine* engine );
       
    40 
       
    41     public slots:
       
    42         bool view( QString uri );
       
    43 
       
    44     private:
       
    45         VideoPlayerEngine* mEngine;
       
    46         VideoServices* mServiceApp;
       
    47     };
       
    48 	
       
    49 #endif //__VIDEOSERVICEURI_H__