homescreensrv_plat/activity_framework_api/afactivation.h
changeset 107 b34d53f6acdf
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
       
     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 #ifndef AFACTIVATION_H
       
    18 #define AFACTIVATION_H
       
    19 
       
    20 #include "afactivities_global.h"
       
    21 
       
    22 #include <QObject>
       
    23 #include <QString>
       
    24 #include <QStringList>
       
    25 #include <QVariant>
       
    26 
       
    27 class AfActivationPrivate;
       
    28 
       
    29 class AFACTIVITIES_EXPORT AfActivation : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32     
       
    33 public:
       
    34     AfActivation(QObject *parent = 0);
       
    35     
       
    36 signals:
       
    37     void activated(Af::ActivationReason reason, QString name, QVariantHash parameters);
       
    38     
       
    39 public slots:
       
    40     QVariantHash parameters() const;
       
    41     Af::ActivationReason reason() const;
       
    42     QString name() const;
       
    43         
       
    44 private:
       
    45     AfActivationPrivate *d_ptr;
       
    46 
       
    47 };
       
    48 
       
    49 #endif // AFACTIVATION_H