Autodoc comments and header guards added

This commit is contained in:
Laszlo Kovacs
2002-09-23 13:17:49 +00:00
parent 6238f59428
commit da13258c15
2 changed files with 54 additions and 17 deletions

View File

@@ -2,8 +2,8 @@
*
* $RCSfile: ScriptStorage.cxx,v $
*
* $Revision: 1.1 $
* last change: $Author: dfoster $ $Date: 2002-09-20 14:33:51 $
* $Revision: 1.2 $
* last change: $Author: lkovacs $ $Date: 2002-09-23 14:17:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -508,6 +508,15 @@ throw (lang::IllegalArgumentException,
}
//*************************************************************************
/**
copies a parcel to a temporary location
@params parcelURI
the location of the parcel (file URI) to be copied
@return
<type>::rtl::OUString</type> the new location of the parcel (file URI)
*/
OUString SAL_CALL ScriptStorage::prepareForInvocation( const OUString& parcelURI ) throw (RuntimeException)
{
try
@@ -552,6 +561,13 @@ OUString SAL_CALL ScriptStorage::prepareForInvocation( const OUString& parcelURI
throw RuntimeException(temp.concat(e.Message),
Reference<XInterface> ());
}
catch(Exception &e)
{
OUString temp = OUSTR(
"ScriptStorage::prepareForInvocation UnknownException: ");
throw RuntimeException(temp.concat(e.Message),
Reference<XInterface> ());
}
#ifdef _DEBUG
catch ( ... )
{
@@ -564,12 +580,18 @@ OUString SAL_CALL ScriptStorage::prepareForInvocation( const OUString& parcelURI
//*************************************************************************
/**
* This function copies the contents of the source folder into the
* destination folder. If the destination folder does not exist, it
* is created. If the destination folder exists, it is deleted and then
* created. All URIs supported by the relevant XSimpleFileAccess
* implementation are supported.
*/
This function copies the contents of the source folder into the
destination folder. If the destination folder does not exist, it
is created. If the destination folder exists, it is deleted and then
created. All URIs supported by the relevant XSimpleFileAccess
implementation are supported.
@params src
the source folder (file URI)
@params dest
the destination folder (file URI)
*/
void ScriptStorage::copyFolder(const OUString &src, const OUString &dest) throw (RuntimeException)
{
try