diff -r 1934667b0e2b -r 4b59561a31c0 cbsatplugin/atmisccmdplugin/inc/cgsncommandhandler.h --- a/cbsatplugin/atmisccmdplugin/inc/cgsncommandhandler.h Wed Sep 15 12:23:51 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). - * All rights reserved. - * This component and the accompanying materials are made available - * under the terms of "Eclipse Public License v1.0" - * which accompanies this distribution, and is available - * at the URL "http://www.eclipse.org/legal/epl-v10.html". - * Initial Contributors: - * Nokia Corporation - initial contribution. - * - * Contributors: - * - * Description : - * - * CGSNCommandHandler class declaration for AT+CGSN command - * - */ - -#ifndef CGSNCOMMANDHANDLER_H -#define CGSNCOMMANDHANDLER_H - -#include "atcmdsyncbase.h" - -#include - -/** - * AT+CGSN command handler implementation class - */ -NONSHARABLE_CLASS( CCGSNCommandHandler ) : public CATCmdSyncBase - { -public: - static CCGSNCommandHandler* NewL(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone); - ~CCGSNCommandHandler(); - -public: - void SetSerialNum(const TDesC8& aSerial); - void SetTelephonyError(TInt aTelError); - -private: // methods from CATCmdSyncBase - virtual void HandleCommand( const TDesC8& aCmd, RBuf8& aReply, TBool aReplyNeeded ); - -private: - CCGSNCommandHandler(MATMiscCmdPlugin* aCallback, TAtCommandParser& aATCmdParser, RMobilePhone& aPhone); - void ConstructL(); - -private: - TInt iTelError; - TBuf8 iSN; - - RBuf8 iReply; - }; - -#endif /* CGSNCOMMANDHANDLER_H */