|
1 /* |
|
2 * Copyright (c) 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MUSMANAGERSERVERITCUTILITY_H |
|
20 #define MUSMANAGERSERVERITCUTILITY_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "musmanagercommon.h" |
|
25 #include "musmanageripccommon.h" |
|
26 #include "musmanagerserversessionobserver.h" |
|
27 |
|
28 class RMessage2; |
|
29 class TRequestStatus; |
|
30 |
|
31 /** |
|
32 * This static class contains the very essential starting functions |
|
33 * of MusManagerServer |
|
34 * |
|
35 * @since S60 v3.2 |
|
36 */ |
|
37 class MusManagerServerItcUtility |
|
38 { |
|
39 public: // new functions |
|
40 |
|
41 static void WriteAvailabilityL( |
|
42 const RMessage2& aMessage, |
|
43 TInt aAvailability ); |
|
44 |
|
45 static void WriteAvailabilityReportL( |
|
46 const RMessage2& aMessage, |
|
47 TInt aAvailability ); |
|
48 |
|
49 static TUid ReadChannelIdL( const RMessage2& aMessage ); |
|
50 |
|
51 static TInt ReadUseCaseL( const RMessage2& aMessage ); |
|
52 |
|
53 static TInt ReadCommandL( const RMessage2& aMessage ); |
|
54 |
|
55 static TRequestStatus ReadRequestStatusL( const RMessage2& aMessage ); |
|
56 |
|
57 private: |
|
58 |
|
59 static void WriteL ( |
|
60 TMusManagerIpcArguments aIndex, |
|
61 const RMessage2& aMessage, |
|
62 const TDesC8& aDes ); |
|
63 }; |
|
64 |
|
65 #endif // MUSMANAGERSERVERITCUTILITY_H |