Can the plug-in source code import the custom C++ class of the main project module?

Thanks your reply. You are right. In addition, I can also directly add the source code of the c++ plug-in directly to the project