messagingapp/msgnotifications/msgerrornotifier/src/msgerrornotifier.cpp
changeset 25 84d9eb65b26f
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: 
       
    15  *
       
    16  */
       
    17 
       
    18 #include "msgerrornotifier.h"
       
    19 #include "msgerrornotifiersvc.h"
       
    20 
       
    21 //-------------------------------------------------------
       
    22 // Constructor
       
    23 //-------------------------------------------------------
       
    24 MsgErrorNotifier::MsgErrorNotifier(QObject *parent) :
       
    25     QObject(parent)
       
    26 {
       
    27     mErrorNotifier = new MsgErrorNotifierSvc();
       
    28 }
       
    29 
       
    30 //-------------------------------------------------------
       
    31 // Destructor
       
    32 //-------------------------------------------------------
       
    33 MsgErrorNotifier::~MsgErrorNotifier()
       
    34 {
       
    35     if (mErrorNotifier) {
       
    36         delete mErrorNotifier;
       
    37     }
       
    38 }