diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-DE099071-8401-5DD0-B72A-672B307463A2.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-DE099071-8401-5DD0-B72A-672B307463A2.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,14 @@ + + + + + +Porting with Zsh

Zsh has no platform security capabilities, that is, it cannot directly access the private directories on a device. However, you can make use of two library functions from the static library (copydatafile.lib) to copy data between public and private directories:

These library functions can be linked to External Programs to copy the data under a private directory to and from a public directory, c:\shellpub. Note that these functions are not part of Zsh; they are in a separate library and it is not mandatory to use them.

Using these library functions, here is one way of copying data, so that it can be accessed with Zsh:

  1. To copy the files from public directory c:\shellpub\<SID> to \private\<SID>, call the CopyToPrivateL() function while you start the application.

  2. As the c:\shellpub directory is public, you can view or modify files in it from Zsh.

  3. Each application replicates its directory structure under c:\shellpub starting with <SID> so that they do not overwrite private files of the same name belonging to other applications.

  4. To copy the files from \private\<SID> to a public directory c:\shellpub\<SID>, call the CopyToPublicL() function while you exit the application.

See also

Supported Zsh Features

\ No newline at end of file