ui/commandhandlers/commandhandlerbase/inc/glxcommandhandler.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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 GLXCOMMANDHANDLER_H
       
    19 #define GLXCOMMANDHANDLER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QModelIndex>
       
    23 
       
    24 #ifdef BUILD_COMMANDHANDLERBASE
       
    25 #define GLX_COMMANDHANDLERBASE_EXPORT Q_DECL_EXPORT
       
    26 #else
       
    27 #define GLX_COMMANDHANDLERBASE_EXPORT Q_DECL_IMPORT
       
    28 #endif
       
    29 
       
    30 class GLX_COMMANDHANDLERBASE_EXPORT GlxCommandHandler : public QObject
       
    31 {
       
    32 public:
       
    33     GlxCommandHandler();
       
    34     virtual ~GlxCommandHandler();
       
    35     virtual void executeCommand(int commandId,int collectionId ,QList<QModelIndex> indexList = QList<QModelIndex>() ) = 0;
       
    36     
       
    37 };
       
    38 #endif //GLXCOMMANDHANDLER_H