summaryrefslogtreecommitdiffstats
path: root/unotools/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-14 01:05:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-14 08:19:57 +0200
commit24d333676a54f48ed0c989fb54b42a9af899127f (patch)
treef565dee7a2efc7ad0a234190e3d96ccd61316f8f /unotools/inc
parentcallcatcher: actually remove INetContentTypes::GetExtension (diff)
downloadcore-24d333676a54f48ed0c989fb54b42a9af899127f.tar.gz
core-24d333676a54f48ed0c989fb54b42a9af899127f.zip
Revert "callcatcher: remove unused TempFile::SetTempNameBaseDirectory from unotools"
This reverts commit 817875a7126b403ab029ca1fa06c9d3297bd24b2.
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/tempfile.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/unotools/inc/unotools/tempfile.hxx b/unotools/inc/unotools/tempfile.hxx
index b30f2eb4f7bd..2030b1ab0791 100644
--- a/unotools/inc/unotools/tempfile.hxx
+++ b/unotools/inc/unotools/tempfile.hxx
@@ -143,6 +143,17 @@ public:
conversion functions of osl.
*/
static String CreateTempName( const String* pParent=NULL );
+
+ /**
+ The TempNameBaseDirectory is a subfolder in the folder that is passed as a "physical" file name in the
+ SetTempNameBaseDirectory method.
+ This subfolder will be used if a TempFile or TempName is created without a parent name or a parent name
+ that does not belong to the local file system.
+ The caller of the SetTempNameBase is responsible for deleting this folder and all temporary files in it.
+ The return value of both methods is the complete "physical" name of the tempname base folder.
+ It is not a URL because alle URLs must be "UCB compatible", so there may be no suitable URL at all.
+ */
+ static String SetTempNameBaseDirectory( const String &rBaseName );
};
}