aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.cpp5
-rw-r--r--common/system.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 93cf98c08e..9f6dc60d22 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -192,6 +192,11 @@ Common::String OSystem::getSystemLanguage() const {
return "en_US";
}
+bool OSystem::isConnectionLimited() {
+ warning("OSystem::isConnectionLimited(): not limited by default");
+ return false;
+}
+
Common::TimerManager *OSystem::getTimerManager() {
return _timerManager;
}
diff --git a/common/system.h b/common/system.h
index 87b478bf2d..c66b5f6014 100644
--- a/common/system.h
+++ b/common/system.h
@@ -1482,6 +1482,13 @@ public:
*/
virtual Common::String getSystemLanguage() const;
+ /**
+ * Returns whether connection's limited (if available on the target system).
+ *
+ * Returns true if connection seems limited.
+ */
+ virtual bool isConnectionLimited();
+
//@}
};