equal
deleted
inserted
replaced
36 #include "xnpanic.h" |
36 #include "xnpanic.h" |
37 |
37 |
38 #include "xnplugindata.h" |
38 #include "xnplugindata.h" |
39 #include "xnrootdata.h" |
39 #include "xnrootdata.h" |
40 |
40 |
|
41 #include "debug.h" |
|
42 |
41 // Constants |
43 // Constants |
42 const TInt KScheduleInterval( 2000000 ); |
44 const TInt KScheduleInterval( 2000000 ); |
43 |
45 |
44 // ============================ LOCAL FUNCTIONS ================================ |
46 // ============================ LOCAL FUNCTIONS ================================ |
45 |
47 |
466 // |
468 // |
467 // ----------------------------------------------------------------------------- |
469 // ----------------------------------------------------------------------------- |
468 // |
470 // |
469 /* static */ TInt CXnRootData::RunLoadL( TAny* aAny ) |
471 /* static */ TInt CXnRootData::RunLoadL( TAny* aAny ) |
470 { |
472 { |
|
473 __PRINTS( "*** CXnRootData::RunLoadL" ); |
|
474 |
471 CXnRootData* self = static_cast< CXnRootData* >( aAny ); |
475 CXnRootData* self = static_cast< CXnRootData* >( aAny ); |
472 |
476 |
473 if ( self->iFlags.IsSet( EIsDispose ) ) |
477 if ( self->iFlags.IsSet( EIsDispose ) ) |
474 { |
478 { |
475 self->iLoadTimer->Cancel(); |
479 self->iLoadTimer->Cancel(); |
539 { |
543 { |
540 self->iLoadTimer->Cancel(); |
544 self->iLoadTimer->Cancel(); |
541 } |
545 } |
542 } |
546 } |
543 |
547 |
|
548 __PRINTS( "*** CXnRootData::RunLoadL - done" ); |
|
549 |
544 return KErrNone; |
550 return KErrNone; |
545 } |
551 } |
546 |
552 |
547 // ----------------------------------------------------------------------------- |
553 // ----------------------------------------------------------------------------- |
548 // CXnRootData::SetMaxPages( TInt32 aPages ) |
554 // CXnRootData::SetMaxPages( TInt32 aPages ) |
569 // |
575 // |
570 // ----------------------------------------------------------------------------- |
576 // ----------------------------------------------------------------------------- |
571 // |
577 // |
572 /* static */ TInt CXnRootData::RunDestroyL( TAny* aAny ) |
578 /* static */ TInt CXnRootData::RunDestroyL( TAny* aAny ) |
573 { |
579 { |
|
580 __PRINTS( "*** CXnRootData::RunDestroyL" ); |
|
581 |
574 CXnRootData* self = static_cast< CXnRootData* >( aAny ); |
582 CXnRootData* self = static_cast< CXnRootData* >( aAny ); |
575 |
583 |
576 if( self->iFlags.IsSet( EIsDispose ) ) |
584 if( self->iFlags.IsSet( EIsDispose ) ) |
577 { |
585 { |
578 for ( TInt i = 0; i < self->iViewsToDestroy.Count(); i++ ) |
586 for ( TInt i = 0; i < self->iViewsToDestroy.Count(); i++ ) |
626 self->iDestroyTimer->Cancel(); |
634 self->iDestroyTimer->Cancel(); |
627 } |
635 } |
628 } |
636 } |
629 } |
637 } |
630 |
638 |
|
639 __PRINTS( "*** CXnRootData::RunDestroyL - done" ); |
|
640 |
631 return KErrNone; |
641 return KErrNone; |
632 } |
642 } |
633 |
643 |
634 // End of file |
644 // End of file |
635 |
645 |