contentstorage/cahandler/tapp/inc/catapphandler.h
changeset 61 8e5041d13c84
child 66 32469d7d46ff
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
       
     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:  Default implementation of the tapp handler
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CATAPPHANDLER_H
       
    19 #define CATAPPHANDLER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include "cahandler.h"
       
    23 #include "cadefs.h"
       
    24 
       
    25 class CaEntry;
       
    26 class XQApplicationManager;
       
    27 
       
    28 const QString hsitemLaunchUri("item:launchuri");
       
    29 
       
    30 class CaTappHandler: public CaHandler
       
    31 {
       
    32 Q_OBJECT
       
    33 
       
    34 public:
       
    35 
       
    36 explicit    CaTappHandler(QObject *parent = 0);
       
    37     ~CaTappHandler();
       
    38 
       
    39     Q_INVOKABLE
       
    40     int execute(const CaEntry& entry, const QString& command);
       
    41 
       
    42 private:
       
    43     XQApplicationManager* mAiwMgr;
       
    44 
       
    45 };
       
    46 
       
    47 #endif