1 /** |
|
2 * Copyright (c) 2010 Sasken Communication Technologies Ltd. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Manasij Roy, Nalina Hariharan |
|
14 * |
|
15 * Description: |
|
16 * Private class implemented for implicit sharing of SmfMusicProfile class |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef SMFMUSICPROFILE_P_H_ |
|
21 #define SMFMUSICPROFILE_P_H_ |
|
22 |
|
23 |
|
24 #include <smftrackinfo.h> |
|
25 #include <smfevent.h> |
|
26 #include <QSharedData> |
|
27 |
|
28 class SmfMusicProfilePrivate : public QSharedData |
|
29 { |
|
30 public: |
|
31 /** |
|
32 * Constructor |
|
33 */ |
|
34 SmfMusicProfilePrivate( ) { |
|
35 m_usage.clear(); |
|
36 m_interest.clear(); |
|
37 m_events.clear(); |
|
38 m_profileId.clear(); |
|
39 } |
|
40 |
|
41 /** |
|
42 * Copy Consturctor |
|
43 * @param aOther The reference object to be copy constructed |
|
44 */ |
|
45 SmfMusicProfilePrivate( const SmfMusicProfilePrivate &aOther ) : |
|
46 QSharedData ( aOther ), |
|
47 m_usage ( aOther.m_usage ), |
|
48 m_interest ( aOther.m_interest ), |
|
49 m_events ( aOther.m_events ), |
|
50 m_profileId ( aOther.m_profileId ) { } |
|
51 |
|
52 /** |
|
53 * Destructor |
|
54 */ |
|
55 ~SmfMusicProfilePrivate( ) |
|
56 { |
|
57 } |
|
58 |
|
59 QList<SmfTrackInfo> m_usage; // usage tracks |
|
60 QList<SmfTrackInfo> m_interest; // interested tracks |
|
61 QList<SmfEvent> m_events; // events list |
|
62 QString m_profileId; // profile Id |
|
63 |
|
64 }; |
|
65 |
|
66 #endif /* SMFMUSICPROFILE_P_H_ */ |
|