2001-11-13 23:34:12 +00:00
|
|
|
#include "CXWindowsClipboard.h"
|
|
|
|
#include "CString.h"
|
|
|
|
#include "CLog.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// CXWindowsClipboard
|
|
|
|
//
|
|
|
|
|
|
|
|
CXWindowsClipboard::CXWindowsClipboard()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
CXWindowsClipboard::~CXWindowsClipboard()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2001-11-25 18:44:13 +00:00
|
|
|
bool CXWindowsClipboard::open()
|
2001-11-13 23:34:12 +00:00
|
|
|
{
|
|
|
|
log((CLOG_INFO "open clipboard"));
|
2001-11-25 18:44:13 +00:00
|
|
|
return true;
|
2001-11-13 23:34:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CXWindowsClipboard::close()
|
|
|
|
{
|
|
|
|
log((CLOG_INFO "close clipboard"));
|
|
|
|
}
|
|
|
|
|
|
|
|
void CXWindowsClipboard::add(
|
|
|
|
EFormat format, const CString& data)
|
|
|
|
{
|
|
|
|
log((CLOG_INFO "add clipboard format: %d\n%s", format, data.c_str()));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CXWindowsClipboard::has(EFormat /*format*/) const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
CString CXWindowsClipboard::get(EFormat /*format*/) const
|
|
|
|
{
|
|
|
|
return CString();
|
|
|
|
}
|