|
1 /* |
|
2 * Copyright (c) 2002-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: A helper interface to be used by S60 applications for |
|
15 * setting ringing and alert tones for different profiles. |
|
16 * Registers DRM protected tones as automated content |
|
17 * and removes old content from automated content list. |
|
18 * Shows a content activation query if necessary. |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 // INCLUDE FILES |
|
25 #include "CProfileToneHandler.h" |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS =============================== |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // CProfileToneHandler::DrmConstructL |
|
31 // 2nd phase construct for DRM objects. Empty implementation. |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 void CProfileToneHandler::DrmConstructL() |
|
35 { |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CProfileToneHandler::ReleaseDrm |
|
40 // Destructor for DRM objects. Empty implementation. |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 void CProfileToneHandler::ReleaseDrm() |
|
44 { |
|
45 } |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // CProfileToneHandler::CheckProtectedFileL |
|
49 // Empty implementation. |
|
50 // ----------------------------------------------------------------------------- |
|
51 // |
|
52 TInt CProfileToneHandler::CheckProtectedFileL( const TDesC& /*aFileName*/ ) |
|
53 { |
|
54 return KErrNone; |
|
55 } |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // CProfileToneHandler::CanSetAutomated |
|
59 // Empty implementation. |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 TBool CProfileToneHandler::CanSetAutomated( const TDesC& /*aFileName*/ ) |
|
63 { |
|
64 return EFalse; |
|
65 } |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // CProfileToneHandler::AskAutomated |
|
69 // Empty implementation. |
|
70 // ----------------------------------------------------------------------------- |
|
71 // |
|
72 TInt CProfileToneHandler::AskAutomated( const TDesC& /*aFileName*/ ) |
|
73 { |
|
74 return KErrNone; |
|
75 } |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // CProfileToneHandler::SetAutomated |
|
79 // Empty implementation. |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 TInt CProfileToneHandler::SetAutomated( TProfileTones /* aToneSetting */, |
|
83 const TDesC& /*aFileName*/ ) |
|
84 { |
|
85 return KErrNone; |
|
86 } |
|
87 |
|
88 // ----------------------------------------------------------------------------- |
|
89 // CProfileToneHandler::RemoveAutomated |
|
90 // Empty implementation. |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 void CProfileToneHandler::RemoveAutomated( const TDesC& /*aFileName*/ ) |
|
94 { |
|
95 } |
|
96 |
|
97 // ----------------------------------------------------------------------------- |
|
98 // CProfileToneHandler::IsProtected |
|
99 // Empty implementation. |
|
100 // ----------------------------------------------------------------------------- |
|
101 // |
|
102 TBool CProfileToneHandler::IsProtected( const TDesC& /*aFileName*/ ) const |
|
103 { |
|
104 return EFalse; |
|
105 } |
|
106 |
|
107 // End of File |