os/kernelhwsrv/userlibandfileserver/fileserver/smassstorage/inc/cactivedevicestatenotifierbase.h
Update contrib.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Class declaration for Device State.Notifier Base Class
25 #ifndef CACTIVEDEVICESTATENOTIFIERBASE_H
26 #define CACTIVEDEVICESTATENOTIFIERBASE_H
29 #include "cbulkonlytransport.h"
31 #include "cusbmassstoragecontroller.h"
33 class CActiveDeviceStateNotifierBase : public CActive
37 static CActiveDeviceStateNotifierBase* NewL(CBulkOnlyTransport& aBot,
38 MLddDeviceStateNotification& aLddDeviceStateNotification);
41 ~CActiveDeviceStateNotifierBase();
47 CActiveDeviceStateNotifierBase(CBulkOnlyTransport& aBot,
48 MLddDeviceStateNotification& aLddDeviceStateNotification);
52 // Defined as pure virtual by CActive;
53 // implementation provided by this class.
54 virtual void DoCancel();
56 // Service completed request.
57 // Defined as pure virtual by CActive;
58 // implementation provided by this class,
62 CBulkOnlyTransport& iBot;
63 MLddDeviceStateNotification& iLddDeviceStateNotification;
65 TUint iOldDeviceState;