Add clipboard.cc for linux (unimplemented)
This commit is contained in:
@@ -80,6 +80,7 @@ endif()
|
|||||||
if (WIN32 OR MINGW OR UNIX)
|
if (WIN32 OR MINGW OR UNIX)
|
||||||
list(APPEND YAZE_APP_CORE_SRC
|
list(APPEND YAZE_APP_CORE_SRC
|
||||||
app/core/platform/font_loader.cc
|
app/core/platform/font_loader.cc
|
||||||
|
app/core/platform/clipboard.cc
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
5
src/app/core/platform/clipboard.cc
Normal file
5
src/app/core/platform/clipboard.cc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#include "app/core/platform/clipboard.h"
|
||||||
|
|
||||||
|
void CopyImageToClipboard(const std::vector<uint8_t>& data) {}
|
||||||
|
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width,
|
||||||
|
int& height) {}
|
||||||
@@ -17,15 +17,8 @@ void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
void CopyImageToClipboard(const std::vector<uint8_t>& data) {
|
void CopyImageToClipboard(const std::vector<uint8_t>& data);
|
||||||
std::cout << "CopyImageToClipboard() is not implemented on Linux."
|
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
||||||
<< std::endl;
|
|
||||||
}
|
|
||||||
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width,
|
|
||||||
int& height) {
|
|
||||||
std::cout << "GetImageFromClipboard() is not implemented on Linux."
|
|
||||||
<< std::endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user