Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move most sources to a kaleidoscope/ subdir and namespace #364

Merged
merged 1 commit into from
Oct 14, 2018

Commits on Oct 14, 2018

  1. Move most sources to a kaleidoscope/ subdir and namespace

    Lots of things were already under the `kaleidoscope` namespace, but were in the
    "wrong" directory. This big patchset moves everything under `kaleidoscope/`, and
    namespaces `Layers_`. There are a few un-namespaced things, but because their
    use is so widespread, and they're used so commonly, we don't want to namespace
    those (like `handleKeyswitchEvent`), at least not yet.
    
    As a minor side-effect, this moves a few global statics that were once in
    `Layers.cpp` into the `Layer_` class itself, for clarity and encapsulation.
    
    Non-namespaced headers that were used outside of Kaleidoscope itself will still
    work, but will emit a compile-time warning.
    
    Signed-off-by: Gergely Nagy <algernon@keyboard.io>
    algernon committed Oct 14, 2018
    Configuration menu
    Copy the full SHA
    3458f39 View commit details
    Browse the repository at this point in the history