blob: d7d5015d49a0f3cf132b39e9c546a7b3baa6f9fb [file] [log] [blame]
Brad Bishop3539db62017-05-30 14:21:12 -04001% if c.defer:
William A. Kennington III223c4092018-10-19 15:56:09 -07002std::make_unique<DeferrableCallback<ConfigPropertyCallbacks>>(
Brad Bishop3539db62017-05-30 14:21:12 -04003${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
4${indent(1)}*ConfigConditions::get()[${c.condition}],
5${indent(1)}${c.defer})\
6% else:
Brad Bishop4041d722017-05-21 10:06:07 -04007std::make_unique<ConditionalCallback<ConfigPropertyCallbacks>>(
8${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
9${indent(1)}*ConfigConditions::get()[${c.condition}])\
Brad Bishop3539db62017-05-30 14:21:12 -040010% endif\