Skip to content

Unclear instructions about how to use plugins #127

@pucciland95

Description

@pucciland95

Hi all, and thank you for this amazing repo :-)

I wanted to ask you why in the sleep_action.cpp file are necessary these lines. Is it not exactly the point of a plugin to NOT include the .hpp file avoiding static linking?

Should not these lines be:

#ifndef USE_SLEEP_PLUGIN
#else
#include "sleep_action.hpp"
#endif

that is including the .hpp only if you are NOT using the plugin? Am I missing something?

Cheers,
Niccolo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions