emailuis/nmailui/inc/nmuiextensionmanager.h
changeset 18 578830873419
child 23 2dc6caa42ec3
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     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 NMUIEXTENSIONMANAGER_H_
       
    19 #define NMUIEXTENSIONMANAGER_H_
       
    20 
       
    21 #include <QList>
       
    22 
       
    23 #include "nmuidef.h"
       
    24 
       
    25 class NmAction;
       
    26 class NmActionRequest;
       
    27 class NmUiExtensionInterface;
       
    28 class QPluginLoader;
       
    29 
       
    30 
       
    31 class NMUI_EXPORT NmUiExtensionManager
       
    32 {
       
    33 public:
       
    34 
       
    35     NmUiExtensionManager();
       
    36     virtual ~NmUiExtensionManager();
       
    37 
       
    38     void getActions(
       
    39         const NmActionRequest &menuRequest,
       
    40         QList<NmAction*> &actionList);
       
    41 
       
    42 private:
       
    43     void loadExtensionPlugins();
       
    44 
       
    45     QList<NmUiExtensionInterface*> mExtensions;
       
    46     QList<QPluginLoader *> mPluginLoaders;
       
    47 
       
    48 };
       
    49 
       
    50 
       
    51 #endif /* NMUIEXTENSIONMANAGER_H_ */