summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-20 18:18:09 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-20 18:18:09 +0000
commite0d337950057c4161ebfa53e51d0f46e7efff521 (patch)
tree24253323eb8d09e69b2995cffade19c6321175b4 /unotools
parent13537fcab53ba3e0a3d70738eb2c5a75bd7cc205 (diff)
INTEGRATION: CWS reportdesign01 (1.8.56); FILE MERGED
2007/10/15 06:33:11 oj 1.8.56.1: #i79214# new method to allow to start not with zero
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/tempfile.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/unotools/inc/unotools/tempfile.hxx b/unotools/inc/unotools/tempfile.hxx
index 3fbc5c3bbd12..466466a4bfa1 100644
--- a/unotools/inc/unotools/tempfile.hxx
+++ b/unotools/inc/unotools/tempfile.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tempfile.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 14:02:33 $
+ * last change: $Author: ihi $ $Date: 2007-11-20 19:18:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -85,7 +85,15 @@ public:
The extension string may be f.e. ".txt" or "", if no extension string is given, ".tmp" is used
*/
TempFile( const String& rLeadingChars, const String* pExtension=NULL, const String* pParent=NULL,
- sal_Bool bDirectory=sal_False );
+ sal_Bool bDirectory=sal_False);
+
+ /**
+ Same as above; additionally the name starts with some given characters followed by a counter ( example:
+ rLeadingChars="abc" means "abc0","abc1" and so on, depending on existing files in the folder ).
+ The extension string may be f.e. ".txt" or "", if no extension string is given, ".tmp" is used
+ @param _bStartWithZero If set to false names will be generated like "abc","abc0","abc1"
+ */
+ TempFile( const String& rLeadingChars,sal_Bool _bStartWithZero, const String* pExtension=NULL, const String* pParent=NULL,sal_Bool bDirectory=sal_False);
/**
TempFile will be removed from disk in dtor if EnableKillingTempFile was called before.