os/kernelhwsrv/kerneltest/f32test/smassstorage/src/t_cusbmassstoragescheduler.cpp
First public contribution.
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include "cusbmassstoragescheduler.h"
17 #include "cusbmassstorageserver.h"
23 Creates a new Active scheduler
25 CUsbMassStorageScheduler* CUsbMassStorageScheduler::NewL()
27 return new(ELeave) CUsbMassStorageScheduler;
35 CUsbMassStorageScheduler::~CUsbMassStorageScheduler()
41 Give us a reference to the server
44 @param aServer A reference to the server
46 void CUsbMassStorageScheduler::SetServer(CUsbMassStorageServer& aServer)
52 Inform the server that an error has occurred
55 @param aError Error that has occurred
57 void CUsbMassStorageScheduler::Error(TInt aError) const
59 __PRINT1(_L("CUsbMassStorageScheduler::Error aError=%d"), aError);
63 iMsServer->Error(aError);