|
1 /* |
|
2 * Copyright (c) 2004-2010 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 the License "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: IAD update handling. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // Version : %version: 1 % |
|
20 |
|
21 |
|
22 #ifndef CMPXVIDEOPLAYERIADUPDATE_H |
|
23 #define CMPXVIDEOPLAYERIADUPDATE_H |
|
24 |
|
25 #include <e32std.h> |
|
26 |
|
27 class MMPXViewUtility; |
|
28 |
|
29 |
|
30 /** |
|
31 * This class handles IAD update. |
|
32 */ |
|
33 NONSHARABLE_CLASS( CMpxVideoPlayerIadUpdate ) : public CBase |
|
34 { |
|
35 |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @param aViewUtility Reference to view utility |
|
41 */ |
|
42 static CMpxVideoPlayerIadUpdate* NewL( MMPXViewUtility& aViewUtility ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CMpxVideoPlayerIadUpdate(); |
|
48 |
|
49 public: // New methods |
|
50 |
|
51 /** |
|
52 * Start IAD update process. |
|
53 */ |
|
54 void StartL(); |
|
55 |
|
56 private: // Constructors and destructor |
|
57 |
|
58 /** |
|
59 * C++ default constructor. |
|
60 * @param aViewUtility Reference to view utility |
|
61 */ |
|
62 CMpxVideoPlayerIadUpdate( MMPXViewUtility& aViewUtility ); |
|
63 |
|
64 /** |
|
65 * By default Symbian 2nd phase constructor is private. |
|
66 */ |
|
67 void ConstructL(); |
|
68 |
|
69 private: // Data |
|
70 |
|
71 /** |
|
72 * Reference to view utility. |
|
73 */ |
|
74 MMPXViewUtility& iViewUtility; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // CMPXVIDEOPLAYERIADUPDATE_H |
|
79 |