RSenDocument.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : RSenDocument.h
00004 *  Part of     : Web Services Fragment Base
00005 *  Description : Class extends RDocument, enabling handle counting
00006 *  Version     : 1.0
00007 *
00008 *  Copyright © 2002-2006 Nokia. All rights reserved.
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia. All rights are reserved. Copying, including 
00012 *  reproducing, storing, adapting or translating, any 
00013 *  or all of this material requires the prior written consent of 
00014 *  Nokia. This material also contains confidential 
00015 *  information which may not be disclosed to others without the 
00016 *  prior written consent of Nokia.
00017 * ==============================================================================
00018 */
00019 
00020 
00021 #ifndef R_SEN_DOCUMENT
00022 #define R_SEN_DOCUMENT
00023 
00024 #include <xmlengdocument.h>
00025 #include <xmlengdomimplementation.h>
00026 
00027 typedef struct
00028     {
00029     TInt* ipOpenDocuments;
00030     void* iInternal;
00031     RXmlEngDOMImplementation iDomImpl;
00032     } TSenDocumentData;
00033 
00034 class RSenDocument : public RXmlEngDocument
00035     {
00036     public:
00037 
00038 
00044         /*inline RSenDocument():RDocument()
00045             {
00046             ipOpenDocuments = new (ELeave) TInt(1);
00047             }*/
00048 
00054         IMPORT_C static RSenDocument NewL();
00055 
00061         IMPORT_C static RSenDocument NewLC();
00062 
00069         IMPORT_C static RSenDocument NewL(void* aInternal);
00070 
00077         IMPORT_C static RSenDocument NewLC(void* aInternal);
00078 
00086         IMPORT_C RSenDocument Copy();
00087         
00099         IMPORT_C void Close();
00100         
00112         IMPORT_C void Destroy();
00113         
00121         IMPORT_C static TInt ManualXmlEngineTlsAttachL();
00122 
00129         IMPORT_C static TInt ManualXmlEngineTlsCleanup();
00130 
00131     public:
00132         TSenDocumentData* ipData;
00133     };
00134 
00135 #endif // R_SEN_DOCUMENT
00136 
00137 // End of File
00138 
00139 

Copyright © Nokia Corporation 2001-2007
Back to top