messagingapp/msgnotifications/msgnotifier/src/msgnotifier.cpp
changeset 56 f42d9a78f435
parent 51 3507212d340e
child 73 ecf6a73a9186
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
    29 #include "msginfodefs.h"
    29 #include "msginfodefs.h"
    30 #include "ccsdefs.h"
    30 #include "ccsdefs.h"
    31 #include "unidatamodelloader.h"
    31 #include "unidatamodelloader.h"
    32 #include "unidatamodelplugininterface.h"
    32 #include "unidatamodelplugininterface.h"
    33 #include "msgcontacthandler.h"
    33 #include "msgcontacthandler.h"
       
    34 #include "msgerrorwatcher.h"
    34 
    35 
    35 #include "debugtraces.h"
    36 #include "debugtraces.h"
    36 
    37 
    37 // LOCALIZATION CONSTANTS
    38 // LOCALIZATION CONSTANTS
    38 #define LOC_RECEIVED_FILES hbTrId("txt_messaging_title_received_files")
    39 #define LOC_RECEIVED_FILES hbTrId("txt_messaging_title_received_files")
    56     QDEBUG_WRITE("MsgNotifier::MsgNotifier : Enter")
    57     QDEBUG_WRITE("MsgNotifier::MsgNotifier : Enter")
    57 
    58 
    58     d_ptr = q_check_ptr(new MsgNotifierPrivate(this));
    59     d_ptr = q_check_ptr(new MsgNotifierPrivate(this));
    59 
    60 
    60     mSimHandler = new MsgSimNumDetector();
    61     mSimHandler = new MsgSimNumDetector();
       
    62     mErrorWatcher = new MsgErrorWatcher(this);
    61 
    63 
    62     QDEBUG_WRITE("MsgNotifier::MsgNotifier : Exit")
    64     QDEBUG_WRITE("MsgNotifier::MsgNotifier : Exit")
    63 }
    65 }
    64 
    66 
    65 // ----------------------------------------------------------------------------
    67 // ----------------------------------------------------------------------------
    70 {
    72 {
    71     QDEBUG_WRITE("MsgNotifier::~MsgNotifier : Enter")
    73     QDEBUG_WRITE("MsgNotifier::~MsgNotifier : Enter")
    72 
    74 
    73     delete d_ptr;
    75     delete d_ptr;
    74     delete mSimHandler;
    76     delete mSimHandler;
       
    77 	delete mErrorWatcher;
    75 
    78 
    76     QDEBUG_WRITE("MsgNotifier::~MsgNotifier : Enter")
    79     QDEBUG_WRITE("MsgNotifier::~MsgNotifier : Enter")
    77 }
    80 }
    78 
    81 
    79 // ----------------------------------------------------------------------------
    82 // ----------------------------------------------------------------------------