equal
deleted
inserted
replaced
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: Interface and a base class for CMIDClip and CMIDTone. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "CMIDSoundImpl.h" |
|
20 #include "CMIDSoundEvent.h" |
|
21 #include "com_nokia_mid_sound_Sound.h" |
|
22 |
|
23 CMIDSoundImpl::~CMIDSoundImpl() |
|
24 { |
|
25 |
|
26 } |
|
27 |
|
28 CMIDSoundImpl::CMIDSoundImpl(MMIDEventSender* aEventSender) |
|
29 { |
|
30 iEventSender = aEventSender; |
|
31 } |
|
32 |
|
33 void CMIDSoundImpl::ConstructL() |
|
34 { |
|
35 |
|
36 } |
|
37 |
|
38 void CMIDSoundImpl::Resume() |
|
39 { |
|
40 if (iPlayed && (iState == EReadyToPlay)) |
|
41 { |
|
42 Play(1); |
|
43 } |
|
44 } |
|