1998-12-07 10:36:13 +01:00
|
|
|
/*
|
|
|
|
* TTY clipboard driver
|
|
|
|
*
|
1999-02-04 14:14:42 +01:00
|
|
|
* Copyright 1998-1999 Patrik Stridvall
|
1998-12-07 10:36:13 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "heap.h"
|
|
|
|
#include "ttydrv.h"
|
1999-02-04 14:14:42 +01:00
|
|
|
#include "win.h"
|
1998-12-07 10:36:13 +01:00
|
|
|
|
|
|
|
/**********************************************************************/
|
|
|
|
|
|
|
|
char *TTYDRV_CLIPBOARD_szSelection = NULL;
|
|
|
|
|
|
|
|
/***********************************************************************
|
1999-09-03 17:17:57 +02:00
|
|
|
* TTYDRV_CLIPBOARD_Acquire
|
1998-12-07 10:36:13 +01:00
|
|
|
*/
|
1999-09-03 17:17:57 +02:00
|
|
|
void TTYDRV_CLIPBOARD_Acquire()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_CLIPBOARD_Release
|
|
|
|
*/
|
|
|
|
void TTYDRV_CLIPBOARD_Release()
|
1998-12-07 10:36:13 +01:00
|
|
|
{
|
|
|
|
if(TTYDRV_CLIPBOARD_szSelection)
|
|
|
|
{
|
|
|
|
HeapFree(SystemHeap, 0, TTYDRV_CLIPBOARD_szSelection);
|
|
|
|
TTYDRV_CLIPBOARD_szSelection = NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1999-04-01 14:03:52 +02:00
|
|
|
* TTYDRV_CLIPBOARD_SetData
|
1998-12-07 10:36:13 +01:00
|
|
|
*/
|
1999-04-01 14:03:52 +02:00
|
|
|
void TTYDRV_CLIPBOARD_SetData(UINT wFormat)
|
1998-12-07 10:36:13 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1999-04-01 14:03:52 +02:00
|
|
|
* TTYDRV_CLIPBOARD_GetData
|
1998-12-07 10:36:13 +01:00
|
|
|
*/
|
1999-04-01 14:03:52 +02:00
|
|
|
BOOL TTYDRV_CLIPBOARD_GetData(UINT wFormat)
|
1998-12-07 10:36:13 +01:00
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
1999-09-03 17:17:57 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_CLIPBOARD_IsFormatAvailable
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_CLIPBOARD_IsFormatAvailable(UINT wFormat)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* TTYDRV_CLIPBOARD_RegisterFormat
|
|
|
|
*
|
|
|
|
* Registers a custom clipboard format
|
|
|
|
* Returns: TRUE - new format registered, FALSE - Format already registered
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_CLIPBOARD_RegisterFormat( LPCSTR FormatName )
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* X11DRV_CLIPBOARD_IsSelectionowner
|
|
|
|
*
|
|
|
|
* Returns: TRUE - We(WINE) own the selection, FALSE - Selection not owned by us
|
|
|
|
*/
|
|
|
|
BOOL TTYDRV_CLIPBOARD_IsSelectionowner()
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
1998-12-07 10:36:13 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_CLIPBOARD_ResetOwner
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
void TTYDRV_CLIPBOARD_ResetOwner(WND *pWnd, BOOL bFooBar)
|
1998-12-07 10:36:13 +01:00
|
|
|
{
|
|
|
|
}
|