Re: [reSIProcate] I have the following problem... PLEASE HELP
:-? Maybe that is the problem:
JD> Instance variables - an Obj C class:
JD>
JD> // references to pointers of SIP objects here.
JD> SipStack *stack;
JD> ClientAuthManager *clientAuth;
!!! first occurrence of clientAuth !!!
JD> MasterProfile *profile;
JD> DialogUsageManager *clientDum;
JD> myRegHandler *regHandler;
JD> NameAddr *from;
JD> mySipController *sipController;
JD> StackThread *stackthread;
JD> DumThread *dumthread;
JD>
JD> < Above are instance variables >
JD>
JD> Below is setup code....
JD>
JD> - (id)initWithController:(mySipController *)controller
JD>
JD> stack = new SipStack;
JD> auto_ptr<ClientAuthManager> clientAuth(new ClientAuthManager);
!!! and second occurrence of clientAuth !!!
JD> clientDum = new DialogUsageManager(*stack);
JD> clientDum->setMasterProfile(profile);
JD> clientDum->setClientAuthManager(clientAuth); <---- ERROR is here.
JD>
JD>
JD> >SipBridge.mm:72: error: no matching function for call to
JD> `resip::DialogUsageManager::setClientAuthManager(resip::ClientAuthManager&)'
JD>
JD> What do they mean when it says "no matching functioin....". Can
JD> someone please translate this
JD> into something more meaningful?
JD>
JD> >resiprocate/dum/DialogUsageManager.hxx:111: error: candidates are:
JD> void
JD>
>resip::DialogUsageManager::setClientAuthManager(std::auto_ptr<resip::ClientAuthManager>)
JD>
JD> Can someone please tell me what's going on? I'm using ALMOST exactly
JD> the same code
JD> as the basicRegister.cxx with the exception I'm using pointers instead
JD> of values... does
JD> this make a difference?
JD>
JD> I'm including the following resip headers.
JD>
JD> #include "resiprocate/os/Log.hxx"
JD> #include "resiprocate/SipStack.hxx"
JD> #include "resiprocate/dum/DialogUsageManager.hxx"
JD>
JD> Also doing this...
JD>
JD> using namespace resip;
JD> using namespace std;
JD>
JD> Not surprizingly, this is in my Bridge file. Which is combination of
JD> Obj C, and C++
JD> It is ONLY that above statement that fails. Why?