connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifInc/WLANNetworkUnavailableNoteNotif.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:53:07 +0300
changeset 20 9c97ad6591ae
parent 0 5a93021fdf25
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2005 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:  Declaration of Generic Connection Ui Utilities Notifier
*
*/



#ifndef __WLAN_UNAVAILABLE_NOTE_H__
#define __WLAN_UNAVAILABLE_NOTE_H__

// INCLUDES
#include "ConnectionDialogsNotifBase.h"

//FORWARD DECLARATION
class CActiveWLANNetworkUnavailableNote;

/**
 * CWLANNetworkUnavailableNoteNotif class
 */
NONSHARABLE_CLASS( CWLANNetworkUnavailableNoteNotif ) 
                                        : public CConnectionDialogsNotifBase
    {
    public:
        /**
        * NewL function
        * @param  -
        * return COfflineWlanDisabledNoteNotif*
        */
        static CWLANNetworkUnavailableNoteNotif* NewL( 
                                        const TBool aResourceFileResponsible );
        
        /**
        * RegisterL register the client notifier function
        * @param  -
        * return TNotifierInfo
        */
        TNotifierInfo RegisterL();

        /**
        * Start the Notifier
        * @param  aBuffer    Buffer
        * @param  aReplySlot Identifies which message argument to use for the 
        *                    reply. This message argument will refer to a 
        *                    modifiable descriptor, a TDes8 type, into which
        *                    data can be returned. 
        * @param  aMessage   Message
        * return -
        */
        void StartL( const TDesC8& aBuffer, TInt aReplySlot, 
                     const RMessagePtr2& aMessage );
                 
        /**
        * Cancel() the notifier
        * @param  -
        * return -
        */
        void Cancel();         
    
        /**
        * CompleteL the notifier is complete
        * @param  aStatus status
        * return  -
        */
        void CompleteL( TInt aStatus );
                     
    protected:    
        /**
        * Constructor
        */
        CWLANNetworkUnavailableNoteNotif();    
    
    protected:
        // pointer to active object, owned
        CActiveWLANNetworkUnavailableNote* iActiveNote;

    };    

#endif //__WLAN_UNAVAILABLE_NOTE_H__

// End of File