perfapps/memspyui/memspywindowserverhelper/src/MemSpyEngineHelperWindowServerImpl.cpp
changeset 52 36d60d12b4af
parent 51 b048e15729d6
equal deleted inserted replaced
51:b048e15729d6 52:36d60d12b4af
    17 
    17 
    18 #include "MemSpyEngineHelperWindowServerImpl.h"
    18 #include "MemSpyEngineHelperWindowServerImpl.h"
    19 
    19 
    20 // System includes
    20 // System includes
    21 #include <apgwgnam.h>
    21 #include <apgwgnam.h>
    22 #include <apgtask.h>
    22 #include <APGTASK.h>
    23 
    23 
    24 // ============================= LOCAL FUNCTIONS ===============================
    24 // ============================= LOCAL FUNCTIONS ===============================
    25 
    25 
    26 EXPORT_C MMemSpyEngineHelperWindowServer* NewMemSpyEngineHelperWindowServerImplL()
    26 EXPORT_C MMemSpyEngineHelperWindowServer* NewMemSpyEngineHelperWindowServerImplL()
    27     {
    27     {
   155     if ( !task.Exists() )
   155     if ( !task.Exists() )
   156         {
   156         {
   157         User::Leave( KErrNotFound );
   157         User::Leave( KErrNotFound );
   158         }
   158         }
   159     task.BringToForeground();                     
   159     task.BringToForeground();                     
   160     CleanupStack::PopAndDestroy( wgName );
   160     CleanupStack::PopAndDestroy( wgName );       
   161     }
   161     }
   162 
   162 
   163 
   163 
   164 
   164 
   165 
   165 
   166 
   166 
   167 
   167 
   168 
       
   169 
       
   170         
       
   171 CMemSpyEngineWindowGroupListImpl::CMemSpyEngineWindowGroupListImpl()
   168 CMemSpyEngineWindowGroupListImpl::CMemSpyEngineWindowGroupListImpl()
   172     {
   169     {
   173     }
   170     }
   174 
   171 
   175 
   172