First public contribution.
1 // Copyright (c) 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.
23 #ifndef CUSBHOSTSERVER_H
24 #define CUSBHOSTSERVER_H
29 // Receives client requests
30 class CUsbHostServer : public CServer2
33 friend class CUsbHostSession;
35 static CUsbHostServer* NewLC();
36 virtual ~CUsbHostServer();
46 virtual CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const;
47 TInt RunError(TInt aError);
57 #endif // CUSBHOSTSERVER_H