remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.h
branchRCL_3
changeset 9 57a65a3a658c
child 11 06f47423ecee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/dm_native_notifier_api/inc/DMNativeNotifier.h	Fri Feb 19 23:41:35 2010 +0200
@@ -0,0 +1,58 @@
+/*
+* 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 the License "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: Defines the class which will load the DMNotifier plugin and would service the caller.
+*     
+*/
+
+#ifndef DMNATIVENOTIFIER_H
+#define DMNATIVENOTIFIER_H
+
+
+#include <DMNativeNotifierInterface.h>
+
+enum{
+    EDMDialogNotAccepted = 0,
+    EDMDialogAccepted = 1,
+    EDMDialogActive = 2
+};
+class CDMNativeNotifier : public CBase, public MDMNativeNotifierInterface
+{
+ public:
+    
+    /**
+    * Two-phased constructor.
+    */
+    static CDMNativeNotifier* NewL(TUid aOperationId);
+	
+    /**
+    * Destructor.
+    */
+	virtual ~CDMNativeNotifier();
+
+ public:
+	/**
+	* Function to list all the implementations
+	*/
+	static void ListImplementationsL(RImplInfoPtrArray& aImplInfoArray);
+
+ private:
+	// Instance identifier key
+	TUid iDtor_ID_Key;
+};
+
+#include "DMNativeNotifier.inl"
+
+#endif  // DMNATIVENOTIFIER_H
+
+//End of file