equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MUSUISTARTCONTROLLER_H |
|
20 #define MUSUISTARTCONTROLLER_H |
|
21 |
|
22 #include "musmanagercommon.h" |
|
23 #include "musunittesting.h" |
|
24 |
|
25 |
|
26 /** |
|
27 * Class to read startup parameter from publish & subscribe |
|
28 */ |
|
29 class MusUiStartController |
|
30 { |
|
31 |
|
32 private: // second phase constructors |
|
33 |
|
34 /** |
|
35 * Disable instantiation by declaring C++ constructor private. |
|
36 */ |
|
37 MusUiStartController(); |
|
38 |
|
39 |
|
40 public: // static new functions |
|
41 |
|
42 /** |
|
43 * Reads a P&S integer value from the category KCategoryUid |
|
44 * @pre P&S property KUseCase has to be defined. |
|
45 * @leave One of the system wide error codes, if RProperty::Get() |
|
46 * returns an error value. |
|
47 * @return Defined use case (TMusUseCase) for launching MUS. |
|
48 */ |
|
49 static MultimediaSharing::TMusUseCase ReadUseCaseL(); |
|
50 |
|
51 |
|
52 MUS_UNITTEST( UT_CMusUiStartController; ) |
|
53 |
|
54 }; |
|
55 |
|
56 #endif // MUSUISTARTCONTROLLER_H |
|
57 |
|
58 // end of file |