[Scummvm-git-logs] scummvm master -> 872947f7c9318085baa963e215bb74ba21a2ba88

bluegr bluegr at gmail.com
Sat Aug 21 06:08:20 UTC 2021


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
89a052c53f SYMBIAN: Allow usage by default OSystem_SDL_Symbian::openUrl()
872947f7c9 SYMBIAN: Avoid printf() usage


Commit: 89a052c53f727e607a51e75b9e277474a696b1fc
    https://github.com/scummvm/scummvm/commit/89a052c53f727e607a51e75b9e277474a696b1fc
Author: Fiodar Stryzhniou (fedor_qd at mail.ru)
Date: 2021-08-21T09:08:17+03:00

Commit Message:
SYMBIAN: Allow usage by default OSystem_SDL_Symbian::openUrl()

Changed paths:
    backends/platform/symbian/src/SymbianOS.cpp


diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp
index 6fb6cf69f7..91311c6ee4 100644
--- a/backends/platform/symbian/src/SymbianOS.cpp
+++ b/backends/platform/symbian/src/SymbianOS.cpp
@@ -173,9 +173,7 @@ Common::String OSystem_SDL_Symbian::getDefaultConfigFileName() {
 bool OSystem_SDL_Symbian::hasFeature(Feature f) {
 	if (f == kFeatureFullscreenMode)
 		return false;
-#if defined(USE_CLOUD)
 	if (f == kFeatureOpenUrl) return true;
-#endif
 
 	return OSystem_SDL::hasFeature(f);
 }
@@ -192,8 +190,6 @@ const size_t kOpera10500_UID = 537056398;
 const char kFailMsg[] = "RApaLsSession failed: error = %d";
 
 bool OSystem_SDL_Symbian::openUrl(const Common::String &url) {
-#if defined(USE_CLOUD)
-#ifdef __S60_3X__
 	TAutoClose2<RApaLsSession> appArcSession;
 	TInt error = appArcSession->Connect();
 	if (error != KErrNone) {
@@ -240,8 +236,6 @@ bool OSystem_SDL_Symbian::openUrl(const Common::String &url) {
 		warning("Failure while browser starts = %d", error);
 
 	CleanupStack::PopAndDestroy(addr);
-#endif //__S60_3X__
-#endif //USE_CLOUD
 	return false;
 }
 


Commit: 872947f7c9318085baa963e215bb74ba21a2ba88
    https://github.com/scummvm/scummvm/commit/872947f7c9318085baa963e215bb74ba21a2ba88
Author: Fiodar Stryzhniou (fedor_qd at mail.ru)
Date: 2021-08-21T09:08:17+03:00

Commit Message:
SYMBIAN: Avoid printf() usage

Changed paths:
    backends/platform/symbian/src/SymbianOS.cpp


diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp
index 91311c6ee4..7804dff38f 100644
--- a/backends/platform/symbian/src/SymbianOS.cpp
+++ b/backends/platform/symbian/src/SymbianOS.cpp
@@ -96,7 +96,7 @@ void OSystem_SDL_Symbian::initBackend() {
 #warning "set debuglevel = 20"
 	ConfMan.set("debuglevel", "20");
 	if (!ConfMan.hasKey("debuglevel"))
-		printf("debuglevel not set!\n");
+		warning("debuglevel not set!\n");
 #endif
 	// Ensure that the current set path (might have been altered by the user) exists.
 	Common::String currentPath = ConfMan.get("savepath");




More information about the Scummvm-git-logs mailing list