turn BarLineType:: into enum class

nots sure though why not using Ms::BarLineType instead?