If you want this to be a plug-in, then you should neither #include nor link that module.
It sounds to me like you’re trying to make this a regular library module, not a plug-in. If you need access to this module from another module, then it should not be a plug-in.