installationservices/swcomponentregistry/inc_private/scr_internal.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
child 27 e8965914fac7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     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 the License "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 * SCR Internal client which should be used to implement all internal functions
       
    16 * to the SCR server.
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @internalComponent
       
    23  @released
       
    24 */
       
    25 
       
    26 #ifndef SCR_INTERNAL_H
       
    27 #define SCR_INTERNAL_H
       
    28 
       
    29 namespace Usif {
       
    30 
       
    31 NONSHARABLE_CLASS(RScrInternalClient) : public RScsClientBase
       
    32     {
       
    33     /**
       
    34      * This client should be used to implement all internal functions to the SCR server.
       
    35      */
       
    36 public:
       
    37     
       
    38     IMPORT_C RScrInternalClient();
       
    39         
       
    40     IMPORT_C TInt Connect();
       
    41 
       
    42     IMPORT_C void Close();
       
    43     
       
    44     /**
       
    45          Generates a new Application Uid which can be used to register a non native application.
       
    46                   
       
    47          @return An unused UID if available, else a NULL TUid object is returned. 
       
    48      */
       
    49     IMPORT_C TUid GenerateNewAppUidL() const;
       
    50 
       
    51     };
       
    52 
       
    53 } // namespace Usif
       
    54 
       
    55 #endif // SCR_INTERNAL_H