Update contrib.
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.
14 // Implements an Active Scheduler for the server to use
22 #ifndef __CUSBSCHEDULER_H__
23 #define __CUSBSCHEDULER_H__
27 class CUsbMassStorageServer;
30 * Implements an Active Scheduler for the server to use. This is necessary
31 * in order to provide an Error() function which does something useful instead
34 class CUsbMassStorageScheduler : public CActiveScheduler
37 static CUsbMassStorageScheduler* NewL();
38 ~CUsbMassStorageScheduler();
40 void SetServer(CUsbMassStorageServer& aServer);
43 inline CUsbMassStorageScheduler() {};
45 // from CActiveScheduler
46 void Error(TInt aError) const;
49 CUsbMassStorageServer* iMsServer;
52 #endif //__CUSBMASSSTORAGESCHEDULER_H__