ui/commandhandlers/commoncommandhandlers/inc/glxcommandhandlercropimage.h
changeset 49 f291796e213d
equal deleted inserted replaced
48:d0b4e67b3a60 49:f291796e213d
       
     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 GLXCOMMANDHANDLERCROPIMAGE_H_
       
    19 #define GLXCOMMANDHANDLERCROPIMAGE_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 GlxCommandHandlerCropImage : public GlxModelCommandHandler
       
    35 {
       
    36   
       
    37 public:
       
    38     GlxCommandHandlerCropImage();
       
    39     ~GlxCommandHandlerCropImage();
       
    40     void doHandleUserAction(GlxMediaModel* model,QList<QModelIndex> indexList) const ;
       
    41 
       
    42 private:
       
    43     mutable XQAiwRequest* mReq;
       
    44     mutable XQApplicationManager mAppmgr;
       
    45 };
       
    46 
       
    47 
       
    48 #endif /* GLXCOMMANDHANDLERCROPIMAGE_H_ */