| 59 | } |
| 60 | |
| 61 | void detail::VisitorBase::AfterBeginGroup( |
| 62 | const ItemProperties *pProperties) |
| 63 | { |
| 64 | const auto properties = |
| 65 | pProperties ? pProperties->GetProperties() : ItemProperties::None; |
| 66 | |
| 67 | bool isMenu = false; |
| 68 | bool isExtension = false; |
| 69 | |
| 70 | switch (properties) { |
| 71 | case ItemProperties::Whole: |
| 72 | case ItemProperties::Extension: { |
| 73 | isMenu = true; |
| 74 | isExtension = (properties == ItemProperties::Extension); |
| 75 | break; |
| 76 | } |
| 77 | default: |
| 78 | break; |
| 79 | } |
| 80 | |
| 81 | if (isMenu) { |
| 82 | needSeparator.push_back(false); |
| 83 | firstItem.push_back(!isExtension); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | bool detail::VisitorBase::ShouldEndGroup( |
| 88 | const ItemProperties *pProperties) |
nothing calls this directly
no test coverage detected