|
1 /* |
|
2 * Copyright (c) 2004 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: Implementation for DRM functionality. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PSLNCALLIMAGEPLUGINDRM_H |
|
20 #define PSLNCALLIMAGEPLUGINDRM_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <MMGFetchVerifier.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CDRMHelper; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Implementation for DRM functionality. |
|
33 * |
|
34 * @since 3.1 |
|
35 * |
|
36 * @internal |
|
37 */ |
|
38 class CPslnCallImagePluginDRM : public CBase, public MMGFetchVerifier |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 static CPslnCallImagePluginDRM* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CPslnCallImagePluginDRM(); |
|
51 |
|
52 public: // Functions from base classes |
|
53 |
|
54 /** |
|
55 * From MFLDFileObserver. Verifies that the selected image can be set. |
|
56 */ |
|
57 TBool VerifySelectionL( const MDesCArray* aSelectedFiles ); |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * C++ default constructor. |
|
63 */ |
|
64 CPslnCallImagePluginDRM(); |
|
65 |
|
66 /** |
|
67 * By default Symbian 2nd phase constructor is private. |
|
68 */ |
|
69 void ConstructL(); |
|
70 |
|
71 void CPslnCallImagePluginDRM::ShowErrorNoteL( TInt aResourceId ) const; |
|
72 |
|
73 private: // Data |
|
74 |
|
75 // Own: DRM helper |
|
76 CDRMHelper* iDRMHelper; |
|
77 |
|
78 }; |
|
79 |
|
80 #endif // PSLNCALLIMAGEPLUGINDRM_H |
|
81 |
|
82 // End of File |