ui/commandhandlers/commoncommandhandlers/inc/glxcommandhandlereditimage.h
changeset 50 a0f57508af73
child 54 0f0f3f26f787
equal deleted inserted replaced
45:863223ea6961 50:a0f57508af73
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GlxCommandHandlerEditImage_H_
       
    19 #define GlxCommandHandlerEditImage_H_
       
    20 
       
    21 
       
    22 #include <glxmodelcommandhandler.h>
       
    23 #include <xqappmgr.h>               // for XQApplicationManager
       
    24 
       
    25 #ifdef BUILD_COMMONCOMMANDHANDLERS
       
    26 #define GLX_COMMONCOMMANDHANDLERS_EXPORT Q_DECL_EXPORT
       
    27 #else
       
    28 #define GLX_COMMONCOMMANDHANDLERS_EXPORT Q_DECL_IMPORT
       
    29 #endif
       
    30 
       
    31 //Forward Declaration
       
    32 class XQAiwRequest;
       
    33 
       
    34 class GLX_COMMONCOMMANDHANDLERS_EXPORT GlxCommandHandlerEditImage : public GlxModelCommandHandler
       
    35 {
       
    36   
       
    37 public:
       
    38     GlxCommandHandlerEditImage();
       
    39     ~GlxCommandHandlerEditImage();
       
    40     void executeCommand(int commandId,int collectionId, QList<QModelIndex> indexList = QList<QModelIndex>() );
       
    41     void doHandleUserAction(GlxMediaModel* model,QList<QModelIndex> indexList) const ;
       
    42 
       
    43 private:
       
    44     XQAiwRequest* mReq;
       
    45     XQApplicationManager mAppmgr;
       
    46 };
       
    47 
       
    48 
       
    49 #endif /* GlxCommandHandlerEditImage_H_ */