--- a/telephonyserverplugins/simatktsy/inc/CSatNotifySetUpIdleModeText.h Mon May 03 13:37:20 2010 +0300
+++ b/telephonyserverplugins/simatktsy/inc/CSatNotifySetUpIdleModeText.h Thu May 06 15:10:38 2010 +0100
@@ -1,134 +1,134 @@
-/*
-* Copyright (c) 2005-2009 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:
-* Name : CSatNotifySetUpIdleModeText.h
-* Part of : Common SIM ATK TSY / commonsimatktsy
-* Specific notifications class
-* Version : 1.0
-*
-*/
-
-
-
-#ifndef CSATNOTIFYSETUPIDLEMODETEXT_H
-#define CSATNOTIFYSETUPIDLEMODETEXT_H
-
-
-// INCLUDES
-#include <etelsat.h>
-#include "MSatNotificationsBase.h"
-
-// FORWARD DECLARATIONS
-class CSatDataPackage;
-class CSatNotificationsTsy;
-
-/**
-* DESCRIPTION
-* SAT Set Up Idle Mode Text notification class.
-* Created when client requests to be notified when Set Up Idle Mode Text
-* command arrives from SIM.
-*
-* @lib Commonsimatktsy
-* @since 3.1
-*/
-NONSHARABLE_CLASS ( CSatNotifySetUpIdleModeText ) : public CBase,
- public MSatNotificationsBase
- {
- public: // Constructors and destructor
-
- /**
- * Two-phased constructor.
- * @param aNotificationsTsy: Pointer to NotificationsTsy
- * return CSatNotifySetUpIdleModeText*: created object
- */
- static CSatNotifySetUpIdleModeText* NewL(
- CSatNotificationsTsy* aNotificationsTsy );
-
- /**
- * C++ Destructor.
- */
- ~CSatNotifySetUpIdleModeText( );
-
- private:
-
- /**
- * By default C++ constructor is private.
- * @param aNotificationsTsy: Pointer to NotificationsTsy
- * @return None
- */
- CSatNotifySetUpIdleModeText( CSatNotificationsTsy* aNotificationsTsy );
-
- /**
- * Class attributes are created in ConstructL.
- * @param None
- * @return None
- */
- void ConstructL( );
-
- public: // Functions from base classes
-
- /**
- * Set Up Idle Mode Text Notification request received from client
- * @param aTsyReqHandle request handle from ETel
- * @param aPackage: Packed data
- * @return KErrNone
- */
- TInt Notify( const TTsyReqHandle aTsyReqHandle,
- const TDataPackage& aPackage );
-
- /**
- * Cancels notification request for Set Up Idle Mode Text.
- * @param aReqHandle notify request handle
- * @return KErrNone
- */
- TInt CancelNotification( const TTsyReqHandle aReqHandle );
-
- /**
- * Completes Set Up Idle Mode Text message to client
- * @param aDataPackage: Packaged return data
- * @param aErrorCode: Possible error code
- * @return KErrNone/ KErrCorrupt
- */
- TInt CompleteNotifyL( CSatDataPackage* aDataPackage, TInt aErrorCode );
-
- /**
- * From CSatNotificationsBase handles Set Up Idle Mode Text terminal response
- * coming from client.
- * @param aRsp: Response structure
- * @return KErrNone/ KErrCorrupt
- */
- TInt TerminalResponseL( TDes8* aRsp );
-
- public: // New functions
-
- /**
- * Create notification specific terminal response data
- * @param aPCmdNumber: Proactive command number
- * @param aGeneralResult: Result of the proactive command
- * @param aAdditionalInfo: Additional info for terminal response
- * @return Success/Failure value
- */
- TInt CreateTerminalRespL( TUint8 aPCmdNumber, TUint8 aGeneralResult,
- TDesC16& aAdditionalInfo );
-
- private: // Data
-
- // SetUpIdleModeText package store.
- RSat::TSetUpIdleModeTextV1Pckg* iSetUpIdleModeTextV1Pckg;
- // Pointer to the notifications tsy class
- CSatNotificationsTsy* iNotificationsTsy;
- };
-
-
+/*
+* Copyright (c) 2005-2009 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:
+* Name : CSatNotifySetUpIdleModeText.h
+* Part of : Common SIM ATK TSY / commonsimatktsy
+* Specific notifications class
+* Version : 1.0
+*
+*/
+
+
+
+#ifndef CSATNOTIFYSETUPIDLEMODETEXT_H
+#define CSATNOTIFYSETUPIDLEMODETEXT_H
+
+
+// INCLUDES
+#include <etelsat.h>
+#include "MSatNotificationsBase.h"
+
+// FORWARD DECLARATIONS
+class CSatDataPackage;
+class CSatNotificationsTsy;
+
+/**
+* DESCRIPTION
+* SAT Set Up Idle Mode Text notification class.
+* Created when client requests to be notified when Set Up Idle Mode Text
+* command arrives from SIM.
+*
+* @lib Commonsimatktsy
+* @since 3.1
+*/
+NONSHARABLE_CLASS ( CSatNotifySetUpIdleModeText ) : public CBase,
+ public MSatNotificationsBase
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ * @param aNotificationsTsy: Pointer to NotificationsTsy
+ * return CSatNotifySetUpIdleModeText*: created object
+ */
+ static CSatNotifySetUpIdleModeText* NewL(
+ CSatNotificationsTsy* aNotificationsTsy );
+
+ /**
+ * C++ Destructor.
+ */
+ ~CSatNotifySetUpIdleModeText( );
+
+ private:
+
+ /**
+ * By default C++ constructor is private.
+ * @param aNotificationsTsy: Pointer to NotificationsTsy
+ * @return None
+ */
+ CSatNotifySetUpIdleModeText( CSatNotificationsTsy* aNotificationsTsy );
+
+ /**
+ * Class attributes are created in ConstructL.
+ * @param None
+ * @return None
+ */
+ void ConstructL( );
+
+ public: // Functions from base classes
+
+ /**
+ * Set Up Idle Mode Text Notification request received from client
+ * @param aTsyReqHandle request handle from ETel
+ * @param aPackage: Packed data
+ * @return KErrNone
+ */
+ TInt Notify( const TTsyReqHandle aTsyReqHandle,
+ const TDataPackage& aPackage );
+
+ /**
+ * Cancels notification request for Set Up Idle Mode Text.
+ * @param aReqHandle notify request handle
+ * @return KErrNone
+ */
+ TInt CancelNotification( const TTsyReqHandle aReqHandle );
+
+ /**
+ * Completes Set Up Idle Mode Text message to client
+ * @param aDataPackage: Packaged return data
+ * @param aErrorCode: Possible error code
+ * @return KErrNone/ KErrCorrupt
+ */
+ TInt CompleteNotifyL( CSatDataPackage* aDataPackage, TInt aErrorCode );
+
+ /**
+ * From CSatNotificationsBase handles Set Up Idle Mode Text terminal response
+ * coming from client.
+ * @param aRsp: Response structure
+ * @return KErrNone/ KErrCorrupt
+ */
+ TInt TerminalResponseL( TDes8* aRsp );
+
+ public: // New functions
+
+ /**
+ * Create notification specific terminal response data
+ * @param aPCmdNumber: Proactive command number
+ * @param aGeneralResult: Result of the proactive command
+ * @param aAdditionalInfo: Additional info for terminal response
+ * @return Success/Failure value
+ */
+ TInt CreateTerminalRespL( TUint8 aPCmdNumber, TUint8 aGeneralResult,
+ TDesC16& aAdditionalInfo );
+
+ private: // Data
+
+ // SetUpIdleModeText package store.
+ RSat::TSetUpIdleModeTextV1Pckg* iSetUpIdleModeTextV1Pckg;
+ // Pointer to the notifications tsy class
+ CSatNotificationsTsy* iNotificationsTsy;
+ };
+
+
#endif // CSATNOTIFYSETUPIDLEMODETEXT_H
\ No newline at end of file