BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
31a3819
Branches
Tags
master
Blinker
src
noarch
main.cpp
implemented module manager template
Stefan Schuermans
commited
31a3819
at 2011-10-24 20:11:00
main.cpp
Blame
History
Raw
#include "CallMgr.h" #include "Directory.h" #include "ModuleMgr.h" #include "Player.h" #include "Printer.h" #include "StreamMgr.h" using namespace Blinker; int main() { Directory dirCfg("../example.cfg"); CallMgr callMgr; StreamMgr streamMgr; ModuleMgr<Player> playerMgr(callMgr, streamMgr, dirCfg.getSubdir("players")); ModuleMgr<Printer> printerMgr(callMgr, streamMgr, dirCfg.getSubdir("printers")); callMgr.run(); return 0; }