Re: [Opalvoip-user] Updating code from an older to a newer OPAL version
Brought to you by:
csoutheren,
rjongbloed
|
From: JD R. <jd...@fu...> - 2014-04-08 17:16:51
|
Typically I just look at the opal wiki page: http://wiki.opalvoip.org/index.php?n=Main.APIDocumentation And then I look for updates to the sample code. Typically there you can easily find the replacement for these APIs. I don't know of a document that explicitly outlines these though. -JD On Tue, Apr 8, 2014 at 9:14 AM, Giovani Gracioli <gio...@gm...> wrote: > Hello, > > I have a program originally written using OPAL 3.10. I am updating OPAL > for the newest stable version: 3.14.0. > > As expected, the API changed. For example, I am using OpalConnection and > got the following errors/warnings: > > mixer.cxx:60: warning: 'PString OpalConnection::GetRemotePartyAddress() > const' is deprecated (declared at /usr/include/opal/connection.h:1713) > mixer.cxx:63: error: 'class OpalConnection' has no member named > 'SetRemotePartyAddress' > mixer.cxx: In member function 'virtual void > MixerEP::OnReleased(OpalConnection&)': > mixer.cxx:97: warning: 'PString OpalConnection::GetRemotePartyAddress() > const' is deprecated (declared at /usr/include/opal/connection.h:1713) > > Is there a document describing the changes between the versions and how to > map an old method to a new method? > > For instance, what method should I use instead of GetRemotePartyAddress > and SetRemotePartyAddress? > > Best regards, > Giovani > > > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > _______________________________________________ > Opalvoip-user mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-user > |