commsconfig/cscapplicationui/inc/cscserviceview.h
branchRCL_3
changeset 6 fc8c25e5a2e8
parent 0 a4daefaec16c
equal deleted inserted replaced
2:7b872347d83b 6:fc8c25e5a2e8
     1 /*
     1 /*
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    19 #ifndef C_CSCSERVICEVIEW_H
    19 #ifndef C_CSCSERVICEVIEW_H
    20 #define C_CSCSERVICEVIEW_H
    20 #define C_CSCSERVICEVIEW_H
    21 
    21 
    22 #include <aknview.h>
    22 #include <aknview.h>
    23 #include "mcscservicecontainerobserver.h"
    23 #include "mcscservicecontainerobserver.h"
       
    24 #include "mcscengtimerobserver.h"
    24 
    25 
    25 class CCSCAppUi;
    26 class CCSCAppUi;
    26 class CCSCDialog;
    27 class CCSCDialog;
    27 class CCSCEngCCHHandler;
    28 class CCSCEngCCHHandler;
    28 class CCSCServiceContainer;
    29 class CCSCServiceContainer;
    41  *  @lib
    42  *  @lib
    42  *  @since S60 v3.2
    43  *  @since S60 v3.2
    43  */
    44  */
    44 NONSHARABLE_CLASS( CCSCServiceView ) : public CAknView,
    45 NONSHARABLE_CLASS( CCSCServiceView ) : public CAknView,
    45                                        public MEikListBoxObserver,
    46                                        public MEikListBoxObserver,
    46                                        public MCSCServiceContainerObserver
    47                                        public MCSCServiceContainerObserver,
       
    48                                        public MCSCEngTimerObserver
    47     {
    49     {
    48     public:
    50     public:
    49 
    51 
    50         /**
    52         /**
    51          * Two-phased constructor.
    53          * Two-phased constructor.
    96          * Initializes view with startup parameters.
    98          * Initializes view with startup parameters.
    97          * 
    99          * 
    98          * @since S60 v5.1
   100          * @since S60 v5.1
    99          */
   101          */
   100         void InitializeWithStartupParametersL();
   102         void InitializeWithStartupParametersL();
   101                             
   103         
   102         /**
   104         
   103          * Updates container data because of layout change.
       
   104          *
       
   105          * @since S60 v3.2
       
   106          * @param aType for layout change type
       
   107          */ 
       
   108         void UpdateLayout( TInt aType );
       
   109         
       
   110          
       
   111        
       
   112         // from base class CAknView
   105         // from base class CAknView
   113         
   106         
   114         /**
   107         /**
   115          * From CAknView.
   108          * From CAknView.
   116          * Handles the commands. If the command is command which is require to
   109          * Handles the commands. If the command is command which is require to
   212          * Update softkey
   205          * Update softkey
   213          *
   206          *
   214          * @since S60 v3.2
   207          * @since S60 v3.2
   215          */         
   208          */         
   216         void UpdateCbaL();
   209         void UpdateCbaL();
   217                 
   210         
       
   211 		
   218     protected:
   212     protected:
   219               
   213               
   220         // from base class MEIkListBoxObserver
   214         // from base class MEIkListBoxObserver
   221         
   215         
   222         /**
   216         /**
   228          * @param aEventType for event type
   222          * @param aEventType for event type
   229          */
   223          */
   230         void HandleListBoxEventL( CEikListBox* aListBox, 
   224         void HandleListBoxEventL( CEikListBox* aListBox, 
   231                                   TListBoxEvent aEventType );    
   225                                   TListBoxEvent aEventType );    
   232                                   
   226                                   
   233         
   227 		
   234         
       
   235     private:
   228     private:
   236         
   229         
   237         
   230         
   238         CCSCServiceView( 
   231         CCSCServiceView( 
   239             CCSCEngServicePluginHandler& aServicePluginHandler,
   232             CCSCEngServicePluginHandler& aServicePluginHandler,
   298         * @since S60 v3.0
   291         * @since S60 v3.0
   299         */
   292         */
   300         void DoDeactivate();
   293         void DoDeactivate();
   301         
   294         
   302         
   295         
       
   296         // from base class MCSCEngTimerObserver
       
   297         
       
   298         /**
       
   299          * From MCSCEngTimerObserver.
       
   300          *
       
   301          * @since S60 v5.0
       
   302          */
       
   303         void TimerExpired();
       
   304          
       
   305 		
   303     private: // data
   306     private: // data
   304                            
   307                            
   305         /**
   308         /**
   306          *  Reference to CCSCServicePluginHandler
   309          *  Reference to CCSCServicePluginHandler
   307          */          
   310          */          
   357         /**
   360         /**
   358          * Array for already offered to configure plugin uids
   361          * Array for already offered to configure plugin uids
   359          */
   362          */
   360         RArray<TUid> iOfferedPluginUids;
   363         RArray<TUid> iOfferedPluginUids;
   361         
   364         
       
   365         /**
       
   366          * Pointer to timer
       
   367          * Own.
       
   368          */
       
   369         CCSCEngTimer* iEngTimer;
       
   370         
       
   371         /**
       
   372          * Plugin info.
       
   373          */
       
   374         TServicePluginInfo iPluginInfo;
       
   375         
       
   376         /**
       
   377          * Next plugin index.
       
   378          */
       
   379         TUint iNextPluginIndex;
       
   380 		
       
   381         /**
       
   382          * Uid.
       
   383          */
       
   384         TUid iUid;
       
   385         
   362 #ifdef _DEBUG
   386 #ifdef _DEBUG
   363     friend class UT_CSC;
   387     friend class UT_CSC;
   364 #endif
   388 #endif
   365         
   389         
   366     };
   390     };