idlehomescreen/inc/xndompropertyvalue.h
changeset 2 08c6ee43b396
parent 0 f72a12da539e
equal deleted inserted replaced
1:5315654608de 2:08c6ee43b396
    92     public:  // Constructors and destructor
    92     public:  // Constructors and destructor
    93         
    93         
    94         /**
    94         /**
    95         * Two-phased constructor.
    95         * Two-phased constructor.
    96         */
    96         */
    97         IMPORT_C static CXnDomPropertyValue* NewL( CXnDomStringPool& aStringPool );
    97         IMPORT_C static CXnDomPropertyValue* NewL( CXnDomStringPool* aStringPool );
    98         
    98         
    99         /**
    99         /**
   100         * Two-phased stream constructor.
   100         * Two-phased stream constructor.
   101         */
   101         */
   102         static CXnDomPropertyValue* NewL( 
   102         static CXnDomPropertyValue* NewL( 
   103             RReadStream& aStream, 
   103             RReadStream& aStream, 
   104             CXnDomStringPool& aStringPool );
   104             CXnDomStringPool* aStringPool );
   105         
   105         
   106         /**
   106         /**
   107         * Destructor.
   107         * Destructor.
   108         */
   108         */
   109         IMPORT_C virtual ~CXnDomPropertyValue();
   109         IMPORT_C virtual ~CXnDomPropertyValue();
   223         * @param aStringPoolIndex String pool index.
   223         * @param aStringPoolIndex String pool index.
   224         */
   224         */
   225         IMPORT_C void SetStringPoolIndexL( 
   225         IMPORT_C void SetStringPoolIndexL( 
   226             TPrimitiveValueType aValueType,
   226             TPrimitiveValueType aValueType,
   227             TInt16 aStringPoolIndex );
   227             TInt16 aStringPoolIndex );
       
   228 
   228         /**
   229         /**
   229         * Get the property's string pool index. If type is not string,
   230         * Get the property's string pool index. If type is not string,
   230         * function will leave with KErrNotSupported. 
   231         * function will leave with KErrNotSupported. 
   231         * @since Series 60 3.1
   232         * @since Series 60 3.1
   232         * @return String pool index.
   233         * @return String pool index.
   233         */
   234         */
   234         IMPORT_C TInt16 StringPoolIndexL()const; 
   235         IMPORT_C TInt16 StringPoolIndexL()const; 
       
   236         
       
   237         /**
       
   238          * Swap used string pool.
       
   239          * 
       
   240          * @param aStringPool   New string pool to be used.
       
   241          *                      Ownership not transferred!
       
   242          */
       
   243         IMPORT_C void SwapStringPoolL( CXnDomStringPool* aStringPool );         
   235     
   244     
   236     public: //From MXnDomListItem    
   245     public: //From MXnDomListItem    
   237         /**
   246         /**
   238         * Documented in MXnDomListItem::Size
   247         * Documented in MXnDomListItem::Size
   239         */
   248         */
   258     private:
   267     private:
   259 
   268 
   260         /**
   269         /**
   261         * C++ default constructor.
   270         * C++ default constructor.
   262         */
   271         */
   263         CXnDomPropertyValue( CXnDomStringPool& aStringPool );
   272         CXnDomPropertyValue( CXnDomStringPool* aStringPool );
   264 
   273 
   265         /**
   274         /**
   266         * By default Symbian 2nd phase constructor is private.
   275         * By default Symbian 2nd phase constructor is private.
   267         */
   276         */
   268         void ConstructL();
   277         void ConstructL();
   287             TPtrC*  iUnknownValue;
   296             TPtrC*  iUnknownValue;
   288             
   297             
   289             } iData;    
   298             } iData;    
   290        
   299        
   291        //String pool
   300        //String pool
   292        CXnDomStringPool&    iStringPool;
   301        CXnDomStringPool*    iStringPool;
   293        
   302        
   294        // primitive value type
   303        // primitive value type
   295        TPrimitiveValueType  iPrimitiveValueType;
   304        TPrimitiveValueType  iPrimitiveValueType;
   296        
   305        
   297        //Flag to identify ident
   306        //Flag to identify ident