epoc32/include/xmlengfilecontainer.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/xmlengfilecontainer.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,90 +0,0 @@
     1.4 -/*
     1.5 -* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
     1.6 -* All rights reserved.
     1.7 -* This component and the accompanying materials are made available
     1.8 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.9 -* which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 -*
    1.12 -* Initial Contributors:
    1.13 -* Nokia Corporation - initial contribution.
    1.14 -*
    1.15 -* Contributors:
    1.16 -*
    1.17 -* Description:       All file container data functions
    1.18 -*
    1.19 -*/
    1.20 -
    1.21 -
    1.22 -
    1.23 -
    1.24 -
    1.25 -
    1.26 -
    1.27 -#ifndef XMLENGINE_FILECONTAINER_H_INCLUDED
    1.28 -#define XMLENGINE_FILECONTAINER_H_INCLUDED
    1.29 -
    1.30 -#include "xmlengdatacontainer.h"
    1.31 -
    1.32 -class RFile;
    1.33 -
    1.34 -
    1.35 -
    1.36 -/**
    1.37 -* Instance of TXmlEngFileContainer class represents data stored in RFile in DOM tree
    1.38 -*
    1.39 -* RFile container is treated in general as text nodes in DOM tree.
    1.40 -* Some of the fields in xmlNode structure are reused in order to save memory. 
    1.41 -* Data is stored in file system referenced to by RFile handle.
    1.42 -*
    1.43 -* Sample code for creating filecontainer:
    1.44 -* @code  
    1.45 -*      RXmlEngDOMImplementation domImpl;
    1.46 -*      domImpl.OpenL();        ///< opening DOM implementation object 
    1.47 -*      RXmlEngDocument iDoc; 
    1.48 -*      ///< create document element
    1.49 -*      TXmlEngElement elem = iDoc.CreateDocumentElementL(_L8("doc"));
    1.50 -*      ///< create file container from file (file1 is an RFile object) and CID equals cid
    1.51 -*      TXmlEngFileContainer binData = iDoc.CreateFileContainerL(cid, file1);
    1.52 -*      elem.AppendChildL(binData);      ///< append container to the dom tree       
    1.53 -*      iDoc.Close();               ///< closing all opened objects
    1.54 -*      domImpl.Close();
    1.55 -* @endcode 
    1.56 -*
    1.57 -* @lib XmlEngineDOM.lib
    1.58 -* @since S60 v3.2
    1.59 -*/
    1.60 -class TXmlEngFileContainer : public TXmlEngDataContainer
    1.61 -{
    1.62 -public:
    1.63 -    /**
    1.64 -     * Get RFile reference
    1.65 -     *
    1.66 -     * @since S60 v3.2
    1.67 -     * @return RFile reference
    1.68 -     * 
    1.69 -     */
    1.70 -    IMPORT_C RFile& File() const;
    1.71 -	
    1.72 -protected:
    1.73 -    /**
    1.74 -     * Default constructor
    1.75 -	 *
    1.76 -     * @since S60 v3.1
    1.77 -     */
    1.78 -	inline TXmlEngFileContainer(); 
    1.79 -	
    1.80 -    /**
    1.81 -     * Constructor
    1.82 -     *
    1.83 -     * @since S60 v3.1
    1.84 -     * @param aInternal node pointer
    1.85 -     */
    1.86 -	inline TXmlEngFileContainer(void* aInternal);
    1.87 -};
    1.88 -
    1.89 -
    1.90 -
    1.91 -#include "xmlengfilecontainer.inl"
    1.92 -
    1.93 -#endif /* XMLENGINE_FILECONTAINER_H_INCLUDED */