--- a/localconnectivityservice/lccustomplugin/inc/lclistallcmd.h Fri Feb 19 23:43:38 2010 +0200
+++ b/localconnectivityservice/lccustomplugin/inc/lclistallcmd.h Fri Mar 12 15:46:58 2010 +0200
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* 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"
@@ -11,24 +11,15 @@
*
* Contributors:
*
-* Description: Handles the commands "AT+CLAC?" and "AT+CLAC"
+* Description: Handles the commands "AT+CLAC=?" and "AT+CLAC"
*
*/
-
#ifndef C_LCLISTALLCMD_H
#define C_LCLISTALLCMD_H
#include "lccustomplugin.h"
-/** Handler types for the two AT commands */
-enum TCmdHandlerType
- {
- ECmdHandlerTypeUndefined,
- ECmdHandlerTypeQuery, // For command "AT+CLAC=?"
- ECmdHandlerTypeList // For command "AT+CLAC"
- };
-
/**
* Class for handling commands "AT+CLAC=?" and "AT+CLAC"
*
@@ -58,6 +49,25 @@
void ConstructL();
/**
+ * Checks command types
+ *
+ * @since TB9.2
+ * @param aCmd Command to check
+ * @return ETrue if command understood, EFalse otherwise
+ */
+ TBool CheckCommand( const TDesC8& aCmd );
+
+ /**
+ * Main command handler (leaving version)
+ *
+ * @since TB9.2
+ * @return ETrue if command understood, EFalse otherwise
+ */
+ TBool HandleCommandL();
+
+// from base class MLcCustomPluginBase
+
+ /**
* Reports the support status of an AT command. This is a synchronous API.
*
* @param aCmd The AT command. Its format may vary depending on the
@@ -126,6 +136,11 @@
*/
TCmdHandlerType iCmdHandlerType;
+ /**
+ * Detected command
+ */
+ TDetectedCmd iDetectedCmd;
+
};
#endif // C_LCLISTALLCMD_H