VFS redesign and platform specific code

Eunsoo Roh <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <[email protected]>
I am looking for someplace to put Win32-specific implementation of chmod()-ish function used by iFileSystem::GetFilePermission (). I'm currently considering adding wrappers in CS::Platform namespace at platformfile.h and platformfile.cpp. Would this be a good choice?Also, I might need to convert Win32 errors into VFS error codes, or possibly some intermediate form that can be returned from another wrapper function. Any suggestions on where to put and how to do it? Would something like the following would be fine: CS::Platform::GetError () returning errno on posix and GetLastError () on Windows?
touko

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.