Sweden-Number/windows/ttydrv/clipboard.c

84 lines
1.9 KiB
C
Raw Normal View History

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;
/***********************************************************************
* TTYDRV_CLIPBOARD_Acquire
1998-12-07 10:36:13 +01: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;
}
}
/***********************************************************************
* TTYDRV_CLIPBOARD_SetData
1998-12-07 10:36:13 +01:00
*/
void TTYDRV_CLIPBOARD_SetData(UINT wFormat)
1998-12-07 10:36:13 +01:00
{
}
/***********************************************************************
* TTYDRV_CLIPBOARD_GetData
1998-12-07 10:36:13 +01:00
*/
BOOL TTYDRV_CLIPBOARD_GetData(UINT wFormat)
1998-12-07 10:36:13 +01:00
{
return FALSE;
}
/***********************************************************************
* 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
*/
void TTYDRV_CLIPBOARD_ResetOwner(WND *pWnd, BOOL bFooBar)
1998-12-07 10:36:13 +01:00
{
}