Просмотр исходного кода

Changed launchUrl to launchURL.

Darryl Gough 13 лет назад
Родитель
Сommit
fd2503f190

+ 1 - 1
gameplay/src/Game.h

@@ -524,7 +524,7 @@ public:
      *
      * @return True if URL was opened successfully, false otherwise.
      */
-    bool launchUrl(const char *url) const;
+    bool launchURL(const char *url) const;
 
 protected:
 

+ 2 - 2
gameplay/src/Game.inl

@@ -141,9 +141,9 @@ inline Gamepad* Game::getGamepad(unsigned int index) const
         return NULL;
 }
 
-inline bool Game::launchUrl(const char* url) const
+inline bool Game::launchURL(const char* url) const
 {
-    return Platform::launchUrl(url);
+    return Platform::launchURL(url);
 }
 
 }

+ 1 - 1
gameplay/src/Platform.h

@@ -369,7 +369,7 @@ public:
      *
      * @return True if URL was opened successfully, false otherwise.
      */
-    static bool launchUrl(const char* url);
+    static bool launchURL(const char* url);
     
 private:
 

+ 1 - 1
gameplay/src/PlatformAndroid.cpp

@@ -1358,7 +1358,7 @@ float Platform::getGamepadTriggerValue(unsigned int gamepadHandle, unsigned int
     return 0.0f;
 }
 
-bool Platform::launchUrl(const char *url)
+bool Platform::launchURL(const char *url)
 {
     if (url == NULL || *url == '\0')
         return false;

+ 1 - 1
gameplay/src/PlatformBlackBerry.cpp

@@ -1419,7 +1419,7 @@ float Platform::getGamepadTriggerValue(unsigned int gamepadHandle, unsigned int
     return 0.0f;
 }
 
-bool Platform::launchUrl(const char* url)
+bool Platform::launchURL(const char* url)
 {
     if (url == NULL || *url == '\0')
         return false;

+ 1 - 1
gameplay/src/PlatformLinux.cpp

@@ -1002,7 +1002,7 @@ float Platform::getGamepadTriggerValue(unsigned int gamepadHandle, unsigned int
     return 0.0f;
 }
 
-bool Platform::launchUrl(const char* url)
+bool Platform::launchURL(const char* url)
 {
     if (url == NULL || *url == '\0')
         return false;

+ 1 - 1
gameplay/src/PlatformWindows.cpp

@@ -1455,7 +1455,7 @@ bool Platform::mouseEventInternal(Mouse::MouseEvent evt, int x, int y, int wheel
     }
 }
 
-bool Platform::launchUrl(const char* url)
+bool Platform::launchURL(const char* url)
 {
     if (url == NULL || *url == '\0')
         return false;