equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 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 "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: Telephony Multimedia Service |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TMSSYNCVOL_H |
|
19 #define TMSSYNCVOL_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <e32property.h> |
|
24 #include <sounddevice.h> |
|
25 #include "tmsclientserver.h" |
|
26 |
|
27 namespace TMS { |
|
28 |
|
29 // CLASS DECLARATION |
|
30 class TMSSyncVol |
|
31 { |
|
32 public: |
|
33 // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Two-phased constructor. |
|
37 */ |
|
38 static TMSSyncVol* NewL(); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 virtual ~TMSSyncVol(); |
|
44 |
|
45 public: |
|
46 // New functions |
|
47 |
|
48 void SetSyncVol(TBool syncvol = ETrue); |
|
49 |
|
50 private: |
|
51 |
|
52 /** |
|
53 * C++ default constructor. |
|
54 */ |
|
55 TMSSyncVol(); |
|
56 |
|
57 /** |
|
58 * By default Symbian 2nd phase constructor is private. |
|
59 */ |
|
60 void ConstructL(); |
|
61 |
|
62 private: |
|
63 gint iVolume; //Volume |
|
64 }; |
|
65 |
|
66 } //namespace TMS |
|
67 |
|
68 #endif // TMSSYNCVOL_H |
|
69 |
|
70 // End of File |
|