01.01.2015 Views

Loading shared libraries and classes dynamically at runtime. - Poco

Loading shared libraries and classes dynamically at runtime. - Poco

Loading shared libraries and classes dynamically at runtime. - Poco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PluginLibrary.cpp<br />

#include "AbstractPlugin.h"<br />

#include "<strong>Poco</strong>/ClassLibrary.h"<br />

#include <br />

class PluginA: public AbstractPlugin<br />

{<br />

public:<br />

std::string name() const<br />

{<br />

return "PluginA";<br />

}<br />

};<br />

class PluginB: public AbstractPlugin<br />

{<br />

public:<br />

std::string name() const<br />

{<br />

return "PluginB";<br />

}<br />

};

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!