telephonyserverplugins/simatktsy/inc/CSatNotifyMoreTime.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : CSatNotifyMoreTime.h
       
    16 * Part of     : Common SIM ATK TSY / commonsimatktsy
       
    17 * Specific notifications class
       
    18 * Version     : 1.0
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 #ifndef CSATNOTIFYMORETIME_H
       
    25 #define CSATNOTIFYMORETIME_H
       
    26 
       
    27 
       
    28 //  INCLUDES
       
    29 #include "MSatNotificationsBase.h"
       
    30 
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class CSatDataPackage;
       
    34 class CSatNotificationsTsy;
       
    35 
       
    36 /**
       
    37 * DESCRIPTION
       
    38 * SAT  More Time information notification class.
       
    39 * @lib Commonsimatktsy
       
    40 * @since 3.1
       
    41 */
       
    42 NONSHARABLE_CLASS ( CSatNotifyMoreTime ) : public CBase,
       
    43                               public MSatNotificationsBase
       
    44     {
       
    45     public:  // Constructors and destructor
       
    46 
       
    47         /**
       
    48         * Two-phased constructor.
       
    49         * @param aNotificationsTsy: Pointer to NotificationsTsy
       
    50         * @return created object 
       
    51         */
       
    52         static CSatNotifyMoreTime* NewL( 
       
    53         	CSatNotificationsTsy* aNotificationsTsy );
       
    54 
       
    55         /**
       
    56         * C++ Destructor.
       
    57         */
       
    58         ~CSatNotifyMoreTime();
       
    59 
       
    60 	private:
       
    61 	
       
    62         /**
       
    63         * By default C++ constructor is private.
       
    64         * @param aNotificationsTsy: Pointer to NotificationsTsy
       
    65         * @return None
       
    66         */
       
    67         CSatNotifyMoreTime( CSatNotificationsTsy* aNotificationsTsy );
       
    68 
       
    69         /**
       
    70         * Class attributes are created in ConstructL. 
       
    71         * @param None
       
    72         * @return None
       
    73         */
       
    74         void ConstructL();
       
    75 
       
    76     public: // Functions from base classes
       
    77             
       
    78         /**
       
    79         * Completes the notification request received from client
       
    80         * @param aDataPackage: Packaged return data
       
    81         * @param aErrorCode: Possible error code
       
    82         * @return KErrNone/KErrCorrupt
       
    83         */
       
    84         TInt CompleteNotifyL( CSatDataPackage* aDataPackage, TInt aErrorCode );
       
    85     
       
    86 	public: // New functions
       
    87 
       
    88         /**
       
    89         * Create notification specific terminal response data
       
    90         * @param aPCmdNumber: Proactive command number
       
    91         * @param aGeneralResult: Result of the proactive command
       
    92         * @return Success/Failure value
       
    93         */
       
    94         TInt CreateTerminalRespL( 
       
    95         	TUint8 aPCmdNumber, TUint8 aGeneralResult );
       
    96         
       
    97     private: // Data
       
    98 
       
    99         // Pointer to the notifications tsy class
       
   100         CSatNotificationsTsy* iNotificationsTsy;
       
   101 
       
   102     };
       
   103 
       
   104 #endif // CSATNOTIFYMORETIME_H