--- a/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserver.cpp Tue May 25 13:01:47 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserver.cpp Wed Jun 09 10:01:32 2010 +0300
@@ -1640,3 +1640,28 @@
return KErrNone;
}
+// -----------------------------------------------------------------------------
+// CThumbnailServer::IsPublicPath
+// -----------------------------------------------------------------------------
+//
+
+TBool CThumbnailServer::IsPublicPath( const TDesC& aPath )
+ {
+ TInt pos = aPath.FindF(KPrivateFolder);
+
+ if ( pos == 1 )
+ {
+ TN_DEBUG1( "CThumbnailServer::IsPublicPath() NO");
+ return EFalse;
+ }
+
+ pos = aPath.FindF(KSysFolder);
+ if ( pos == 1 )
+ {
+ TN_DEBUG1( "CThumbnailServer::IsPublicPath() NO");
+ return EFalse;
+ }
+
+ return ETrue;
+ }
+