kerneltest/f32test/smassstorage/src/t_ms_fsunit.cpp
changeset 109 b3a1d9898418
parent 90 947f0dc9f7a8
child 257 3e88ff8f41d5
child 271 dc268b18d709
equal deleted inserted replaced
102:ef2a444a7410 109:b3a1d9898418
   193 EXPORT_C TInt CFsObject::Open()
   193 EXPORT_C TInt CFsObject::Open()
   194 	{
   194 	{
   195 	return KErrNone;
   195 	return KErrNone;
   196 	}
   196 	}
   197 //------------------------------------	
   197 //------------------------------------	
   198 CFileSystem::CFileSystem(void)
   198 EXPORT_C CFileSystem::CFileSystem(void)
   199 	{
   199 	{
   200 	}
   200 	}
   201 CFileSystem::~CFileSystem(void)
   201 EXPORT_C CFileSystem::~CFileSystem(void)
   202 	{
   202 	{
   203 	}
   203 	}
   204 	
   204 	
   205 
   205 
   206 TInt CFileSystem::DefaultPath(TDes& /*aPath*/) const 
   206 TInt CFileSystem::DefaultPath(TDes& /*aPath*/) const 
   293 {}
   293 {}
   294 
   294 
   295 CFsDispatchObject::~CFsDispatchObject()
   295 CFsDispatchObject::~CFsDispatchObject()
   296 	{
   296 	{
   297 	}
   297 	}
   298 int CFsDispatchObject::IsCorrectThread(void)
   298 EXPORT_C int CFsDispatchObject::IsCorrectThread(void)
   299 	{
   299 	{
   300 	return ETrue;
   300 	return ETrue;
   301 	}
   301 	}
   302 
   302 
   303 EXPORT_C void CFsDispatchObject::Close()
   303 EXPORT_C void CFsDispatchObject::Close()
   307 EXPORT_C void CMountCB::IsFileInRom(const TDesC& /*aFileName*/,TUint8*& aFileStart)
   307 EXPORT_C void CMountCB::IsFileInRom(const TDesC& /*aFileName*/,TUint8*& aFileStart)
   308 	{
   308 	{
   309 	aFileStart=NULL;
   309 	aFileStart=NULL;
   310 	}
   310 	}
   311 
   311 
   312 int CLocDrvMountCB::CreateLocalDrive(class TBusLocalDrive &) 
   312 EXPORT_C int CLocDrvMountCB::CreateLocalDrive(class TBusLocalDrive &) 
   313 
   313 
   314 	{
   314 	{
   315 	return KErrNone;
   315 	return KErrNone;
   316 	}
   316 	}
   317 void CLocDrvMountCB::DismountedLocalDrive(void) 
   317 EXPORT_C void CLocDrvMountCB::DismountedLocalDrive(void) 
   318 	{
   318 	{
   319 	}
   319 	}
   320 	
   320 	
   321 EXPORT_C void WriteToDisk(const TDesC& /*aFileName*/, const TDesC8& /*aBuf*/)
   321 EXPORT_C void WriteToDisk(const TDesC& /*aFileName*/, const TDesC8& /*aBuf*/)
   322 	{
   322 	{
   323 	}
   323 	}
   324 
   324 
   325 // Implement the GetInterface methods here as these are usually 
   325 // Implement the GetInterface methods here as these are usually 
   326 // exported by EFILE, but these unit tests don't link to it.
   326 // exported by EFILE, but these unit tests don't link to it.
   327 
   327 
   328 TInt CMountCB::GetInterface(TInt /*aInterfaceId*/, TAny*& /*aInterface*/, TAny* /*aInput*/)
   328 EXPORT_C TInt CMountCB::GetInterface(TInt /*aInterfaceId*/, TAny*& /*aInterface*/, TAny* /*aInput*/)
   329 	{
   329 	{
   330 	return KErrNotSupported;
   330 	return KErrNotSupported;
   331 	}
   331 	}
   332 
   332 
   333 TInt CFileSystem::GetInterface(TInt /*aInterfaceId*/, TAny*& /*aInterface*/, TAny* /*aInput*/)
   333 EXPORT_C TInt CFileSystem::GetInterface(TInt /*aInterfaceId*/, TAny*& /*aInterface*/, TAny* /*aInput*/)
   334 	{
   334 	{
   335 	return KErrNotSupported;
   335 	return KErrNotSupported;
   336 	}
   336 	}
   337 
   337