servicediscoveryandcontrol/pnp/test/testplugin/inc/testpnpconstants.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #ifndef __TESTPNPCONSTANTS_H_
       
    18 #define __TESTPNPCONSTANTS_H_
       
    19 
       
    20 /**
       
    21 This is the tier id value which must be specified whenever the user wants to open a TestPnP Service Point or Control Point. 
       
    22 This is the parameter which must be specified in the RPnPServicePublisher::Open or RPnPServiceDiscovery::Open APIs
       
    23 */
       
    24 
       
    25 const TUint KTestPnPInterface  = 0x2025D054;
       
    26 
       
    27 
       
    28 //implementation uid for discovery 
       
    29 const TUint KTestPnPDiscoveryUid = 0x2025DC69;
       
    30 
       
    31 //implementation uid for publisher
       
    32 const TUint KTestPnPPublisherUid = 0x2025DC6A;
       
    33 
       
    34 //implementation uid for params factory
       
    35 const TInt KTestPnPParamsFactoryUid = 0x2001D05E;
       
    36 
       
    37 
       
    38 //TestPnP panic codes
       
    39 enum TTestPnPPanic
       
    40 	{
       
    41 	KTestPnPErrNotOpen = 1 , //Set the starting error code.
       
    42 	KTestPnPErrNoObserver,
       
    43 	KTestPnPErrInvalidFamilyCount,
       
    44 	KTestPnPErrInvalidFamily,
       
    45 	KTestPnPErrNoParamSet,
       
    46 	KTestPnPErrDiscoveryInProgress,
       
    47 	KTestPnPErrPublish,
       
    48 	KTestPnPErrResponseUriNotFound,
       
    49 	};
       
    50 
       
    51 
       
    52 #endif //__TESTPNPCONSTANTS_H_
       
    53 
       
    54