On Wed, Jul 22, 2009 at 10:09 PM, D. Michael
McIntyre<[email protected]> wrote:
> On Wednesday 22 July 2009, Julie S wrote:
>
>> Sounds pretty elegant.  Always keeps cleans up ever even if it bombs.  We
>> are assured that the next run would tidy up its last mess
>
> Sounds fine, but rather more involved than I had in mind.  I think Chris just
> volunteered himself to shuffle some code across from SV.

Hey, looks like I already did -- see
gui/general/TempDirectory.{cpp,h}.  Just ask its instance for the
directory path, and it will be created if necessary and returned to
you.  Deleted on exit, cleaned up the next time it's used after a
crash.

The files are actually created in $HOME/.rosegarden.tmp as it stands,
rather than /tmp.  We could debate that.


Chris

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to