Changeset 149 for bdm

Show
Ignore:
Timestamp:
08/20/08 17:30:02 (16 years ago)
Author:
mido
Message:

patch UI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/userinfo.h

    r146 r149  
    108108        virtual bool DisassemblyBindedData( DOMElement &element ) = 0;           
    109109}; 
    110 /* 
     110 
    111111class BindedAttribute : public BindingFrame 
    112112{ 
     
    116116public: 
    117117        BindedAttribute( string attributeName ) 
    118                 : transcodedAttributeName( XMLString::transcode attributeName.c_str() ) ) 
     118                : transcodedAttributeName( XMLString::transcode( attributeName.c_str() ) ) 
    119119        { 
    120120        } 
     
    140140                element.setAttribute( transcodedAttributeName, transcoded_str ); 
    141141                XMLString::release( (XMLCh**) &transcoded_str ); 
     142                return true; 
    142143        } 
    143144}; 
     
    350351        virtual void Absorb(T* &pTypedInstance) = 0; 
    351352 
    352         static const TypedUserInfo<T> &instance; 
     353        static const TypedUserInfo<T> * pInstance; 
    353354}; 
    354355 
     
    387388                BindedType<U>( CompoundUserInfo<T> *parent, string name )  
    388389                        : name( name), help(""), 
    389                         factory( TypedUserInfo<U>::instance )            
     390                        factory( *TypedUserInfo<U>::pInstance )          
    390391                { 
    391392                        parent->bindedElements.push_back( this );