WvDBusMsg::is_reply() had an unnecessary hack for message #1.
[wvapps.git] / xplcidl / masterdispatch.cc
blob4159e0f44addd26e695d245bae059de3ccdfd0d4
1 #include "masterdispatch.h"
2 #include <stdio.h>
4 MasterDispatch *master;
7 IfcInfo::IfcInfo(WvStringParm _iname, const UUID &_iid,
8 CallEntry *_calls, int _ncalls)
9 : iname(_iname), iid(_iid)
11 calls = _calls;
12 ncalls = _ncalls;
14 printf("Creating master...\n");
15 if (!master) master = new MasterDispatch;
16 master->add(this);
20 IfcInfo::~IfcInfo()
22 assert(master);
23 master->remove(this);