|
1 /* |
|
2 * Copyright (c) 2006 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: Videoteleng Camera Preferences extension |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CVTENGRECORD2FILE_H |
|
20 #define CVTENGRECORD2FILE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "VtEngPanic.h" |
|
24 #include "CVtEngSettings.h" |
|
25 #include "VtEngUtils.h" |
|
26 #include "CVtEngOperation.h" |
|
27 |
|
28 #include "cvtengr2ftoneplayer.h" |
|
29 |
|
30 #include <cvtlogger.h> |
|
31 #include <e32base.h> |
|
32 |
|
33 #include <mvtengrecord2file.h> |
|
34 #include "CVtEngExtensionBase.h" |
|
35 |
|
36 // FORWARD DECLARATIONS |
|
37 |
|
38 // CLASS DECLARATION |
|
39 class CVtEngR2FTonePlayer; |
|
40 /** |
|
41 * Videoteleng extension base class. |
|
42 * |
|
43 * @lib videoteleng.lib |
|
44 * @since S60 v3.2 |
|
45 */ |
|
46 NONSHARABLE_CLASS ( CVtEngRecord2File ): public CVtEngExtensionBase, |
|
47 public MVtEngRecord2File |
|
48 { |
|
49 public: //Constructor and destructor. |
|
50 |
|
51 /** |
|
52 * Symbian two-phase constructor. |
|
53 * @return engine extension instance |
|
54 */ |
|
55 static CVtEngRecord2File* NewL(); |
|
56 |
|
57 /** |
|
58 * Destructor. |
|
59 */ |
|
60 ~CVtEngRecord2File(); |
|
61 |
|
62 public: // from base class CVtEngExtensionBase |
|
63 |
|
64 /** |
|
65 * @see CVtEngExtensionBase::GetInterface |
|
66 */ |
|
67 virtual TAny* GetInterface(); |
|
68 |
|
69 /** |
|
70 * @see CVtEngExtensionBase::HandleL |
|
71 */ |
|
72 virtual TBool HandleL( CVtEngOperation* aOp ); |
|
73 |
|
74 /** |
|
75 * @see CVtEngExtensionBase::ValidateCommand |
|
76 */ |
|
77 virtual TBool ValidateCommand( const TVtEngCommandId aCommandId ); |
|
78 |
|
79 public: // from base class MVtEngRecord2File |
|
80 |
|
81 /** |
|
82 * For testin puposes only |
|
83 * @see MVtEngRecord2File::IsTonePlaySupported |
|
84 */ |
|
85 virtual TInt IsTonePlaySupported( TBool& aSupported) const; |
|
86 |
|
87 |
|
88 private: |
|
89 |
|
90 /** |
|
91 * C++ default constructor. |
|
92 */ |
|
93 CVtEngRecord2File(); |
|
94 |
|
95 /** |
|
96 * Symbian two-phase constructor. |
|
97 */ |
|
98 void ConstructL(); |
|
99 |
|
100 public: // data |
|
101 |
|
102 private: // data |
|
103 CVtEngR2FTonePlayer* iTonePlayer; |
|
104 }; |
|
105 |
|
106 #endif //CVTENGRECORD2FILE_H |