--- a/localconnectivityservice/dun/atext/inc/DunAtCmdPusher.h Tue Apr 27 17:33:22 2010 +0300
+++ b/localconnectivityservice/dun/atext/inc/DunAtCmdPusher.h Tue May 11 17:01:49 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2008-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"
@@ -63,6 +63,14 @@
*/
virtual TBool NotifyNextCommandPeekRequest() = 0;
+ /**
+ * Notifies about editor mode reply
+ *
+ * @since TB9.2
+ * @return Symbian error code on error, KErrNone otherwise
+ */
+ virtual TInt NotifyEditorModeReply() = 0;
+
};
/**
@@ -120,10 +128,11 @@
* Starts AT command handling
*
* @since S60 5.0
- * @param aCommand AT command to handle
+ * @param aCommand AT command or editor mode input to handle
+ * @param aNormalMode ETrue if request issue for normal mode
* @return Symbian error code on error, KErrNone otherwise
*/
- TInt IssueRequest( TDesC8& aCommand );
+ TInt IssueRequest( TDesC8& aCommand, TBool aNormalMode=ETrue );
/**
* Stops AT command handling
@@ -151,6 +160,14 @@
*/
void SetEndOfCmdLine();
+ /**
+ * Gets the editor mode status
+ *
+ * @since TB9.2
+ * @return ETrue if in editor mode, EFalse otherwise
+ */
+ TBool EditorMode();
+
private:
CDunAtCmdPusher( RATExt* aAtCmdExt,
@@ -197,6 +214,38 @@
void SendReplyData( TBool aRecvBuffer=ETrue );
/**
+ * Manages change in reply type to EReplyTypeOther
+ *
+ * @since TB9.2
+ * @return None
+ */
+ void ManageReplyTypeChangeToOther();
+
+ /**
+ * Manages change in reply type to EReplyTypeOk
+ *
+ * @since TB9.2
+ * @return None
+ */
+ void ManageReplyTypeChangeToOk();
+
+ /**
+ * Manages change in reply type to EReplyTypeError
+ *
+ * @since TB9.2
+ * @return None
+ */
+ void ManageReplyTypeChangeToError();
+
+ /**
+ * Manages change in reply type to EReplyTypeEditor
+ *
+ * @since TB9.2
+ * @return None
+ */
+ void ManageReplyTypeChangeToEditor();
+
+ /**
* Manages change in reply type
*
* @since S60 5.0
@@ -313,6 +362,11 @@
*/
TBool iStop;
+ /**
+ * Flag indicating if in editor mode
+ */
+ TBool iEditorMode;
+
};
#endif // C_CDUNATCMDPUSHER_H