equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 "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: Base class for sync commands. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef ATCMDSYNCBASE_H |
|
19 #define ATCMDSYNCBASE_H |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <etelmm.h> |
|
23 #include "atcommandparser.h" |
|
24 #include "atcmdbase.h" |
|
25 #include "atmisccmdplugin.h" |
|
26 |
|
27 /** |
|
28 * Abstract base class for sync AT command handler interface. |
|
29 * It can not be instantiated individually as it doesn't fully |
|
30 * implement MATCmdBase. |
|
31 */ |
|
32 NONSHARABLE_CLASS( CATCmdSyncBase ) : public CBase, |
|
33 public MATCmdBase |
|
34 { |
|
35 public: |
|
36 virtual ~CATCmdSyncBase() {}; |
|
37 CATCmdSyncBase(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone); |
|
38 |
|
39 // From MATCmdBase |
|
40 virtual void HandleCommandCancel(); |
|
41 |
|
42 protected: |
|
43 MATMiscCmdPlugin* iCallback; |
|
44 TAtCommandParser& iATCmdParser; |
|
45 RMobilePhone& iPhone; |
|
46 }; |
|
47 |
|
48 #endif // ATCMDSYNCBASE_H |