g3log/g2log/test_unit/tester_sharedlib.h
KjellKod f5438d8232 Thanks to Rajesh to push for g3log support for "runtime loading of dynamic libraries" (that will use g3log, initiated in main)
Thanks to Dmitry (d-led) for this working proof-of-concept of this at: https://github.com/d-led/g2log-dll

--HG--
rename : g2log/src/g2LogMessageBuilder.cpp => g2log/src/g2logmessagecapture.cpp
rename : g2log/src/g2LogMessageBuilder.hpp => g2log/src/g2logmessagecapture.hpp
2014-03-08 23:33:49 -07:00

15 lines
201 B
C++

#pragma once
struct SomeLibrary {
SomeLibrary() {};
virtual ~SomeLibrary() {};
virtual void action() = 0;
};
class LibraryFactory {
public:
virtual SomeLibrary* CreateLibrary() = 0;
};