email_plat/nmail_client_api/nmcommon_api.h
changeset 23 2dc6caa42ec3
parent 20 ecc8def7944a
child 25 61b206842ac4
child 27 9ba4404ef423
child 38 b4618f2cf6ac
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
     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 #ifndef NMAPICOMMON_API_H_
       
    19 #define NMAPICOMMON_API_H_
       
    20 
       
    21 #include <QtCore>
       
    22 
       
    23 /*!
       
    24  * Enum to describe mailbox events
       
    25  */
       
    26 enum MailboxEvent
       
    27 {
       
    28     MailboxCreated, MailboxDeleted
       
    29 };
       
    30 Q_DECLARE_METATYPE ( MailboxEvent)
       
    31 /*!
       
    32  * Enum to describe message events.
       
    33  */
       
    34 enum MessageEvent {
       
    35     MessageCreated,
       
    36     MessageDeleted,
       
    37     MessageChanged    
       
    38 };
       
    39 
       
    40 Q_DECLARE_METATYPE(MessageEvent)
       
    41 #endif /* NMCOMMON_API_H_ */