Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add GetClipboard method to CWinSystemBase

  • Loading branch information...
commit 26976c680343bc1ca956dfcf214694948f39ee87 1 parent 06cf75d
John Rennie authored
View
4 xbmc/dialogs/GUIDialogKeyboardGeneric.cpp
@@ -753,11 +753,7 @@ void CGUIDialogKeyboardGeneric::OnPasteClipboard(void)
CStdStringW pasted_text;
// Get text from the clipboard
-#if defined(TARGET_DARWIN_OSX)
pasted_text = g_Windowing.GetClipboard();
-#elif defined TARGET_WINDOWS
- pasted_text = g_Windowing.GetClipboard();
-#endif
// Insert the pasted text at the current cursor position.
if (pasted_text.length() > 0)
View
5 xbmc/windowing/WinSystem.cpp
@@ -235,3 +235,8 @@ bool CWinSystemBase::UseLimitedColor()
return false;
#endif
}
+
+CStdStringW CWinSystemBase::GetClipboard(void)
+{
+ return "";
+}
View
2  xbmc/windowing/WinSystem.h
@@ -108,6 +108,8 @@ class CWinSystemBase
virtual void EnableTextInput(bool bEnable) {}
virtual bool IsTextInputEnabled() { return false; }
+ CStdStringW GetClipboard(void);
+
protected:
void UpdateDesktopResolution(RESOLUTION_INFO& newRes, int screen, int width, int height, float refreshRate, uint32_t dwFlags = 0);
Please sign in to comment.
Something went wrong with that request. Please try again.