2
// sqSqueakOSXApplication+clipboard.h
5
// Created by John M McIntosh on 09-11-23.
6
// Copyright 2009 Corporate Smalltalk Consulting Ltd. All rights reserved.
8
Some of this code was funded via a grant from the European Smalltalk User Group (ESUG)
9
Copyright (c) 2009 Corporate Smalltalk Consulting Ltd. All rights reserved.
11
Permission is hereby granted, free of charge, to any person
12
obtaining a copy of this software and associated documentation
13
files (the "Software"), to deal in the Software without
14
restriction, including without limitation the rights to use,
15
copy, modify, merge, publish, distribute, sublicense, and/or sell
16
copies of the Software, and to permit persons to whom the
17
Software is furnished to do so, subject to the following
20
The above copyright notice and this permission notice shall be
21
included in all copies or substantial portions of the Software.
23
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
25
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
28
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
30
OTHER DEALINGS IN THE SOFTWARE.
32
The end-user documentation included with the redistribution, if any, must include the following acknowledgment:
33
"This product includes software developed by Corporate Smalltalk Consulting Ltd (http://www.smalltalkconsulting.com)
34
and its contributors", in the same place and form as other third-party acknowledgments.
35
Alternately, this acknowledgment may appear in the software itself, in the same form and location as other
36
such third-party acknowledgments.
40
#import "sqSqueakOSXApplication.h"
42
@interface sqSqueakOSXApplication (clipboard)
43
- (sqInt) clipboardSize;
44
- (void) clipboardRead: (sqInt) count into: (char *)byteArrayIndex startingAt: (sqInt) startIndex;
45
- (void) clipboardWrite: (sqInt) count from: (char *)byteArrayIndex startingAt: (sqInt) startIndex;