wlanutilities/wlansniffer/mainapplication/inc/wsfmainviewcontainer.h
branchCompilerCompatibility
changeset 13 1cafec024f08
parent 11 fcc46ca86405
parent 8 c2bc3f8c7777
equal deleted inserted replaced
11:fcc46ca86405 13:1cafec024f08
    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
   295         /**
   298         /**
   296          * The connecting animation frame index
   299          * The connecting animation frame index
   297          */
   300          */
   298         TInt iConnectingIndex;
   301         TInt iConnectingIndex;
   299 
   302 
   300         /*
   303         /**
   301          * The periodic that steps the animation
   304          * The periodic that steps the animation
   302          */
   305          */
   303         CPeriodic* iAnimationPeriodic;
   306         CPeriodic* iAnimationPeriodic;
   304 
   307 
   305         /**
   308         /**
   306          * Constants for 'Connecting' text
   309          * Constants for 'Connecting' text
   307          * Own.
   310          * Own.
   308          */
   311          */
   309         HBufC* iStatusConnecting;
   312         HBufC* iStatusConnecting;
       
   313         
       
   314         /**
       
   315          * Reference to the parent view
       
   316          */
       
   317         CWsfMainView* iParentView;
   310 
   318 
   311     };
   319     };
   312 
   320 
   313 
   321 
   314 
   322