sipplugins/sippsipsettingsui/inc/sipsettlistsipprxsetview.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005 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:  The proxy setting view
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SIP_SETT_LIST_SIP_PRX_SET_VIEW_H
       
    21 #define SIP_SETT_LIST_SIP_PRX_SET_VIEW_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <aknview.h>
       
    26 #include "tgssipserverdata.h"
       
    27 #include "sipsettlistsipsrvsetview.h"
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 
       
    31 class MGSSIPProfileHandler;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  CSIPSettListSIPPrxSetView view class
       
    37 *  @since 3.0
       
    38 *  view class for SIP Proxy settings
       
    39 */
       
    40 class CSIPSettListSIPPrxSetView : public CSIPSettListSIPSrvSetView
       
    41     {
       
    42     public:  // Constructors and destructor
       
    43         
       
    44         /**
       
    45         * Two-phased constructor. Instance is placed on the cleanup stack
       
    46         * @param aHandler Profile handler
       
    47         */
       
    48         static CSIPSettListSIPPrxSetView* NewLC( 
       
    49         	MGSSIPProfileHandler* aHandler );
       
    50         
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         virtual ~CSIPSettListSIPPrxSetView();        
       
    55 
       
    56     public: // Functions from base classes
       
    57 
       
    58         /**
       
    59         * From CAknView.
       
    60         * Returns the UID of the view
       
    61         * @return UID of the view
       
    62         */
       
    63         TUid Id() const;        
       
    64     
       
    65     protected:  // Functions from base classes
       
    66 
       
    67         /**
       
    68         * From CSIPSettListSIPSrvSetView
       
    69         * Returns used data structure
       
    70         * @return Pointer to used server data structure
       
    71         */
       
    72         TGSSIPServerData* DataStruct();
       
    73         
       
    74         /**        
       
    75         * Returns used item list resource id        
       
    76         * @return Resource ID
       
    77         */
       
    78         TInt ResourceID();
       
    79 
       
    80         /**
       
    81         * From CGSSettListSIPSrvSetView
       
    82         * Returns used service profile class server view
       
    83         * @return used service profile class 
       
    84         */
       
    85         TSIPProfileTypeInfo::TSIPProfileClass ProfileType();
       
    86 
       
    87         /**
       
    88         * Checks is currently shown profile locked.
       
    89         * @return ETrue if profile is locked
       
    90         */
       
    91         TBool ProfileLocked();
       
    92 
       
    93     private:
       
    94 
       
    95         /**
       
    96         * C++ default constructor.
       
    97         * @param aHandler   Profile handler
       
    98         */
       
    99         CSIPSettListSIPPrxSetView( MGSSIPProfileHandler* aHandler );
       
   100 
       
   101         /**
       
   102         * By default Symbian 2nd phase constructor is private.
       
   103         */
       
   104         void ConstructL();          
       
   105 
       
   106     private:
       
   107         
       
   108         // Profile handler
       
   109         MGSSIPProfileHandler* iHandler;
       
   110         };
       
   111 
       
   112 #endif      // SIP_SETT_LIST_SIP_PRX_SET_VIEW_H
       
   113             
       
   114 // End of File