File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\core\src\main\java\hudson\util\jna\Options.java.html

1 /*
2 Copyright (c) 2007 Thomas Boerkel, All Rights Reserved
3
4 Disclaimer:
5 ===========
6 This code is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 This code is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15 */
16 package hudson.util.jna;
17
18 import static com.sun.jna.Library.*;
19 import com.sun.jna.win32.W32APITypeMapper;
20 import com.sun.jna.win32.W32APIFunctionMapper;
21
22 import java.util.Map;
23 import java.util.HashMap;
24
25 /**
26 *
27 * @author TB
28 */
29 public interface Options {
30 Map<String, Object> UNICODE_OPTIONS = new HashMap<String, Object>() {
31 {
32 put(OPTION_TYPE_MAPPER, W32APITypeMapper.UNICODE);
33 put(OPTION_FUNCTION_MAPPER, W32APIFunctionMapper.UNICODE);
34 }
35 };
36 }