javamanager/javacaptain/inc.s60/pmc.h
branchRCL_3
changeset 83 26b2b12093af
parent 71 d5e927d5853b
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
    20 
    20 
    21 #include <e32std.h>
    21 #include <e32std.h>
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 
    23 
    24 #include <map>
    24 #include <map>
       
    25 
       
    26 #include <AknGlobalNote.h>
       
    27 
    25 
    28 
    26 #include "javaoslayer.h"
    29 #include "javaoslayer.h"
    27 #include "logger.h"
    30 #include "logger.h"
    28 #include "scopedlocks.h"
    31 #include "scopedlocks.h"
    29 
    32 
   138 
   141 
   139     private:
   142     private:
   140         void showErrorNote()
   143         void showErrorNote()
   141         {
   144         {
   142             LOG(EJavaCaptain, EInfo, "Process failed to exit gracefully");
   145             LOG(EJavaCaptain, EInfo, "Process failed to exit gracefully");
       
   146 #ifdef RD_JAVA_EXIT_ERROR_DIALOG
       
   147             //Print the dialog showing that force process kill was done.
       
   148             CAknGlobalNote* globalNote = CAknGlobalNote::NewL();
       
   149             globalNote->ShowNoteL(EAknGlobalErrorNote,
       
   150                                   _L("Midp process failed to exit gracefully."));
       
   151             delete globalNote;
       
   152 #endif
   143         }
   153         }
   144 
   154 
   145     private:
   155     private:
   146         RProcess*       mRProcess;
   156         RProcess*       mRProcess;
   147         ProcessEvents*  mEvents;
   157         ProcessEvents*  mEvents;