Changeset 412 for cpp


Ignore:
Timestamp:
07/12/15 00:18:40 (9 years ago)
Author:
Maciej Komosinski
Message:

Param loading calls the object's beforeLoad/afterLoad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.cpp

    r393 r412  
    400400        bool loaded;
    401401        int fields_loaded = 0;
     402        if ((i=findId("beforeLoad"))>=0)
     403                call(i,NULL,NULL);
    402404        while (((!abortable) || (!*abortable)) && loadSStringLine(f, buf))
    403405        {
     
    466468                }
    467469        }
     470        if ((i=findId("afterLoad"))>=0)
     471                call(i,NULL,NULL);
    468472        return fields_loaded;
    469473}
Note: See TracChangeset for help on using the changeset viewer.