Skylicht Engine
Loading...
Searching...
No Matches
CAndroidClipboard.h
1#pragma once
2
3#include "IClipboard.h"
4#include "Utils/CSingleton.h"
5
6namespace Skylicht
7{
8 class CAndroidClipboard : public IClipboard
9 {
10 public:
11 DECLARE_SINGLETON(CAndroidClipboard)
12
13 CAndroidClipboard();
14
15 virtual ~CAndroidClipboard();
16
17 virtual void copyToClipboard(const char* text);
18
19 virtual const char* getTextFromClipboard();
20
21 private:
22 std::string m_clipboardText;
23 };
24}
virtual const char * getTextFromClipboard()
Retrieves text from the clipboard.
virtual void copyToClipboard(const char *text)
Copies text to the clipboard.
#define DECLARE_SINGLETON(className)
Declare the standard singleton accessors for a class.
Definition CSingleton.h:36
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29