messagingapp/msgnotifications/msgerrorwatcher/inc/msgerrorwatcher.h
changeset 56 f42d9a78f435
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
       
     1 /*
       
     2  * Copyright (c) 2010 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  *     CMsgErrorWatcher declaration file
       
    16  *
       
    17  */
       
    18 #ifndef MSGERRORWATCHER_H
       
    19 #define MSGERRORWATCHER_H
       
    20 
       
    21 #ifdef  MSGERRORWATCHER_DLL
       
    22 #define MSGERRORWATCHER_EXPORT Q_DECL_EXPORT
       
    23 #else
       
    24 #define MSGERRORWATCHER_EXPORT Q_DECL_IMPORT
       
    25 #endif
       
    26 
       
    27 // INCLUDES
       
    28 #include "msgerrorwatcher.hrh"
       
    29 // SYSTEM INCLUDES
       
    30 #include <QObject>
       
    31 // CLASS DECLARATION
       
    32 class CMsgErrorWatcherPrivate;
       
    33 
       
    34 /**
       
    35  * Handles showing notes handled by the errowatcher
       
    36  */
       
    37 class MSGERRORWATCHER_EXPORT MsgErrorWatcher: public QObject
       
    38 {
       
    39 Q_OBJECT
       
    40 
       
    41 public:
       
    42     /**
       
    43      * Constructor
       
    44      */
       
    45     MsgErrorWatcher(QObject* parent = 0);
       
    46 
       
    47     /**
       
    48      * Destructor
       
    49      */
       
    50     ~MsgErrorWatcher();
       
    51 
       
    52 public:
       
    53     
       
    54     /**
       
    55      *  Displays notifiction dialog
       
    56      *  @param errornoteid error id
       
    57      */
       
    58     void ShowNote(TMsgErrorNoteIds errornoteid);
       
    59     
       
    60 private:
       
    61 
       
    62     /**
       
    63      * Object of private implementation.
       
    64      * Owned.
       
    65      */
       
    66     CMsgErrorWatcherPrivate* d_ptr;
       
    67 
       
    68 };
       
    69 
       
    70 #endif // MSGERRORWATCHER_H
       
    71 //EOF