uiacceltk/hitchcock/ServerCore/Src/alfsrvdisplaysubsession.cpp
changeset 19 f5bac0badc7e
parent 14 83d2d132aa58
equal deleted inserted replaced
14:83d2d132aa58 19:f5bac0badc7e
   232 			tfxServer->UnregisterApp(MTransitionServer2::ETypeAlf, wgId);
   232 			tfxServer->UnregisterApp(MTransitionServer2::ETypeAlf, wgId);
   233         	}
   233         	}
   234     	#endif
   234     	#endif
   235         }
   235         }
   236         
   236         
   237    
   237     // if this is a last displaysubsession remove "alfnative client wg" tag from bridge
       
   238      RPointerArray<CAlfSrvSubSessionBase> displays;
       
   239      CleanupClosePushL( displays );
       
   240      Session().GetSubsessionsByTypeL( displays, EHuiObjectTypeDisplay );
       
   241 
       
   242      if( displays.Count() == 0 )
       
   243          {
       
   244          Session().AlfAppUi()->RemoveAlfAppWindowGroup(Session().ClientWindowGroup());
       
   245          }
       
   246      CleanupStack::PopAndDestroy( &displays ); // displays.Close()
   238     }
   247     }
   239 
   248 
   240 // ---------------------------------------------------------------------------
   249 // ---------------------------------------------------------------------------
   241 // Gets display
   250 // Gets display
   242 // ---------------------------------------------------------------------------
   251 // ---------------------------------------------------------------------------