Numworks Epsilon  1.4.1
Graphing Calculator Operating System
clipboard.h
Go to the documentation of this file.
1 #ifndef ESCHER_CLIPBOARD_H
2 #define ESCHER_CLIPBOARD_H
3 
4 #include <escher/text_field.h>
5 
6 class Clipboard {
7 public:
8  static Clipboard * sharedClipboard();
9  void store(const char * storedText);
10  const char * storedText();
11  void reset();
12 private:
13  char m_textBuffer[TextField::maxBufferSize()];
14 };
15 
16 #endif
static constexpr int maxBufferSize()
Definition: text_field.h:23
const char * storedText()
Definition: clipboard.cpp:13
void store(const char *storedText)
Definition: clipboard.cpp:9
void reset()
Definition: clipboard.cpp:17
static Clipboard * sharedClipboard()
Definition: clipboard.cpp:5