diff -r 000000000000 -r 307788aac0a8 sipplugins/sippsipsettingsui/inc/sipsettlistsipprxsetview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sipplugins/sippsipsettingsui/inc/sipsettlistsipprxsetview.h Tue Feb 02 01:03:15 2010 +0200 @@ -0,0 +1,114 @@ +/* +* 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: The proxy setting view +* +*/ + + + +#ifndef SIP_SETT_LIST_SIP_PRX_SET_VIEW_H +#define SIP_SETT_LIST_SIP_PRX_SET_VIEW_H + +// INCLUDES + +#include +#include "tgssipserverdata.h" +#include "sipsettlistsipsrvsetview.h" + +// FORWARD DECLARATIONS + +class MGSSIPProfileHandler; + +// CLASS DECLARATION + +/** +* CSIPSettListSIPPrxSetView view class +* @since 3.0 +* view class for SIP Proxy settings +*/ +class CSIPSettListSIPPrxSetView : public CSIPSettListSIPSrvSetView + { + public: // Constructors and destructor + + /** + * Two-phased constructor. Instance is placed on the cleanup stack + * @param aHandler Profile handler + */ + static CSIPSettListSIPPrxSetView* NewLC( + MGSSIPProfileHandler* aHandler ); + + /** + * Destructor. + */ + virtual ~CSIPSettListSIPPrxSetView(); + + public: // Functions from base classes + + /** + * From CAknView. + * Returns the UID of the view + * @return UID of the view + */ + TUid Id() const; + + protected: // Functions from base classes + + /** + * From CSIPSettListSIPSrvSetView + * Returns used data structure + * @return Pointer to used server data structure + */ + TGSSIPServerData* DataStruct(); + + /** + * Returns used item list resource id + * @return Resource ID + */ + TInt ResourceID(); + + /** + * From CGSSettListSIPSrvSetView + * Returns used service profile class server view + * @return used service profile class + */ + TSIPProfileTypeInfo::TSIPProfileClass ProfileType(); + + /** + * Checks is currently shown profile locked. + * @return ETrue if profile is locked + */ + TBool ProfileLocked(); + + private: + + /** + * C++ default constructor. + * @param aHandler Profile handler + */ + CSIPSettListSIPPrxSetView( MGSSIPProfileHandler* aHandler ); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + private: + + // Profile handler + MGSSIPProfileHandler* iHandler; + }; + +#endif // SIP_SETT_LIST_SIP_PRX_SET_VIEW_H + +// End of File