defaultapplicationsettings/service/src/das_service.cpp
branchRCL_3
changeset 13 90fe62538f66
parent 12 3fec62e6e7fc
child 14 5f281e37a2f5
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  This class defines the service used to change the default app.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "das_service.h"
       
    20 
       
    21 
       
    22 // ======== MEMBER FUNCTIONS ========
       
    23 
       
    24 
       
    25 const TUid KDefaultAppServiceUid = { 0x10281B9D };
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // Sends SetDefault message to the server
       
    29 // ---------------------------------------------------------------------------
       
    30 //        
       
    31 TInt RDefaultAppService::SetDefault( TInt aFlags )
       
    32     {
       
    33     return SendReceive( ESetDefaultAll, TIpcArgs( aFlags ) );
       
    34     }
       
    35         
       
    36 // ---------------------------------------------------------------------------
       
    37 // From class RApaAppServiceBase.
       
    38 // Returns the uid of the service
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 TUid RDefaultAppService::ServiceUid() const
       
    42     {
       
    43     return KDefaultAppServiceUid;
       
    44     }