cbsref/telephonyrefplugins/atltsy/atcommand/generic/inc/atunsolicited.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
child 21 4814c5a49428
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file atunsolicited.h
       
    15 // 
       
    16 
       
    17 #ifndef ATUNSOLICITED_H_
       
    18 #define ATUNSOLICITED_H_
       
    19 
       
    20 //system include
       
    21 
       
    22 //user include
       
    23 #include "atcommandbase.h"
       
    24 #include "unsolicitedparams.h"
       
    25 
       
    26 class CATUnsolicited : public CAtCommandBase
       
    27 	{
       
    28 public:
       
    29 	/**
       
    30 	 * 
       
    31 	 * 
       
    32 	 */
       
    33 	static CATUnsolicited* NewL(CGlobalPhonemanager& aGloblePhone,
       
    34 			                    CCtsyDispatcherCallback& aCtsyDispatcherCallback);
       
    35 	
       
    36 	/**
       
    37 	 * 
       
    38 	 * 
       
    39 	 */
       
    40 	static CATUnsolicited* NewLC(CGlobalPhonemanager& aGloblePhone,
       
    41 			                     CCtsyDispatcherCallback& aCtsyDispatcherCallback);
       
    42 			                     
       
    43 	
       
    44 	/**
       
    45 	 * 
       
    46 	 * 
       
    47 	 */
       
    48 	virtual ~CATUnsolicited();
       
    49 	
       
    50 	/**
       
    51 	 * 
       
    52 	 * 
       
    53 	 * 
       
    54 	 */
       
    55 	virtual void ExecuteCommand(){};
       
    56 	
       
    57 	/**
       
    58 	 * 
       
    59 	 * 
       
    60 	 */
       
    61 	virtual void CancelCommand(){};
       
    62 	
       
    63 	/**
       
    64 	 * 
       
    65 	 * 
       
    66 	 */
       
    67 	virtual void ParseResponseL(const TDesC8& aResponseBuf);
       
    68 	
       
    69 	/**
       
    70 	 * 
       
    71 	 * 
       
    72 	 */
       
    73 	TInt GetParserResult() const;	
       
    74 	
       
    75 	/**
       
    76 	 * 
       
    77 	 * 
       
    78 	 */
       
    79 	const TDesC8& GetUnsolicitedParams() const;
       
    80 protected:
       
    81 	/**
       
    82 	 * 
       
    83 	 * 
       
    84 	 */
       
    85 	CATUnsolicited(CGlobalPhonemanager& aGloblePhone,
       
    86 				   CCtsyDispatcherCallback& aCtsyDispatcherCallback);	
       
    87 	
       
    88 	/**
       
    89 	 * 
       
    90 	 * 
       
    91 	 */
       
    92 	void ConstructL();
       
    93 	
       
    94 private:
       
    95 	/**
       
    96 	 * 
       
    97 	 * 
       
    98 	 */
       
    99 	TUnsolicitedParams::TUnsolicitedParamsPckgBuf iPckgBuf;
       
   100 	
       
   101 	/**
       
   102 	 * 
       
   103 	 * 
       
   104 	 * 
       
   105 	 */
       
   106 	TInt iResult;
       
   107 	};
       
   108 
       
   109 #endif /*ATUNSOLICITED_H_*/