mediasettings/videosettingsplugin/tsrc/testaccesspointentry/stub/inc/cmconnectionmethod_shim.h
changeset 46 adbe7d5ba2f5
equal deleted inserted replaced
28:c48470be1ba7 46:adbe7d5ba2f5
       
     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: CmConnectionMethodShim stub
       
    15  * 
       
    16  */
       
    17 
       
    18 #ifndef CMCONNECTIONMETHOD_SHIM_H
       
    19 #define CMCONNECTIONMETHOD_SHIM_H
       
    20 
       
    21 #include <qstring.h>
       
    22 #include <qhash.h>
       
    23 #include "cmmanager_shim.h"
       
    24 
       
    25 class CmConnectionMethodShim
       
    26 {
       
    27 
       
    28 public:
       
    29 
       
    30     /*!
       
    31      *  Constructor.
       
    32      *  
       
    33      *  @param[in] cm CM Manager connection method object.
       
    34      */
       
    35     CmConnectionMethodShim(uint id, uint iapId, QString name);
       
    36 
       
    37     /*!
       
    38      *  Destructor.
       
    39      */
       
    40     ~CmConnectionMethodShim();
       
    41     
       
    42     uint getIntAttribute(
       
    43         CMManagerShim::ConnectionMethodAttribute attribute) const;
       
    44 
       
    45     QString getStringAttribute(
       
    46         CMManagerShim::ConnectionMethodAttribute attribute) const;
       
    47     
       
    48 public: // data
       
    49     
       
    50     QHash<CMManagerShim::ConnectionMethodAttribute, QVariant> mAttributes;
       
    51     
       
    52 };
       
    53 
       
    54 #endif /* CMCONNECTIONMETHOD_SHIM_H */