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 RUSBOTGSESSION_H
24 #define RUSBOTGSESSION_H
26 static const TUid KUsbOtgServerUid3 = {0x101fe1db};
28 class RUsbOtgSession : public RSessionBase
31 IMPORT_C RUsbOtgSession();
32 IMPORT_C RUsbOtgSession(TInt aParam);
34 IMPORT_C TInt Connect();
36 IMPORT_C TBool DeviceInserted();
37 IMPORT_C void NotifyChange(TBool& aChanged, TRequestStatus& aStatus);
38 IMPORT_C TInt NotifyChangeCancel();
39 IMPORT_C TInt BusDrop();
43 TVersion Version() const;
47 #endif // RUSBOTGSESSION_H