Function registerLayoutType

void registerLayoutType (
  string name,
  ILayout function() func
);