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: Music Player MPX common definitions. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPMPXCOMMONDEFS_H |
|
19 #define MPMPXCOMMONDEFS_H |
|
20 |
|
21 #include <QMetaType> |
|
22 |
|
23 // Disk events from MPX Framework. |
|
24 enum MpxDiskEvents { |
|
25 DiskFormatStarted, |
|
26 DiskFormatEnded, |
|
27 DiskRemoved, |
|
28 DiskInserted |
|
29 }; |
|
30 // Register so type can be used in signal and slot connection |
|
31 Q_DECLARE_METATYPE(MpxDiskEvents) |
|
32 |
|
33 // USB events from MPX Framework. |
|
34 enum MpxUsbEvents { |
|
35 UsbMassStorageStarted, |
|
36 UsbMassStorageEnded, |
|
37 UsbMtpStarted, |
|
38 UsbMtpEnded, |
|
39 UsbMtpNotActive |
|
40 }; |
|
41 // Register so type can be used in signal and slot connection |
|
42 Q_DECLARE_METATYPE(MpxUsbEvents) |
|
43 |
|
44 #endif // MPMPXCOMMONDEFS_H |
|
45 |