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 CUSBOTGSERVER_H
24 #define CUSBOTGSERVER_H
29 // Receives client requests
30 class CUsbOtgServer : public CServer2
33 friend class CUsbOtgSession;
35 static CUsbOtgServer* NewLC();
36 virtual ~CUsbOtgServer();
46 virtual CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const;
47 TInt RunError(TInt aError);
57 #endif // CUSBOTGSERVER_H