0
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef _ISIIFUSER_H_
|
|
20 |
#define _ISIIFUSER_H_
|
|
21 |
|
|
22 |
#include <e32cmn.h> // For RBusLogicalChannel
|
|
23 |
#include <misiif.h> // For MISIIf
|
|
24 |
|
|
25 |
/*
|
|
26 |
* Implementation for ISI user interface.
|
|
27 |
*/
|
|
28 |
NONSHARABLE_CLASS( RISIIf ) : public RBusLogicalChannel, public MISIIf
|
|
29 |
{
|
|
30 |
|
|
31 |
public:
|
|
32 |
|
|
33 |
/*
|
|
34 |
* Constructor.
|
|
35 |
* Panics if memory not available.
|
|
36 |
*/
|
|
37 |
static RISIIf* NewF( const TInt32 aUID, TUint8& aObjId );
|
|
38 |
|
|
39 |
/*
|
|
40 |
* Destructor
|
|
41 |
*/
|
|
42 |
~RISIIf();
|
|
43 |
|
|
44 |
// From MISIIf start
|
|
45 |
|
|
46 |
/*
|
|
47 |
* See comments from MISIIf
|
|
48 |
*/
|
|
49 |
void Receive( TRequestStatus& aRxStatus, TDes8& aRxMsg, TUint16& aNeededBufLen );
|
|
50 |
|
|
51 |
/*
|
|
52 |
* See comments from MISIIf
|
|
53 |
*/
|
|
54 |
void ReceiveCancel();
|
|
55 |
|
|
56 |
/*
|
|
57 |
* See comments from MISIIf
|
|
58 |
*/
|
|
59 |
void Release();
|
|
60 |
|
|
61 |
/*
|
|
62 |
* See comments from MISIIf
|
|
63 |
*/
|
|
64 |
TInt Send( const TDesC8& aTxMsg );
|
|
65 |
|
|
66 |
// From MISIIf end
|
|
67 |
|
|
68 |
private:
|
|
69 |
|
|
70 |
/**
|
|
71 |
* Private constructor.
|
|
72 |
* One reason for this is class size BC.
|
|
73 |
*/
|
|
74 |
RISIIf( const TInt32 aUID, TUint8& aObjId );
|
|
75 |
|
|
76 |
};
|
|
77 |
|
|
78 |
#endif // __ISIIFUSER_H__
|
|
79 |
|
|
80 |
// End of File
|