ncdengine/provider/protocol/inc/ncd_cp_serverdetails.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:57:02 +0200
branchRCL_3
changeset 15 51c0f5edf5ef
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   MNcdConfigurationProtocolServerDetails declaration
*
*/


#ifndef M_NCDCONFIGURATIONPROTOCOLSERVERDETAILS_H
#define M_NCDCONFIGURATIONPROTOCOLSERVERDETAILS_H

#include <e32base.h>

class MNcdConfigurationProtocolDetail;

class MNcdConfigurationProtocolServerDetails
    {
public:
    
    /**
     * Destructor
     */
    virtual ~MNcdConfigurationProtocolServerDetails() {}

    /**
     * Server details version
     * @return Version or KNullDesC
     */
    virtual const TDesC& Version() const = 0;
    
    /**
     * Amount of details
     * @return Details count
     */
    virtual TInt DetailCount() const = 0;
    
    /**
     * Get details element
     * @param aIndex Details index. Leaves if index is out of bounds.
     * @return Details object reference.
     * @see DetailCount()
     */
    virtual const MNcdConfigurationProtocolDetail& DetailL( 
        TInt aIndex ) const = 0;

    /**
     * Amount of capabilities
     * @return Capability count
     */
    virtual TInt CapabilityCount() const = 0;
    
    /**
     * Get capability element
     * @param aIndex Capability index. Leaves if index is out of bounds.
     * @return Capability object reference.
     * @see CapabilityCount()
     */
    virtual const TDesC& CapabilityL( 
        TInt aIndex ) const = 0;
    };


#endif // M_NCDCONFIGURATIONPROTOCOLSERVERDETAILS_H