equal
deleted
inserted
replaced
19 #ifndef WIDGETUIWINDOW_H_ |
19 #ifndef WIDGETUIWINDOW_H_ |
20 #define WIDGETUIWINDOW_H_ |
20 #define WIDGETUIWINDOW_H_ |
21 |
21 |
22 // INCLUDES FILES |
22 // INCLUDES FILES |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <brctldefs.h> |
24 #include <BrCtlDefs.h> |
25 #include <brctlinterface.h> // for MWidgetCallback |
25 #include <BrCtlInterface.h> // for MWidgetCallback |
26 #include <AknServerApp.h> |
26 #include <AknServerApp.h> |
27 #include <coecntrl.h> |
27 #include <coecntrl.h> |
28 #include "WidgetUiObserver.h" |
28 #include "WidgetUiObserver.h" |
29 |
29 |
30 // CONSTANTS |
30 // CONSTANTS |
498 * returns pointer to NetworkMode wait object |
498 * returns pointer to NetworkMode wait object |
499 * @since 7.1 |
499 * @since 7.1 |
500 * @return CActiveSchedulerWait* |
500 * @return CActiveSchedulerWait* |
501 */ |
501 */ |
502 CActiveSchedulerWait* NetworkModeWait() { return iNetworkModeWait; } |
502 CActiveSchedulerWait* NetworkModeWait() { return iNetworkModeWait; } |
503 |
503 |
504 /** |
|
505 * NeedToNotifyNetworkState |
|
506 * Notifies to Widget about network state |
|
507 * @since 7.1 |
|
508 * @param aNetworkState the online/offline state needs to be notified to widget or not |
|
509 * @return none |
|
510 */ |
|
511 void NeedToNotifyNetworkState(TBool aNetworkState); |
|
512 |
|
513 TBool CanBeDeleted(); |
|
514 |
|
515 static TInt DeleteItself(TAny* aPtr); |
|
516 |
|
517 |
504 |
518 protected: |
505 protected: |
519 |
506 |
520 /** |
507 /** |
521 * CWidgetUiWindow |
508 * CWidgetUiWindow |
605 TBool iUserPermission; // ETrue if user chooses to allow network access when prompted, else EFalse |
592 TBool iUserPermission; // ETrue if user chooses to allow network access when prompted, else EFalse |
606 |
593 |
607 //Download transaction ID |
594 //Download transaction ID |
608 long iDlId; |
595 long iDlId; |
609 TInt iClickCount; |
596 TInt iClickCount; |
610 CFbsBitmap iMiniviewBitmap1; |
597 CFbsBitmap* iMiniviewBitmap ; |
611 CFbsBitmap iMiniviewBitmap2; |
|
612 CFbsBitmap* iActiveMiniviewBitmap; |
|
613 |
|
614 TTime iOOMWidgetStartTime; |
598 TTime iOOMWidgetStartTime; |
615 TBool iWidgetLoadStarted; // Set to true when widget load starts |
599 TBool iWidgetLoadStarted; // Set to true when widget load starts |
616 CJpgSaver* iJpgSaver; |
600 CJpgSaver* iJpgSaver; |
617 CActiveSchedulerWait* iNetworkModeWait; |
601 CActiveSchedulerWait* iNetworkModeWait; |
618 TBool iNeedToNotifyNetworkState; |
602 |
619 TBool iConnecting; |
|
620 TBool iDeleteItself; |
|
621 CAsyncCallBack* iAsyncCallBack; |
|
622 }; |
603 }; |
623 |
604 |
624 #endif // |
605 #endif // |
625 |
606 |
626 // End of file |
607 // End of file |