1 |
|
/* |
2 |
|
* clip_beos.cpp - Clipboard handling, BeOS implementation |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2005 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
54 |
|
|
55 |
|
|
56 |
|
/* |
57 |
+ |
* Mac application reads clipboard |
58 |
+ |
*/ |
59 |
+ |
|
60 |
+ |
void GetScrap(void **handle, uint32 type, int32 offset) |
61 |
+ |
{ |
62 |
+ |
D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset)); |
63 |
+ |
} |
64 |
+ |
|
65 |
+ |
|
66 |
+ |
/* |
67 |
|
* Mac application wrote to clipboard |
68 |
|
*/ |
69 |
|
|
83 |
|
if (no_clip_conversion) { |
84 |
|
|
85 |
|
// Only convert CR->LF |
86 |
< |
char *buf = new char[dest_length]; |
86 |
> |
char *buf = new char[length]; |
87 |
|
for (int i=0; i<length; i++) { |
88 |
|
if (i[(char *)scrap] == 13) |
89 |
|
buf[i] = 10; |