camerauis/cameraxui/cxui/stubs_desktop/inc/afactivation.h
changeset 64 8ab66fc302e6
equal deleted inserted replaced
61:fc3ff57d09ad 64:8ab66fc302e6
       
     1 /*
       
     2 * Copyright (c) 2010 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 * Stub version of epoc32\include\platform\mw\afactivation.h to be used in desktop build.
       
    17 *
       
    18 */
       
    19 #ifndef AFACTIVATION_H
       
    20 #define AFACTIVATION_H
       
    21 
       
    22 
       
    23 #include <QObject>
       
    24 #include <QString>
       
    25 #include <QStringList>
       
    26 #include <QVariant>
       
    27 
       
    28 #include "afactivities_global.h"
       
    29 
       
    30 class AfActivation : public QObject
       
    31 {
       
    32     Q_OBJECT
       
    33 
       
    34 public:
       
    35     AfActivation(QObject *parent = 0) {}
       
    36 
       
    37 signals:
       
    38     void activated(Af::ActivationReason reason, QString name, QVariantHash parameters);
       
    39 
       
    40 public slots:
       
    41     QVariantHash parameters() const {return QVariantHash();}
       
    42     Af::ActivationReason reason() const {return Af::ActivationReasonNormal;}
       
    43     QString name() const {return "";}
       
    44 };
       
    45 
       
    46 #endif // AFACTIVATION_H