phonesrv_plat/phone_settings_ui_notes_api/inc/psuiclinotehandler.h
changeset 53 25b8d29b7c59
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonesrv_plat/phone_settings_ui_notes_api/inc/psuiclinotehandler.h	Fri Oct 15 13:21:28 2010 +0300
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2010 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 PSUICLINOTEHANDLER_H_
+#define PSUICLINOTEHANDLER_H_
+
+#include <QObject>
+#include <QList>
+#include <psetcliwrapper.h>
+
+class PSetCliWrapper;
+
+#ifdef BUILD_PSUINOTES
+#define PSUINOTES_EXPORT Q_DECL_EXPORT
+#else
+#define PSUINOTES_EXPORT Q_DECL_IMPORT
+#endif
+
+class PSUINOTES_EXPORT PsUiCliNoteHandler : public QObject
+{
+    Q_OBJECT
+    
+public:
+    PsUiCliNoteHandler(PSetCliWrapper& cliWrapper);
+    ~PsUiCliNoteHandler();
+
+public slots: // Slots: 
+
+    void handleCliRequesting( bool ongoing, bool interrupted ); 
+
+    void cliInformation( const PsCallLineIdentity& type );
+
+    void handleCliError( int error );
+    
+    void handleCnapStatus( int status );
+
+private:   // data
+   
+    // For cli signals
+    PSetCliWrapper& m_cliWrapper;
+     
+    // Current active note id 
+    int m_activeNoteId;
+    
+    // Current progress note id
+    int m_activeProgressNoteId;
+   
+};
+
+#endif /* PSUICLINOTEHANDLER_H_ */