photosgallery/collectionframework/datasource/plugins/glxdatasourcemde/inc/glxdatasourcemde.inl
changeset 0 4e91876724a2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/photosgallery/collectionframework/datasource/plugins/glxdatasourcemde/inc/glxdatasourcemde.inl	Thu Dec 17 08:45:44 2009 +0200
@@ -0,0 +1,173 @@
+/*
+* 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:    Inline methods for  Data Source MDE
+*
+*/
+
+
+
+
+/**
+ * @internal reviewed 10/07/2007 by M Byrne
+ */
+
+#include <glxpanic.h>
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::Session
+// ----------------------------------------------------------------------------
+// 
+CMdESession& CGlxDataSourceMde::Session() const
+    {
+    __ASSERT_DEBUG(iSessionOpen, Panic(EGlxPanicDatasourceMdeSessionNotOpen));
+    return *iSession;
+    }
+
+#ifndef USE_S60_TNM
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::ThumbnailCreator
+// ----------------------------------------------------------------------------
+// 
+CGlxtnThumbnailCreator& CGlxDataSourceMde::ThumbnailCreator() const
+    {
+    return *iThumbnailCreator;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::ThumbnailDatabase
+// ----------------------------------------------------------------------------
+// 
+CGlxtnThumbnailDatabase& CGlxDataSourceMde::ThumbnailDatabase() const
+    {
+    return *iThumbnailDatabase;
+    }
+#endif
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::FileServerSession
+// ----------------------------------------------------------------------------
+// 
+RFs& CGlxDataSourceMde::FileServerSession()
+    {
+    return iFs;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::CameraAlbumId
+// ----------------------------------------------------------------------------
+// 
+const TGlxMediaId& CGlxDataSourceMde::CameraAlbumId() const
+    {
+    return iCameraAlbumId;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::FavoritesId
+// ----------------------------------------------------------------------------
+// 
+const TGlxMediaId& CGlxDataSourceMde::FavoritesId() const
+    {
+    return iFavoritesId;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::NamespaceDef
+// ----------------------------------------------------------------------------
+// 
+CMdENamespaceDef* CGlxDataSourceMde::NamespaceDef() const
+    {
+    return iNameSpaceDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::ObjectDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::ObjectDef() const
+    {
+    return *iObjectDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::ImageDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::ImageDef() const
+    {
+    return *iImageDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::VideoDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::VideoDef() const
+    {
+    return *iVideoDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::MediaDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::MediaDef() const
+    {
+    return *iMediaDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::AlbumDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::AlbumDef() const
+    {
+    return *iAlbumDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::TagDef
+// ----------------------------------------------------------------------------
+// 
+CMdEObjectDef& CGlxDataSourceMde::TagDef() const
+    {
+    return *iTagDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::MonthDef
+// ----------------------------------------------------------------------------
+//  
+CMdEObjectDef& CGlxDataSourceMde::MonthDef() const
+    {
+    return *iMonthDef;
+    }
+
+// ----------------------------------------------------------------------------
+//  CGlxDataSourceMde::ContainsDef
+// ----------------------------------------------------------------------------
+//    
+CMdERelationDef& CGlxDataSourceMde::ContainsDef() const
+    {
+    return *iContainsDef;
+    }
+
+// ---------------------------------------------------------------------------
+// CGlxDataSourceMde::LocationDef
+// ---------------------------------------------------------------------------
+//   
+CMdEObjectDef&  CGlxDataSourceMde::LocationDef() const
+	{
+	return *iLocationDef;
+	}
+