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 * Initial Contributors: |
|
9 * Nokia Corporation - initial contribution. |
|
10 * |
|
11 * Contributors: |
|
12 * |
|
13 * Description : |
|
14 * |
|
15 * CGMRCommandHandler class declaration for AT+CGMR command |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef CGMRCOMMANDHANDLER_H |
|
20 #define CGMRCOMMANDHANDLER_H |
|
21 |
|
22 |
|
23 #include "atcmdsyncbase.h" |
|
24 |
|
25 /** |
|
26 * AT+CGMR command handler implementation class |
|
27 */ |
|
28 NONSHARABLE_CLASS( CCGMRCommandHandler ) : public CATCmdSyncBase |
|
29 { |
|
30 public: |
|
31 static CCGMRCommandHandler* NewL(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone); |
|
32 ~CCGMRCommandHandler(); |
|
33 |
|
34 private: // methods from CATCmdSyncBase |
|
35 virtual void HandleCommand( const TDesC8& aCmd, RBuf8& aReply, TBool aReplyNeeded ); |
|
36 |
|
37 private: |
|
38 CCGMRCommandHandler(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone); |
|
39 void ConstructL(); |
|
40 |
|
41 TInt GetSoftwareVersion(); |
|
42 |
|
43 private: |
|
44 RBuf8 iReply; |
|
45 }; |
|
46 |
|
47 #endif /* CGMRCOMMANDHANDLER_H */ |
|