equal
deleted
inserted
replaced
|
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 } |