remotestoragefw/rsfwnotifierplugins/inc/rsfwnotpluginrequest.h
branchRCL_3
changeset 20 1aa8c82cb4cb
parent 0 3ad9d5175a89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotestoragefw/rsfwnotifierplugins/inc/rsfwnotpluginrequest.h	Wed Sep 01 12:15:08 2010 +0100
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2006 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:  notifier plugin request encapsulation
+*
+*/
+
+#ifndef T_RSFWNOTPLUGINGREQUEST_H
+#define T_RSFWNOTPLUGINGREQUEST_H
+
+const TUid KRsfwNotifierPluginUID     = { 0x101F9770 }; 
+
+// CONSTANTS
+const TInt KRsfwMaxDrivenameLength = 20;
+const TInt KRsfwMaxDriveletterLength = 2;
+const TInt KRsfwMaxFileSizeString = 20;
+const TInt KRsfwMaxUsernameLength = 50;
+const TInt KRsfwMaxPasswordLength = 50;
+const TInt KRsfwNotifierMsgDataMaxSize = 1024;
+
+/**
+* Class TRsfwNotPluginRequest
+* Base class for fixed sized requests transferred between client and plug-in
+* notifier implementation.
+* This is used internally. This should not be instantiated by the clients.
+*/
+class TRsfwNotPluginRequest
+   	{
+	public:
+
+   		/**
+   		*  List of supported functionalities in plug-in implementation
+   		*/
+   		enum TRsfwNotPluginMethod
+       	{
+       	ENoMethod,
+       	EAuthenticationDlg,
+       	ESaveToDlg,
+       	EUnavailableRetryDlg,
+       	// wait dialogs, note that these could come after EUnavailableRetryDlg
+       	EConnectingDlg,
+       	EFetchingDlg
+       	};
+       	
+       	
+    // method	
+    TRsfwNotPluginMethod iMethod;
+    
+    // Drive Friendly name
+    TBuf<KRsfwMaxDrivenameLength>  iDriveName;
+    
+    
+    };
+
+// Package buffer to hold parameter information
+typedef TPckgBuf<TRsfwNotPluginRequest> TRsfwRetryParamsPckg;
+
+#endif
\ No newline at end of file