realtimenetprots/sipfw/ClientResolver/Resolver/inc/sipclientresolverconfig.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2007-2009 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 * Name          : sipclientresolverconfig.h
       
    16 * Part of       : SIP / SIP Client Resolver
       
    17 * Version       : SIP/6.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSIPCLIENTRESOLVERCONFIG_H
       
    29 #define CSIPCLIENTRESOLVERCONFIG_H
       
    30 
       
    31 //  INCLUDES
       
    32 #include <e32base.h>
       
    33 #include <centralrepository.h>
       
    34 
       
    35 // FORWARD DECLARATIONS
       
    36 
       
    37 // CLASS DECLARATION
       
    38 /**
       
    39 * A class for retrieving SIP Client Resolver plug-in UIDs for a username.
       
    40 * @lib sipresolver.lib
       
    41 */
       
    42 NONSHARABLE_CLASS(CSipClientResolverConfig) : public CBase
       
    43     {
       
    44     public:  // Constructors and destructor
       
    45 
       
    46         static CSipClientResolverConfig* NewL();
       
    47         
       
    48         static CSipClientResolverConfig* NewLC();        
       
    49 
       
    50         ~CSipClientResolverConfig();
       
    51 
       
    52     public: // New functions
       
    53     
       
    54         void GetUIDsForUserNameL(
       
    55             const TDesC8& aUserName,
       
    56             RArray<TUid>& aUids);
       
    57 
       
    58     private: // Second phase constructors
       
    59 	
       
    60         CSipClientResolverConfig();
       
    61         void ConstructL();	    
       
    62 	    
       
    63     private: // Data
       
    64 
       
    65         CRepository* iCenRep;
       
    66         
       
    67     private: // For testing pruposes
       
    68 #ifdef CPPUNIT_TEST
       
    69         friend class CSipClientResolverConfigTest;
       
    70 #endif
       
    71     };
       
    72 
       
    73 #endif // CSIPCLIENTRESOLVERCONFIG_H
       
    74 
       
    75 // End of File