sipplugins/sippsipsettingsui/inc/SIPSettIntegerSetPage.h
author William Roberts <williamr@symbian.org>
Thu, 17 Jun 2010 22:31:40 +0100
branchGCC_SURGE
changeset 28 0cae6035b266
parent 0 307788aac0a8
permissions -rw-r--r--
Mark TMeta vtable and typeinfo exports as ABSENT - Bug 3024

/*
* 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:  SIP Settings view controller
*
*/
#ifndef SIP_SETT_INTEGER_SETPAGE_H
#define SIP_SETT_INTEGER_SETPAGE_H

#include    <akntextsettingpage.h>
#include    <aknsettingpage.h>
#include    "tgssipvalidatorwrapper.h"
#include    "tgssipserverdata.h"

// CLASS DECLARATION

/**
*  CSIPSettIntegerSetPage page class
*  
*  page class for SIP Server settings view
*/
class CSIPSettIntegerSetPage : public CAknIntegerSettingPage
    {
    public:  // Constructors and destructor
    	
        /**
        * C++ default constructor.
        * @param aResourceID resource ID of the setting page
        * @param aInteger , SetPage reference integer value;
        * @param aTextSettingPageFlags Flags (not used)
        */        
    	CSIPSettIntegerSetPage(
    	    TInt aResourceID, 
    	    TInt& aInteger, 
    	    TInt aTextSettingPageFlags );

        /**
        * Destructor.
        */
        virtual ~CSIPSettIntegerSetPage();

    public: // Functions from base classes
        
        /**
        * From CAknTextSettingPage
        * Called to validate input before closing the page
        * @param aAccept ETrue = User pressed OK, else EFalse
        * @return ETrue = delete the page
        */
        TBool OkToExitL( TBool aAccept );
        // Called to the Setpage initialize complete

    	void  DynamicInitL ();
  
    	

    private:    // Data
        TInt iValue;
    	TBuf<KMaxServerPortLength> iNULLString;
     
    };


#endif /* SIPSETTINTEGERSETPAGE_H_ */