ui/commandhandlers/commoncommandhandlers/inc/glxcommandhandlerrotateimage.h
changeset 45 863223ea6961
equal deleted inserted replaced
44:aa2fa096cbfb 45:863223ea6961
       
     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 GLXCOMMANDHANDLERROTATEIMAGE_H_
       
    19 #define GLXCOMMANDHANDLERROTATEIMAGE_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 GlxCommandHandlerRotateImage : public GlxModelCommandHandler
       
    35 {
       
    36   
       
    37 public:
       
    38     GlxCommandHandlerRotateImage();
       
    39     ~GlxCommandHandlerRotateImage();
       
    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 /* GLXCOMMANDHANDLERROTATEIMAGE_H_ */