--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contentstorage/caclient/inc/canotifier_p.h Tue Aug 31 15:30:51 2010 +0300
@@ -0,0 +1,65 @@
+/*
+ * 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: canotifier_p.h
+ *
+ */
+
+#ifndef CANOTIFIER_PRIVATE_H
+#define CANOTIFIER_PRIVATE_H
+
+#include <QSharedPointer>
+
+class CaClientNotifierProxy;
+class CaNotifier;
+class CaNotifierFilter;
+class CaObserver;
+class CaService;
+
+class CaNotifierPrivate
+{
+public:
+
+ enum NotifierType {
+ EntryChangedWithIdNotifierType = 0,
+ EntryChangedWithEntryNotifierType,
+ EntryTouchedNotifierType,
+ GroupContentChangedNotifierType
+ };
+
+ CaNotifierPrivate(const CaNotifierFilter ¬ifierFilter,
+ CaClientNotifierProxy *notifierProxy);
+ ~CaNotifierPrivate();
+
+ int registerNotifier(NotifierType notifierType);
+ void unregisterNotifier(NotifierType notifierType);
+
+ void makeConnect();
+
+private:
+
+ const CaNotifier *m_q;
+
+ const CaNotifierFilter *mNotifierFilter;
+
+ const CaObserver *mObserver;
+
+ CaClientNotifierProxy *mNotifierProxy;
+
+ QSharedPointer<CaService> mCaService;
+
+ friend class CaNotifier;
+
+};
+
+#endif // CANOTIFIER_PRIVATE_H