wlanutilities/wlansniffer/mainapplication/inc/wsfmainviewcontainer.h
branchRCL_3
changeset 8 c2bc3f8c7777
parent 0 56b72877c1cb
child 16 61c93568468d
equal deleted inserted replaced
4:107412708b22 8:c2bc3f8c7777
    26 //  FORWARD DECLARATIONS
    26 //  FORWARD DECLARATIONS
    27 class CAknDoubleGraphicStyleListBox;
    27 class CAknDoubleGraphicStyleListBox;
    28 class MWsfMainViewControllerPartner;
    28 class MWsfMainViewControllerPartner;
    29 class CAknNavigationDecorator;
    29 class CAknNavigationDecorator;
    30 class CAknNavigationControlContainer;
    30 class CAknNavigationControlContainer;
       
    31 class CWsfMainView;
    31 
    32 
    32 //  CLASS DEFINITION
    33 //  CLASS DEFINITION
    33 /**
    34 /**
    34  *  The container of the Main view.
    35  *  The container of the Main view.
    35  *  @since S60 v5.0
    36  *  @since S60 v5.0
    42          * Two-phased constructor
    43          * Two-phased constructor
    43          * @since S60 5.0 
    44          * @since S60 5.0 
    44          * @param aRect gives the correct TRect for construction.
    45          * @param aRect gives the correct TRect for construction.
    45          * @return instance of CWsfMainViewContainer class  
    46          * @return instance of CWsfMainViewContainer class  
    46          */
    47          */
    47         static CWsfMainViewContainer* NewL( const TRect& aRect );
    48         static CWsfMainViewContainer* NewL( const TRect& aRect,
       
    49                 CWsfMainView* aParentView );
    48 
    50 
    49         /**
    51         /**
    50          * Two-phased constructor. Leaves the object on CleanupStack
    52          * Two-phased constructor. Leaves the object on CleanupStack
    51          * @since S60 5.0 
    53          * @since S60 5.0 
    52          * @param aRect gives the correct TRect for construction.
    54          * @param aRect gives the correct TRect for construction.
    53          * @return instance of CWsfMainViewContainer class  
    55          * @return instance of CWsfMainViewContainer class  
    54          */
    56          */
    55         static CWsfMainViewContainer* NewLC( const TRect& aRect );
    57         static CWsfMainViewContainer* NewLC( const TRect& aRect,
       
    58                 CWsfMainView* aParentView );
    56 
    59 
    57         /**
    60         /**
    58          * Destructor of CWsfMainViewContainer class
    61          * Destructor of CWsfMainViewContainer class
    59          * @since S60 5.0     
    62          * @since S60 5.0     
    60          */
    63          */
    71         /**
    74         /**
    72          * 2nd phase constructor
    75          * 2nd phase constructor
    73          * @since S60 5.0 
    76          * @since S60 5.0 
    74          * @param aRect gives the correct TRect for construction.
    77          * @param aRect gives the correct TRect for construction.
    75          */
    78          */
    76         void ConstructL( const TRect& aRect );
    79         void ConstructL( const TRect& aRect, CWsfMainView* aParentView );
    77 
    80 
    78     public:     // New methods
    81     public:     // New methods
    79 
    82 
    80         /**
    83         /**
    81         * Update the contents of control
    84         * Update the contents of control
   296         /**
   299         /**
   297          * The connecting animation frame index
   300          * The connecting animation frame index
   298          */
   301          */
   299         TInt iConnectingIndex;
   302         TInt iConnectingIndex;
   300 
   303 
   301         /*
   304         /**
   302          * The periodic that steps the animation
   305          * The periodic that steps the animation
   303          */
   306          */
   304         CPeriodic* iAnimationPeriodic;
   307         CPeriodic* iAnimationPeriodic;
   305 
   308 
   306         /**
   309         /**
   307          * Constants for 'Connecting' text
   310          * Constants for 'Connecting' text
   308          * Own.
   311          * Own.
   309          */
   312          */
   310         HBufC* iStatusConnecting;
   313         HBufC* iStatusConnecting;
       
   314         
       
   315         /**
       
   316          * Reference to the parent view
       
   317          */
       
   318         CWsfMainView* iParentView;
   311 
   319 
   312     };
   320     };
   313 
   321 
   314 
   322 
   315 
   323