diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-08-17 12:02:13 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-08-17 12:02:13 +0000 |
commit | 4aee767252a8e145a5ac78654ecc01cc9bb2986d (patch) | |
tree | bfdea7f4af5487a45a49c9285b02d8b8542ec805 /idlc | |
parent | cd29b8d1e44472ae91cf7c72611eea1751df452e (diff) |
#91088# insert convert function
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/idlc/idlc.hxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/idlc/inc/idlc/idlc.hxx b/idlc/inc/idlc/idlc.hxx index f00296d3daeb..d4ce13cda4c5 100644 --- a/idlc/inc/idlc/idlc.hxx +++ b/idlc/inc/idlc/idlc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: idlc.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jsc $ $Date: 2001-03-15 12:23:01 $ + * last change: $Author: jsc $ $Date: 2001-08-17 13:02:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,6 +71,14 @@ #include <idlc/options.hxx> #endif +#ifdef SAL_UNX +#define SEPARATOR '/' +#define PATH_SEPARATOR "/" +#else +#define SEPARATOR '\\' +#define PATH_SEPARATOR "\\" +#endif + class AstModule; class Options; class ErrorHandler; @@ -164,6 +172,13 @@ sal_Int32 SAL_CALL produceFile(const ::rtl::OString& fileName); void SAL_CALL removeIfExists(const ::rtl::OString& fileName); sal_Bool SAL_CALL canBeRedefined(AstDeclaration *pDecl); +::rtl::OString makeTempName(const ::rtl::OString& prefix, const ::rtl::OString& postfix); +sal_Bool copyFile(const ::rtl::OString& sourceFile, const ::rtl::OString& targetFile); + +sal_Bool isFileUrl(const ::rtl::OString& fileName); +::rtl::OString convertToAbsoluteSystemPath(const ::rtl::OString& fileName); +::rtl::OString convertToFileUrl(const ::rtl::OString& fileName); + class AstType; AstType* SAL_CALL resolveTypeDef(AstType* pType); |