Re: Cloud Support
Thierry Crozat <[email protected]>
| Newsgroups | gmane.games.devel.scummvm |
|---|---|
| Message-ID | <[email protected]> |
On the topic of opening arbitrary URLs, is there a reason why the openUrl feature is implemented as a function in the Networking::Browser namespace and not in the OSystem class? To me the feature seems similar to the displayLogFile() and I would expect to have it in the same place. Also I can see use not related to the cloud, e.g. to have a Help button that opens the FAQ or User Manual page from our web site. If you think that it would be better to have it in OSystem I can do the change. Otherwise I will just leave it were it is. Thierry On 05 Sep 2016, at 22:46, Eugene Sandulenko <[email protected]> wrote: > On 5 September 2016 at 21:11, Luc Schrijvers <[email protected]> wrote: > Make failed on me not finding getifaddrs, adding #elif defined _BSD_SOURCE in the localwebserver.cpp file after line 298 fixed that issue on Haiku, but when I try to start the server in ScummVM I get the local address 0.0.0.0 ... (and in Terminal it shows me "WARNING: LocalWebserver: Failed to resolve IP with the default way!" > > Do you have a reliable way of determining current IP address of the machine? That is the function to use here. > > Also Haiku is missing xdg-utils to use xdg-open ... "/bin/sh: xdg-open: command not found" > Any pointers that I could use? > > Do you have a way of opening an arbitrary URL in a local browser on the machine? This is the one which you need to implement here. Most probably you need to put it into openurl-beos.cpp or similar. > > > Eugene > _______________________________________________ > Scummvm-devel mailing list > [email protected] > http://lists.scummvm.org/listinfo/scummvm-devel _______________________________________________ Scummvm-devel mailing list [email protected] http://lists.scummvm.org/listinfo/scummvm-devel