~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to lib/Xm/XmosI.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * @OPENGROUP_COPYRIGHT@
 
3
 * COPYRIGHT NOTICE
 
4
 * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
 
5
 * Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
 
6
 * ALL RIGHTS RESERVED (MOTIF).  See the file named COPYRIGHT.MOTIF for
 
7
 * the full copyright text.
 
8
 * 
 
9
 * This software is subject to an open license. It may only be
 
10
 * used on, with or for operating systems which are themselves open
 
11
 * source systems. You must contact The Open Group for a license
 
12
 * allowing distribution and sublicensing of this software on, with,
 
13
 * or for operating systems which are not Open Source programs.
 
14
 * 
 
15
 * See http://www.opengroup.org/openmotif/license for full
 
16
 * details of the license agreement. Any use, reproduction, or
 
17
 * distribution of the program constitutes recipient's acceptance of
 
18
 * this agreement.
 
19
 * 
 
20
 * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
 
21
 * PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
22
 * KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 
23
 * WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 
24
 * OR FITNESS FOR A PARTICULAR PURPOSE
 
25
 * 
 
26
 * EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
 
27
 * NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
 
28
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
29
 * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
 
30
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
31
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
32
 * ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
 
33
 * EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
 
34
 * POSSIBILITY OF SUCH DAMAGES.
 
35
 * 
 
36
 */
 
37
/*
 
38
 * HISTORY
 
39
 */
 
40
/* $XConsortium: XmosI.h /main/6 1995/07/13 18:28:56 drk $ */
 
41
#ifndef _XmosI_h
 
42
#define _XmosI_h
 
43
 
 
44
#include <Xm/XmosP.h>
 
45
 
 
46
#ifdef __cplusplus
 
47
extern "C" {
 
48
#endif
 
49
 
 
50
/* Vendor dependent macro for XmCvtXmStringToCT */
 
51
/* Sample implementation treats unmapped charsets as locale encoded text. */
 
52
#define _XmOSProcessUnmappedCharsetAndText(tag, ctext, sep, outc, outl, prev) \
 
53
        processCharsetAndText(XmFONTLIST_DEFAULT_TAG, (ctext), (sep), \
 
54
                              (outc), (outl), (prev))
 
55
 
 
56
 
 
57
/********    Private Function Declarations    ********/
 
58
 
 
59
extern String _XmOSFindPatternPart( 
 
60
                        String fileSpec) ;
 
61
extern void _XmOSQualifyFileSpec( 
 
62
                        String dirSpec,
 
63
                        String filterSpec,
 
64
                        String *pQualifiedDir,
 
65
                        String *pQualifiedPattern) ;
 
66
extern void _XmOSGetDirEntries( 
 
67
                        String qualifiedDir,
 
68
                        String matchPattern,
 
69
#if NeedWidePrototypes
 
70
                        unsigned int fileType,
 
71
                        int matchDotsLiterally,
 
72
                        int listWithFullPath,
 
73
#else
 
74
                        unsigned char fileType,
 
75
                        Boolean matchDotsLiterally,
 
76
                        Boolean listWithFullPath,
 
77
#endif /* NeedWidePrototypes */
 
78
                        String **pEntries,
 
79
                        unsigned int *pNumEntries,
 
80
                        unsigned int *pNumAlloc) ;
 
81
extern void _XmOSBuildFileList( 
 
82
                        String dirPath,
 
83
                        String pattern,
 
84
#if NeedWidePrototypes
 
85
                        unsigned int typeMask,
 
86
#else
 
87
                        unsigned char typeMask,
 
88
#endif /* NeedWidePrototypes */
 
89
                        String **pEntries,
 
90
                        unsigned int *pNumEntries,
 
91
                        unsigned int *pNumAlloc) ;
 
92
extern int _XmOSFileCompare( 
 
93
                        XmConst void *sp1,
 
94
                        XmConst void *sp2) ;
 
95
extern String _XmOSInitPath( 
 
96
                        String file_name,
 
97
                        String env_pathname,
 
98
                        Boolean *user_path) ;
 
99
extern String _XmOSBuildFileName(
 
100
                        String file,
 
101
                        String path) ;
 
102
extern int _XmOSPutenv(
 
103
                       char *string);
 
104
extern void _XmOSGenerateMaskName( 
 
105
                                  String imageName,
 
106
                                  String        maskNameBuf) ;
 
107
 
 
108
extern Status _XmOSGetInitialCharsDirection(XtPointer     characters,
 
109
                                            XmTextType    type,
 
110
                                            XmStringTag   locale,
 
111
                                            unsigned int *num_bytes,
 
112
                                            XmDirection  *direction) ;
 
113
 
 
114
extern XmDirection _XmOSGetCharDirection(XtPointer   character,
 
115
                                         XmTextType  type,
 
116
                                         XmStringTag locale) ;
 
117
 
 
118
extern int _XmOSKeySymToCharacter(KeySym keysym,
 
119
                                  char   *locale,
 
120
                                  char   *buffer);
 
121
extern void _XmOSFindPathParts(String path, 
 
122
                               String *filenameRtn, 
 
123
                               String *suffixRtn);
 
124
extern Boolean _XmOSAbsolutePathName( 
 
125
                        String path,
 
126
                        String *pathRtn,
 
127
                        String buf) ;
 
128
 
 
129
/********    End Private Function Declarations    ********/
 
130
 
 
131
 
 
132
#ifdef __cplusplus
 
133
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
134
#endif
 
135
 
 
136
#endif /* _XmosI_h */
 
137
/* DON'T ADD ANYTHING AFTER THIS #endif */