--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/nmclientapi/inc/nmapiprivateclasses.h Fri May 14 15:41:10 2010 +0300
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:
+ *
+ */
+
+#ifndef NMAPIPRIVATECLASSES_H
+#define NMAPIPRIVATECLASSES_H
+
+#include <nmapidef.h>
+#include <QList>
+#include <QMetaType>
+
+/*!
+ Enum for internal info about changes in emial store
+ */
+enum NmApiAction
+{
+ ENew, EChange, EDeleted
+};
+
+/*!
+ Enum for internal info about object type when change in email store is done.
+ */
+enum NmApiObjectType
+{
+ EMailbox, EFolder, EMessage
+};
+
+/*!
+ It keeps data with information about change in email store.
+
+ It is grouped in list of object by event when mailbox change and by
+ event, mailboxId anf folderId when messages change.
+ */
+struct NmApiMessage
+{
+ NmApiAction action;
+ NmApiObjectType objectType;
+
+ QList<quint64> objectIds;
+
+ quint64 mailboxId;
+ quint64 folderId;
+
+};
+Q_DECLARE_METATYPE(NmApiMessage)
+
+#endif /* NMAPIPRIVATECLASSES_H */