remotestoragefw/remotefilesystemplugin/src/rsfwfs.cpp
branchRCL_3
changeset 20 1aa8c82cb4cb
parent 0 3ad9d5175a89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotestoragefw/remotefilesystemplugin/src/rsfwfs.cpp	Wed Sep 01 12:15:08 2010 +0100
@@ -0,0 +1,44 @@
+/*
+* Copyright (c) 2003-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:  Allows creating a Remote Storage FW file system plug-in from
+*              : a factory function.
+*
+*/
+
+
+
+// INCLUDE FILES
+#include "rsfwfilesystem.h"
+#include "rsfwsession.h"
+#include "rsfwinterface.h"
+
+
+// -----------------------------------------------------------------------------
+// CreateFileSystem 
+// Implements factory function for creating new file systems.
+// Allows creating a Remote Storage FW file system plug-in from this DLL.
+// Returns: CRemoteFsFileSystem*: pointer to the Remote Storage FW file system 
+//                                plug-in main class
+// -----------------------------------------------------------------------------
+//
+extern "C"
+    {
+    EXPORT_C CFileSystem* CreateFileSystem()
+        {
+        
+        return(CRsfwFileSystem::New());
+        
+        }
+    }
+