mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-10 03:33:09 +01:00
15 lines
201 B
C
15 lines
201 B
C
|
#pragma once
|
||
|
|
||
|
struct SomeLibrary {
|
||
|
|
||
|
SomeLibrary() {};
|
||
|
|
||
|
virtual ~SomeLibrary() {};
|
||
|
virtual void action() = 0;
|
||
|
};
|
||
|
|
||
|
class LibraryFactory {
|
||
|
public:
|
||
|
virtual SomeLibrary* CreateLibrary() = 0;
|
||
|
};
|