UI: Add function to find default video save path

On windows this will return the documents\video directory, but on
linux/mac it'll just return $HOME for the time being because I don't
know if there really are any other appropriate adequate paths to use.
Perhaps someone else can be willing to fill this in if they wish.
This commit is contained in:
jp9000
2014-05-20 23:08:47 -07:00
parent 1e525c4713
commit 765ac2a76b
4 changed files with 24 additions and 0 deletions
+5
View File
@@ -101,3 +101,8 @@ bool InitApplicationBundle()
{
return true;
}
string GetDefaultVideoSavePath()
{
return string(getenv("HOME"));
}