diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_ezlib_example.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_ezlib_example.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_ezlib_example.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,85 +1,80 @@ - - -TB10.1 Example Applications: CEzlibExample Class Reference - - - - + + + + +TB9.2 Example Applications: CEzlibExample Class Reference + + + + + +

CEzlibExample Class Reference

-

-List of all members. - - - - - - - - - - - - - - - -

Public Member Functions

 ~CEzlibExample ()
+

List of all members.

+ + + + + + + + + + +

Public Member Functions

 ~CEzlibExample ()
void OpenZipFileL (RFs &aFsSession)
void GetPropertiesL (TFileName &aFileName, RFs &aFsSession)
void ExtractFilesL (const CZipFileMember *aMember, CZipFile *aZipFile, RFs &aFsSession, const TDesC &aOutputPath)
void CompressToGzipFileL (RFs &aFsSession)
void ExtractGzipFileL (RFs &aFsSession)

Static Public Member Functions

static CEzlibExampleNewLC ()
+

Detailed Description

+

Demonstrates the use of the Symbian platform Ezlib component to zip and unzip .GZ files and unzip .ZIP files. CEzlibExample publicly inherits from CBase, which is the base class for all classes to be instantiated on the heap.

-
void GetPropertiesL (TFileName &aFileName, RFs &aFsSession)
void ExtractFilesL (const CZipFileMember *aMember, CZipFile *aZipFile, RFs &aFsSession, const TDesC &aOutputPath)
void CompressToGzipFileL (RFs &aFsSession)
void ExtractGzipFileL (RFs &aFsSession)

Static Public Member Functions

static CEzlibExampleNewLC ()
-


Detailed Description

-Demonstrates the use of the Symbian platform Ezlib component to zip and unzip .GZ files and unzip .ZIP files. CEzlibExample publicly inherits from CBase, which is the base class for all classes to be instantiated on the heap. -

Definition at line 33 of file ezlibexample.h.

-

Constructor & Destructor Documentation

- +

Definition at line 33 of file ezlibexample.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CEzlibExample::~CEzlibExample CEzlibExample::~CEzlibExample (  ) 
+

Destructor

-

-Destructor -

Definition at line 100 of file ezlibexample.cpp.

+

Definition at line 100 of file ezlibexample.cpp.

-

-


Member Function Documentation

- +
+

Member Function Documentation

+
- + - + - +
CEzlibExample * CEzlibExample::NewLC CEzlibExample * CEzlibExample::NewLC (  )  [static] [static]
+

Allocates and constructs a CEzlibExample object and leaves it on the cleanup stack. Initialises all member data to their default values.

-

-Allocates and constructs a CEzlibExample object and leaves it on the cleanup stack. Initialises all member data to their default values. -

Definition at line 75 of file ezlibexample.cpp.

+

Definition at line 75 of file ezlibexample.cpp.

-

- + +

- + @@ -93,31 +88,31 @@ - +
void CEzlibExample::GetPropertiesL void CEzlibExample::GetPropertiesL ( TFileName &  aFileName,
)
- -

-Gets the properties of each member of the zip file passed to it and prints it on the console.

-

Parameters:
+

Gets the properties of each member of the zip file passed to it and prints it on the console.

+
Parameters:
aFileName Pointer to a file whose properties are to be fetched.
aFsSession File server session handle
+
-KZipArchiveError KZipFileIOError KCentralDirectoryTrailerNotFound KCentralDirectoryTrailerInvalid KMultiDiskArchivesNotSupported ... A system-wide error code. -

Definition at line 123 of file ezlibexample.cpp.

+

KZipArchiveError KZipFileIOError KCentralDirectoryTrailerNotFound KCentralDirectoryTrailerInvalid KMultiDiskArchivesNotSupported ... A system-wide error code.

+ +

Definition at line 123 of file ezlibexample.cpp.

-

- + +

- + @@ -143,85 +138,84 @@ - +
void CEzlibExample::ExtractFilesL void CEzlibExample::ExtractFilesL ( const CZipFileMember *  aMember,
)
- -

-Extracts and saves the members of a zip file to the directory passed to the function as aOutputPath.

-

Parameters:
+

Extracts and saves the members of a zip file to the directory passed to the function as aOutputPath.

+
Parameters:
aMember Pointer to CZipFileMember class
aZipFile Pointer to CZipFile class
aFsSession File server session handle
aOutputPath Path where the file needs to be extracted to
+
-... A system-wide error code. -

Definition at line 218 of file ezlibexample.cpp.

+

... A system-wide error code.

+ +

Definition at line 218 of file ezlibexample.cpp.

-

- + +

- + - + - +
void CEzlibExample::CompressToGzipFileL void CEzlibExample::CompressToGzipFileL ( RFs &  aFsSession aFsSession  ) 
- -

-Compresses the error.wav file into a gzip file and stores it in the c:\private\e80000b7\gzip\extracts directory.

-

Parameters:
+

Compresses the error.wav file into a gzip file and stores it in the c:\private\e80000b7\gzip\extracts directory.

+
Parameters:
aFsSession File server session handle KErrAlreadyExists ... A system-wide error code.
+
-

Definition at line 353 of file ezlibexample.cpp.

+

Definition at line 353 of file ezlibexample.cpp.

-

- + +

- + - + - +
void CEzlibExample::ExtractGzipFileL void CEzlibExample::ExtractGzipFileL ( RFs &  aFsSession aFsSession  ) 
- -

-Opens the icon.bmp.gz file and decompresses it to the c:\private\e80000b7\gzip\extracts directory.

-

Parameters:
+

Opens the icon.bmp.gz file and decompresses it to the c:\private\e80000b7\gzip\extracts directory.

+
Parameters:
aFsSession File server session handle KErrAlreadyExists ... A system-wide error code.
+
-

Definition at line 285 of file ezlibexample.cpp.

+

Definition at line 285 of file ezlibexample.cpp.

-

-


Generated on Thu Jan 21 10:33:05 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2