author | Tom Pritchard <tomp@symbian.org> |
Fri, 16 Jul 2010 17:42:23 +0100 | |
branch | AT_Test_LTSY |
changeset 51 | 6012a0dcf61c |
parent 1 | 4047d69ee0e4 |
permissions | -rw-r--r-- |
1
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// CCommReader. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
#ifndef __COMMREADER_H__ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
#define __COMMREADER_H__ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
#include <e32base.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
class MCommObserver; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
class CCommEngine; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
class CCommReader : public CActive |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
public: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
CCommReader(CCommEngine* aComm, TInt aPriority); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
virtual ~CCommReader(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
void Activate(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
TRequestStatus& StatusRef(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
protected: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
virtual void RunL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
virtual void DoCancel(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
private: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
CCommEngine* iComm; //Not owned |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
}; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
#endif |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |