Changeset 531


Ignore:
Timestamp:
04/13/14 15:12:28 (5 years ago)
Author:
jls17
Message:
  • removed the GetURL function from CARSchema and CARVui
Location:
branches/work_311
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/core/ARSchema.cpp

    r530 r531  
    5555{ 
    5656        return new CARSchema(*this); 
    57 } 
    58  
    59 string CARSchema::GetURL(int rootLevel, bool useImage) const 
    60 { 
    61         CPageParams file(PAGE_DETAILS, this); 
    62         return CWebUtil::Link(this->GetName(), file, (useImage ? CAREnum::SchemaTypeImage(GetCompound().schemaType) : ""), rootLevel); 
    6357} 
    6458 
  • branches/work_311/core/ARSchema.h

    r530 r531  
    7474        // some helpers 
    7575        string WebAlias(); 
    76         string GetURL(int rootLevel, bool useImage = true) const; 
    7776 
    7877        // class type support 
  • branches/work_311/core/ARVui.cpp

    r359 r531  
    106106} 
    107107 
    108 string CARVui::GetURL(int rootLevel, bool showImage) const 
    109 { 
    110         return CWebUtil::Link(this->GetName(), CPageParams(PAGE_DETAILS, this), "", rootLevel); 
    111 } 
    112  
    113108string CARVui::webAlias() 
    114109{ 
  • branches/work_311/core/ARVui.h

    r359 r531  
    5555        string webAlias(); 
    5656 
    57         string GetURL(int rootLevel, bool showImage = true) const; 
    58  
    5957        // class type support 
    6058        int GetServerObjectTypeXML() const { return AR_STRUCT_ITEM_XML_VUI; } 
  • branches/work_311/test/fakes/FakeARServerObject.h

    r529 r531  
    2626        virtual const char* GetChangeDiary() const { return ""; } 
    2727        virtual const ARPropList& GetPropList() const { return emptyPropList; } 
    28         virtual string GetURL(int rootLevel, bool showImage = true) const { return ""; } 
    2928        virtual int GetServerObjectTypeXML() const { return objType; } 
    3029 
Note: See TracChangeset for help on using the changeset viewer.