core-foundation-rs icon indicating copy to clipboard operation
core-foundation-rs copied to clipboard

Options should be implemented as bitflags, not enum

Open uranusjr opened this issue 6 years ago • 0 comments

For example, NSApplicationActivationOptions allow a value of 0 (default behaviour) or a combination of flags (NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps), but with it being implemented as enum, neither is not possible.

uranusjr avatar Dec 31 '18 08:12 uranusjr