comparison dstep/coreservices/dictionaryservices/DictionaryServices.d @ 11:07194b026fa4

Added bindings to a couple of frameworks, new license + some other things
author Jacob Carlborg <doob@me.com>
date Sat, 01 Aug 2009 15:03:28 +0200
parents
children
comparison
equal deleted inserted replaced
10:27e00625790b 11:07194b026fa4
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Jul 22, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.coreservices.dictionaryservices.DictionaryServices;
8
9 public:
10
11 import dstep.corefoundation.CoreFoundation;
12
13 struct __DCSDictionary;
14
15 alias __DCSDictionary* DCSDictionaryRef;
16
17 extern (C)
18 {
19 CFRange DCSGetTermRangeInString (DCSDictionaryRef dictionary, CFStringRef textString, int offset);
20 CFStringRef DCSCopyTextDefinition (DCSDictionaryRef dictionary, CFStringRef textString, CFRange range);
21 }