31a3819d7d2e6fd39ebcc3200488d0414a65997c
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

1) #include "CallMgr.h"
2) #include "Directory.h"
Stefan Schuermans implemented module manager...

Stefan Schuermans authored 13 years ago

3) #include "ModuleMgr.h"
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

4) #include "Player.h"
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

5) #include "Printer.h"
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

6) #include "StreamMgr.h"
7) 
8) using namespace Blinker;
9) 
10) int main()
11) {
Stefan Schuermans implemented module manager...

Stefan Schuermans authored 13 years ago

12)   Directory dirCfg("../example.cfg");
13) 
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

14)   CallMgr callMgr;
15)   StreamMgr streamMgr;
16) 
Stefan Schuermans implemented module manager...

Stefan Schuermans authored 13 years ago

17)   ModuleMgr<Player> playerMgr(callMgr, streamMgr,
18)                               dirCfg.getSubdir("players"));
19)   ModuleMgr<Printer> printerMgr(callMgr, streamMgr,
20)                                 dirCfg.getSubdir("printers"));