connectivitylayer/isce/isinameservice_dll/inc/misicommunicationmanagerif.h
author mikaruus
Tue, 19 Oct 2010 13:16:20 +0300
changeset 9 8486d82aef45
parent 5 8ccc39f9d787
permissions -rw-r--r--
modemadaptation release 2010wk40

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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: 
*
*/



#ifndef __MISICOMMUNICATIONMANAGERIF_H__
#define __MISICOMMUNICATIONMANAGERIF_H__


/*
* Abstract interface for communication manager to use nameservice.
*/
class MISICommunicationManagerIf
    {

    public:
    
        /*
        * Checks if client is registered as a resource.
        * @return name table status
        */
        IMPORT_C static TBool IsValidResource( const TDesC8& aMessage );

        /*
        * Returns device identifier where the resource is located. 
        * @param aResourceIdentifier
        * @return Device Identifier of the resource
        */
        IMPORT_C static TUint8 GetDeviceIdentifierByResource( const TUint32 aResourceIdentifier );

    };

#endif /* __MISICOMMUNICATIONMANAGERIF_H__ */