mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-20 15:31:22 +00:00
Add GetScrap(). Use FOURCC for Mac 4-char codes
This commit is contained in:
parent
358def87a4
commit
cc61fe9dd2
@ -21,6 +21,7 @@
|
||||
#include "sysdeps.h"
|
||||
|
||||
#include "clip.h"
|
||||
#include "macos_util.h"
|
||||
|
||||
#define DEBUG 0
|
||||
#include "debug.h"
|
||||
@ -44,6 +45,16 @@ void ClipExit(void)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Mac application reads clipboard
|
||||
*/
|
||||
|
||||
void GetScrap(void **handle, uint32 type, int32 offset)
|
||||
{
|
||||
D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset));
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Mac application wrote to clipboard
|
||||
*/
|
||||
@ -55,7 +66,7 @@ void PutScrap(uint32 type, void *scrap, int32 length)
|
||||
return;
|
||||
|
||||
switch (type) {
|
||||
case 'TEXT':
|
||||
case FOURCC('T','E','X','T'):
|
||||
D(bug(" clipping TEXT\n"));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user