Started on TrashCan implementation

Steven Edwards steven_ed4153 at yahoo.com
Wed Apr 13 11:57:09 CDT 2005


Hi,
This is my first real attempt to add a new feature so its going to take quite some time. My long
term goal is to implement the RecycleBin for ReactOS and for Wine to make it interface with the
FreeDesktop.org draft trashcan spec. The latter might require a extension to Wines or some other
process to move files out of the C:\Recycled folder and in to the users ~/Desktop/Trash

I have started by adding a little support for the FOF_ALLOWUNDO flag in SHFileOperationW. Windows
can use either Drive:\Recycled or Drive:\Recycler depending on if the TrashCan is on a NTFS drive
or not so I am not sure how we want to handle it in Wine. With my first patch if you delete a file
with this flag it will move the file to C:\Trash which is a file not a directory.

I am using the sample programs here to reverse how its supposed to work

http://www.maddogsw.com/cmdutils/

If anyone would like to help they can start working on the namespace stuff needed for the
RecycleBin. 

Thanks
Steven



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trashcan-4.13.05.patch
Type: text/x-patch
Size: 2658 bytes
Desc: trashcan-4.13.05.patch
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050413/af5e710c/trashcan-4.13.05.bin


More information about the wine-devel mailing list