Exemple #1
0
void Input::writeToClipboard(const std::string& text)
{
#ifndef WITHOUT_SCRAP
	char basicString[text.length() + 1];strcpy(basicString, text.c_str());
	put_scrap(T('T','E','X','T'), text.length(), basicString);
#endif // WITHOUT_SCRAP
}
Exemple #2
0
void PutScrapX(LONGINT type, LONGINT length, char *p, int scrap_count)
{
  put_scrap(type, length, p);
}