equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: Common definitios. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MPCOMMONDEFS_H |
|
21 #define MPCOMMONDEFS_H |
|
22 |
|
23 namespace MpCommon |
|
24 { |
|
25 // UID definition |
|
26 const long int KMusicPlayerUid = {0x10207C62}; |
|
27 const long int KCollectionViewUid = {0x10207C63}; |
|
28 const long int KPlaybackViewUid = {0x10207C64}; |
|
29 |
|
30 /*! |
|
31 Command code sent from the views to the application main window |
|
32 through command signal. |
|
33 */ |
|
34 enum MpCommandCode { |
|
35 Exit, |
|
36 ActivateCollectionView, |
|
37 ActivatePlaybackView |
|
38 }; |
|
39 |
|
40 /*! |
|
41 View's mode. |
|
42 DefaultView - Default mode; normal Music Player operation. |
|
43 FetchView - Music fetcher mode; launched through QtHighway interface. |
|
44 */ |
|
45 enum MpViewMode { |
|
46 DefaultView, |
|
47 FetchView |
|
48 }; |
|
49 } |
|
50 |
|
51 #endif // MPCOMMONDEFS_H |