Archive for 8. August 2007

Re: TrackerManager implementation
Hi Petr, One possible solution would be to pass a kind of session factory object to the ctor of TrackerManager. When testing you would pass a mocked factory that returns mock (more...)
Re: Compiling without warnings issues
Hi Petr, I'm totally mystified at first because adding the following to one of the test cpp files worked: class TestDummy { public: VALUE_OBJECT (TestDummy) }; class TestDummy2 { REFERENCE_OBJECT (TestDummy2) public: }; class TestDummy3 { STATIC_HELPER (TestDummy3) public: }; Then I though that because Doxygen parses (more...)
TrackerManager implementation
Hi Peter, I've started implementing the TrackerManager class (class TrackerManagerImpl : public TrackerManager), but I've ran into a problem with TrackerRequestSession/HttpRequestSession. Since the TrackerManager needs to create a separate session for (more...)
Re: BitTorrent transfers
Hi Peter, In general yes, but how do you add three elements to the QList before passing the list to the ctor? Using += could do the trick but the result (more...)
Re: Compiling without warnings issues
Hi Peter, thanks for that link! Now I see that it should be possible to expand these macros to make the docs complete and that's what we actually want. I've tried this (more...)
Re: Compiling without warnings issues
Hi Petr, > warning: switch missing default case| I had that one too somewhere last time I fixed warnings. I know that I insisted on not writing the default: because otherwise we (more...)