remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogsymbian.h
branchRCL_3
changeset 25 b183ec05bd8c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogsymbian.h	Tue Aug 31 16:04:06 2010 +0300
@@ -0,0 +1,99 @@
+/*
+* 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:  Symbian specific constants for the device dialog.
+*
+*/
+
+
+
+#ifndef DEVICEDIALOGSYMBIAN_H
+#define DEVICEDIALOGSYMBIAN_H
+
+//  INCLUDES
+
+// CONSTANTS
+const TUint KSyncMLMaxServerMsgLength = 200;
+
+// MACROS
+
+// FORWARD DECLARATIONS
+class TSyncMLAppLaunchNotifParams;
+class TSyncMLDlgNotifParams;
+
+enum TSyncMLSessionTypes
+    {
+    ESyncMLUnknownSession,
+    ESyncMLSyncSession,
+    ESyncMLMgmtSession,
+    };
+
+enum TSyncMLDlgNoteTypes
+    {
+    ESyncMLInfoNote,
+    ESyncMLErrorNote,
+    ESyncMLOkQuery,
+    ESyncMLYesNoQuery
+  };
+  
+enum TSyncMLSANSupport
+    {
+    ESANNotSpecified,
+    ESANSilent,
+    ESANUserInformative,
+    ESANUserInteractive
+    };
+
+/**
+* Struct to allow the sending of parameters to SyncML application
+* starter notifier plugin.
+*
+*  @lib SyncMLNotifier
+*  @since Series 60 3.0
+*/
+class TSyncMLAppLaunchNotifParams
+	{
+    public:
+        // Type of the SyncML session to be initiated. 
+	    TSyncMLSessionTypes iSessionType;
+        // Identifier of the job requested.
+	    TInt iJobId;
+	    // Identifier of the profile used
+	    TInt iProfileId;
+       // Server alert Ui mode
+	    TInt iUimode;
+	};
+/**
+* Struct to allow the sending of parameters to SyncML server
+* dialog notifier plugin.
+*
+*  @lib SyncMLNotifier
+*  @since Series 60 3.0
+*/
+class TSyncMLDlgNotifParams
+	{
+    public:
+        // Type of the query or note to be shown.
+	    TSyncMLDlgNoteTypes iNoteType;
+        // Message to be shown on the screen.
+	    TBufC<KSyncMLMaxServerMsgLength> iServerMsg;		   
+        // Timeout of the note (in seconds). 0 = No timeout.
+	    TInt iMaxTime;
+	    //Max length
+	    TInt iMaxLength;	    
+	};
+	
+
+#endif      // DEVICEDIALOGSYMBIAN_H   
+
+// End of File