javamanager/javacaptain/inc.s60/pmc.h
changeset 69 773449708c84
parent 21 2a9601315dfc
child 66 2455ef1f5bbc
equal deleted inserted replaced
61:bf7ee68962da 69:773449708c84
    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 
       
    28 
    25 
    29 #include "javaoslayer.h"
    26 #include "javaoslayer.h"
    30 #include "logger.h"
    27 #include "logger.h"
    31 #include "scopedlocks.h"
    28 #include "scopedlocks.h"
    32 
    29 
   141 
   138 
   142     private:
   139     private:
   143         void showErrorNote()
   140         void showErrorNote()
   144         {
   141         {
   145             LOG(EJavaCaptain, EInfo, "Process failed to exit gracefully");
   142             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
       
   153         }
   143         }
   154 
   144 
   155     private:
   145     private:
   156         RProcess*       mRProcess;
   146         RProcess*       mRProcess;
   157         ProcessEvents*  mEvents;
   147         ProcessEvents*  mEvents;