cleanup clipboard.h
This commit is contained in:
@@ -1,27 +1,10 @@
|
|||||||
#ifndef YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
#ifndef YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
||||||
#define YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
#define YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
void CopyImageToClipboard(const std::vector<uint8_t>& data);
|
|
||||||
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
|
||||||
|
|
||||||
#elif defined(__APPLE__)
|
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
void CopyImageToClipboard(const std::vector<uint8_t>& data);
|
void CopyImageToClipboard(const std::vector<uint8_t> &data);
|
||||||
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
void GetImageFromClipboard(std::vector<uint8_t> &data, int &width, int &height);
|
||||||
|
|
||||||
#elif defined(__linux__)
|
#endif // YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
void CopyImageToClipboard(const std::vector<uint8_t>& data);
|
|
||||||
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // YAZE_APP_CORE_PLATFORM_CLIPBOARD_H
|
|
||||||
Reference in New Issue
Block a user