Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32914 Details for
Bug 53303
Firefox emerge fails in 2004.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessed source
ccG9Pqsl.out (text/plain), 1.41 MB, created by
Armindo Silva
on 2004-06-08 05:28:36 UTC
(
hide
)
Description:
Preprocessed source
Filename:
MIME Type:
Creator:
Armindo Silva
Created:
2004-06-08 05:28:36 UTC
Size:
1.41 MB
patch
obsolete
>// /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/cc1plus -quiet -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/dom -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__ELF__ -Dunix -D__sparc__ -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__sparc__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=unix -Asystem=posix -D_GNU_SOURCE -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc -D__PIC__ -D__pic__ -D_REENTRANT -DNATIVE_THEME_SUPPORT -DOSTYPE="Linux2.4" -DOSARCH="Linux" -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES -DNDEBUG -DTRIMMED -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD .deps/nsXFontAAScaledBitmap.pp nsXFontAAScaledBitmap.cpp -D__GNUG__=3 -quiet -dumpbase nsXFontAAScaledBitmap.cpp -auxbase-strip nsXFontAAScaledBitmap.o -O2 -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -Wno-return-type -Wno-return-type -Wno-return-type -w -fPIC -frtti -fno-handle-exceptions -fforce-addr -fshort-wchar -ffunction-sections -o - ># 1 "nsXFontAAScaledBitmap.cpp" ># 1 "<built-in>" ># 1 "<command line>" ># 35 "<command line>" ># 1 "../../../mozilla-config.h" 1 ># 36 "<command line>" 2 ># 1 "nsXFontAAScaledBitmap.cpp" ># 41 "nsXFontAAScaledBitmap.cpp" ># 1 "/usr/X11R6/include/X11/Xatom.h" 1 ># 42 "nsXFontAAScaledBitmap.cpp" 2 ># 1 "../../gfx-config.h" 1 ># 43 "nsXFontAAScaledBitmap.cpp" 2 ># 1 "../../../dist/include/xpcom/nscore.h" 1 ># 45 "../../../dist/include/xpcom/nscore.h" ># 1 "../../../dist/include/xpcom/xpcom-config.h" 1 ># 46 "../../../dist/include/xpcom/nscore.h" 2 > > > > > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" 1 ># 55 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcpucfg.h" 1 ># 56 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" 2 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 151 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 213 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" 2 ># 232 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >extern "C" { ># 242 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef unsigned char PRUint8; ># 256 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef signed char PRInt8; ># 281 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef unsigned short PRUint16; >typedef short PRInt16; ># 306 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef unsigned int PRUint32; >typedef int PRInt32; ># 352 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef long long PRInt64; >typedef unsigned long long PRUint64; ># 376 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef int PRIntn; >typedef unsigned int PRUintn; ># 387 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef double PRFloat64; > > > > > > >typedef size_t PRSize; > > > > > > > >typedef PRInt32 PROffset32; >typedef PRInt64 PROffset64; > > > > > > > >typedef ptrdiff_t PRPtrdiff; > > > > > > > >typedef unsigned long PRUptrdiff; ># 429 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef PRIntn PRBool; ># 439 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef PRUint8 PRPackedBool; > > > > > >typedef enum { PR_FAILURE = -1, PR_SUCCESS = 0 } PRStatus; ># 472 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" >typedef long PRWord; >typedef unsigned long PRUword; ># 514 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" 1 ># 45 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRUintn uintn; > >typedef PRIntn intn; ># 83 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" ># 1 "/usr/include/sys/types.h" 1 3 4 ># 27 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 295 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 296 "/usr/include/features.h" 2 3 4 ># 318 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 319 "/usr/include/features.h" 2 3 4 ># 28 "/usr/include/sys/types.h" 2 3 4 > >extern "C" { > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef unsigned long long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long long int __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef unsigned long long int __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long long int __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 191 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 213 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 214 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 118 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > >} ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 258 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 83 "/usr/include/bits/sched.h" 3 4 >struct __sched_param > { > int __sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 267 "/usr/include/sys/types.h" 2 3 4 > > >} ># 84 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" 2 ># 105 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRUint64 uint64; ># 114 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRUint32 uint32; ># 125 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRUint16 uint16; > > > > > > > >typedef PRUint8 uint8; ># 142 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRInt64 int64; ># 154 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRInt32 int32; ># 168 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRInt16 int16; ># 178 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/obsolete/protypes.h" >typedef PRInt8 int8; > > >typedef PRFloat64 float64; >typedef PRUptrdiff uptrdiff_t; >typedef PRUword uprword_t; >typedef PRWord prword_t; ># 515 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtypes.h" 2 > > > > > >} ># 52 "../../../dist/include/xpcom/nscore.h" 2 ># 176 "../../../dist/include/xpcom/nscore.h" >typedef PRUint32 nsresult; > > > > > > ># 1 "../../../dist/include/xpcom/nsError.h" 1 ># 299 "../../../dist/include/xpcom/nsError.h" >extern nsresult >NS_ErrorAccordingToNSPR(); ># 184 "../../../dist/include/xpcom/nscore.h" 2 ># 239 "../../../dist/include/xpcom/nscore.h" > typedef PRUint16 PRUnichar; ># 44 "nsXFontAAScaledBitmap.cpp" 2 ># 1 "../x11shared/nsXFontAAScaledBitmap.h" 1 ># 44 "../x11shared/nsXFontAAScaledBitmap.h" ># 1 "/usr/include/gtk-2.0/gdk/gdk.h" 1 ># 30 "/usr/include/gtk-2.0/gdk/gdk.h" ># 1 "/usr/include/gtk-2.0/gdk/gdkcolor.h" 1 > > > ># 1 "/usr/include/gtk-2.0/gdk/gdktypes.h" 1 ># 32 "/usr/include/gtk-2.0/gdk/gdktypes.h" ># 1 "/usr/include/glib-2.0/glib.h" 1 ># 30 "/usr/include/glib-2.0/glib.h" ># 1 "/usr/include/glib-2.0/glib/galloca.h" 1 ># 30 "/usr/include/glib-2.0/glib/galloca.h" ># 1 "/usr/include/glib-2.0/glib/gtypes.h" 1 ># 30 "/usr/include/glib-2.0/glib/gtypes.h" ># 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1 ># 9 "/usr/lib/glib-2.0/include/glibconfig.h" ># 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 ># 36 "/usr/include/glib-2.0/glib/gmacros.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 37 "/usr/include/glib-2.0/glib/gmacros.h" 2 ># 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 130 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 131 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 2 3 4 ># 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/float.h" 1 3 4 ># 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2 > > > >extern "C" { ># 32 "/usr/lib/glib-2.0/include/glibconfig.h" >typedef signed char gint8; >typedef unsigned char guint8; >typedef signed short gint16; >typedef unsigned short guint16; > > > >typedef signed int gint32; >typedef unsigned int guint32; > > > > > >__extension__ typedef signed long long gint64; >__extension__ typedef unsigned long long guint64; ># 58 "/usr/lib/glib-2.0/include/glibconfig.h" >typedef signed int gssize; >typedef unsigned int gsize; ># 117 "/usr/lib/glib-2.0/include/glibconfig.h" >typedef struct _GStaticMutex GStaticMutex; >struct _GStaticMutex >{ > struct _GMutex *runtime_mutex; > union { > char pad[24]; > double dummy_double; > void *dummy_pointer; > long dummy_long; > } static_mutex; >}; ># 136 "/usr/lib/glib-2.0/include/glibconfig.h" >typedef union _GSystemThread GSystemThread; >union _GSystemThread >{ > char data[4]; > double dummy_double; > void *dummy_pointer; > long dummy_long; >}; ># 178 "/usr/lib/glib-2.0/include/glibconfig.h" >typedef int GPid; > >} ># 31 "/usr/include/glib-2.0/glib/gtypes.h" 2 > >extern "C" { ># 41 "/usr/include/glib-2.0/glib/gtypes.h" >typedef char gchar; >typedef short gshort; >typedef long glong; >typedef int gint; >typedef gint gboolean; > >typedef unsigned char guchar; >typedef unsigned short gushort; >typedef unsigned long gulong; >typedef unsigned int guint; > >typedef float gfloat; >typedef double gdouble; ># 72 "/usr/include/glib-2.0/glib/gtypes.h" >typedef void* gpointer; >typedef const void *gconstpointer; > >typedef gint (*GCompareFunc) (gconstpointer a, > gconstpointer b); >typedef gint (*GCompareDataFunc) (gconstpointer a, > gconstpointer b, > gpointer user_data); >typedef gboolean (*GEqualFunc) (gconstpointer a, > gconstpointer b); >typedef void (*GDestroyNotify) (gpointer data); >typedef void (*GFunc) (gpointer data, > gpointer user_data); >typedef guint (*GHashFunc) (gconstpointer key); >typedef void (*GHFunc) (gpointer key, > gpointer value, > gpointer user_data); >typedef void (*GFreeFunc) (gpointer data); ># 335 "/usr/include/glib-2.0/glib/gtypes.h" >typedef union _GDoubleIEEE754 GDoubleIEEE754; >typedef union _GFloatIEEE754 GFloatIEEE754; ># 362 "/usr/include/glib-2.0/glib/gtypes.h" >union _GFloatIEEE754 >{ > gfloat v_float; > struct { > guint sign : 1; > guint biased_exponent : 8; > guint mantissa : 23; > } mpn; >}; >union _GDoubleIEEE754 >{ > gdouble v_double; > struct { > guint sign : 1; > guint biased_exponent : 11; > guint mantissa_high : 20; > guint mantissa_low : 32; > } mpn; >}; > > > > >typedef struct _GTimeVal GTimeVal; > >struct _GTimeVal >{ > glong tv_sec; > glong tv_usec; >}; > >} ># 31 "/usr/include/glib-2.0/glib/galloca.h" 2 ># 31 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/garray.h" 1 ># 32 "/usr/include/glib-2.0/glib/garray.h" >extern "C" { > >typedef struct _GArray GArray; >typedef struct _GByteArray GByteArray; >typedef struct _GPtrArray GPtrArray; > >struct _GArray >{ > gchar *data; > guint len; >}; > >struct _GByteArray >{ > guint8 *data; > guint len; >}; > >struct _GPtrArray >{ > gpointer *pdata; > guint len; >}; ># 66 "/usr/include/glib-2.0/glib/garray.h" >GArray* g_array_new (gboolean zero_terminated, > gboolean clear_, > guint element_size); >GArray* g_array_sized_new (gboolean zero_terminated, > gboolean clear_, > guint element_size, > guint reserved_size); >gchar* g_array_free (GArray *array, > gboolean free_segment); >GArray* g_array_append_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_prepend_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_insert_vals (GArray *array, > guint index_, > gconstpointer data, > guint len); >GArray* g_array_set_size (GArray *array, > guint length); >GArray* g_array_remove_index (GArray *array, > guint index_); >GArray* g_array_remove_index_fast (GArray *array, > guint index_); >GArray* g_array_remove_range (GArray *array, > guint index_, > guint length); >void g_array_sort (GArray *array, > GCompareFunc compare_func); >void g_array_sort_with_data (GArray *array, > GCompareDataFunc compare_func, > gpointer user_data); > > > > > > >GPtrArray* g_ptr_array_new (void); >GPtrArray* g_ptr_array_sized_new (guint reserved_size); >gpointer* g_ptr_array_free (GPtrArray *array, > gboolean free_seg); >void g_ptr_array_set_size (GPtrArray *array, > gint length); >gpointer g_ptr_array_remove_index (GPtrArray *array, > guint index_); >gpointer g_ptr_array_remove_index_fast (GPtrArray *array, > guint index_); >gboolean g_ptr_array_remove (GPtrArray *array, > gpointer data); >gboolean g_ptr_array_remove_fast (GPtrArray *array, > gpointer data); >void g_ptr_array_remove_range (GPtrArray *array, > guint index_, > guint length); >void g_ptr_array_add (GPtrArray *array, > gpointer data); >void g_ptr_array_sort (GPtrArray *array, > GCompareFunc compare_func); >void g_ptr_array_sort_with_data (GPtrArray *array, > GCompareDataFunc compare_func, > gpointer user_data); >void g_ptr_array_foreach (GPtrArray *array, > GFunc func, > gpointer user_data); > > > > > > >GByteArray* g_byte_array_new (void); >GByteArray* g_byte_array_sized_new (guint reserved_size); >guint8* g_byte_array_free (GByteArray *array, > gboolean free_segment); >GByteArray* g_byte_array_append (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_prepend (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_set_size (GByteArray *array, > guint length); >GByteArray* g_byte_array_remove_index (GByteArray *array, > guint index_); >GByteArray* g_byte_array_remove_index_fast (GByteArray *array, > guint index_); >GByteArray* g_byte_array_remove_range (GByteArray *array, > guint index_, > guint length); >void g_byte_array_sort (GByteArray *array, > GCompareFunc compare_func); >void g_byte_array_sort_with_data (GByteArray *array, > GCompareDataFunc compare_func, > gpointer user_data); > > >} ># 32 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1 ># 30 "/usr/include/glib-2.0/glib/gasyncqueue.h" ># 1 "/usr/include/glib-2.0/glib/gthread.h" 1 ># 30 "/usr/include/glib-2.0/glib/gthread.h" ># 1 "/usr/include/glib-2.0/glib/gerror.h" 1 ># 24 "/usr/include/glib-2.0/glib/gerror.h" ># 1 "/usr/include/glib-2.0/glib/gquark.h" 1 ># 32 "/usr/include/glib-2.0/glib/gquark.h" >extern "C" { > >typedef guint32 GQuark; > > > >GQuark g_quark_try_string (const gchar *string); >GQuark g_quark_from_static_string (const gchar *string); >GQuark g_quark_from_string (const gchar *string); >const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__)); > >} ># 25 "/usr/include/glib-2.0/glib/gerror.h" 2 > >extern "C" { > >typedef struct _GError GError; > >struct _GError >{ > GQuark domain; > gint code; > gchar *message; >}; > >GError* g_error_new (GQuark domain, > gint code, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); > >GError* g_error_new_literal (GQuark domain, > gint code, > const gchar *message); > >void g_error_free (GError *error); >GError* g_error_copy (const GError *error); > >gboolean g_error_matches (const GError *error, > GQuark domain, > gint code); > > > > >void g_set_error (GError **err, > GQuark domain, > gint code, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 4, 5))); > > > >void g_propagate_error (GError **dest, > GError *src); > > >void g_clear_error (GError **err); > > >} ># 31 "/usr/include/glib-2.0/glib/gthread.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gatomic.h" 1 ># 35 "/usr/include/glib-2.0/glib/gatomic.h" >extern "C" { > >gint g_atomic_int_exchange_and_add (gint *atomic, > gint val); >void g_atomic_int_add (gint *atomic, > gint val); >gboolean g_atomic_int_compare_and_exchange (gint *atomic, > gint oldval, > gint newval); >gboolean g_atomic_pointer_compare_and_exchange (gpointer *atomic, > gpointer oldval, > gpointer newval); > > >gint g_atomic_int_get (gint *atomic); >gpointer g_atomic_pointer_get (gpointer *atomic); ># 60 "/usr/include/glib-2.0/glib/gatomic.h" >} ># 33 "/usr/include/glib-2.0/glib/gthread.h" 2 > >extern "C" { > > > > >extern GQuark g_thread_error_quark (void); > > >typedef enum >{ > G_THREAD_ERROR_AGAIN >} GThreadError; > >typedef gpointer (*GThreadFunc) (gpointer data); > >typedef enum >{ > G_THREAD_PRIORITY_LOW, > G_THREAD_PRIORITY_NORMAL, > G_THREAD_PRIORITY_HIGH, > G_THREAD_PRIORITY_URGENT >} GThreadPriority; > >typedef struct _GThread GThread; >struct _GThread >{ > > GThreadFunc func; > gpointer data; > gboolean joinable; > GThreadPriority priority; >}; > >typedef struct _GMutex GMutex; >typedef struct _GCond GCond; >typedef struct _GPrivate GPrivate; >typedef struct _GStaticPrivate GStaticPrivate; > >typedef struct _GThreadFunctions GThreadFunctions; >struct _GThreadFunctions >{ > GMutex* (*mutex_new) (void); > void (*mutex_lock) (GMutex *mutex); > gboolean (*mutex_trylock) (GMutex *mutex); > void (*mutex_unlock) (GMutex *mutex); > void (*mutex_free) (GMutex *mutex); > GCond* (*cond_new) (void); > void (*cond_signal) (GCond *cond); > void (*cond_broadcast) (GCond *cond); > void (*cond_wait) (GCond *cond, > GMutex *mutex); > gboolean (*cond_timed_wait) (GCond *cond, > GMutex *mutex, > GTimeVal *end_time); > void (*cond_free) (GCond *cond); > GPrivate* (*private_new) (GDestroyNotify destructor); > gpointer (*private_get) (GPrivate *private_key); > void (*private_set) (GPrivate *private_key, > gpointer data); > void (*thread_create) (GThreadFunc func, > gpointer data, > gulong stack_size, > gboolean joinable, > gboolean bound, > GThreadPriority priority, > gpointer thread, > GError **error); > void (*thread_yield) (void); > void (*thread_join) (gpointer thread); > void (*thread_exit) (void); > void (*thread_set_priority)(gpointer thread, > GThreadPriority priority); > void (*thread_self) (gpointer thread); > gboolean (*thread_equal) (gpointer thread1, > gpointer thread2); >}; > >extern GThreadFunctions g_thread_functions_for_glib_use; >extern gboolean g_thread_use_default_impl; >extern gboolean g_threads_got_initialized; > > > > > >void g_thread_init (GThreadFunctions *vtable); ># 128 "/usr/include/glib-2.0/glib/gthread.h" >void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable); ># 138 "/usr/include/glib-2.0/glib/gthread.h" >GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); ># 208 "/usr/include/glib-2.0/glib/gthread.h" >GThread* g_thread_create_full (GThreadFunc func, > gpointer data, > gulong stack_size, > gboolean joinable, > gboolean bound, > GThreadPriority priority, > GError **error); >GThread* g_thread_self (void); >void g_thread_exit (gpointer retval); >gpointer g_thread_join (GThread *thread); > >void g_thread_set_priority (GThread *thread, > GThreadPriority priority); ># 233 "/usr/include/glib-2.0/glib/gthread.h" >void g_static_mutex_init (GStaticMutex *mutex); >void g_static_mutex_free (GStaticMutex *mutex); > >struct _GStaticPrivate >{ > > guint index; >}; > >void g_static_private_init (GStaticPrivate *private_key); >gpointer g_static_private_get (GStaticPrivate *private_key); >void g_static_private_set (GStaticPrivate *private_key, > gpointer data, > GDestroyNotify notify); >void g_static_private_free (GStaticPrivate *private_key); > >typedef struct _GStaticRecMutex GStaticRecMutex; >struct _GStaticRecMutex >{ > > GStaticMutex mutex; > guint depth; > GSystemThread owner; >}; > > >void g_static_rec_mutex_init (GStaticRecMutex *mutex); >void g_static_rec_mutex_lock (GStaticRecMutex *mutex); >gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); >void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); >void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, > guint depth); >guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); >void g_static_rec_mutex_free (GStaticRecMutex *mutex); > >typedef struct _GStaticRWLock GStaticRWLock; >struct _GStaticRWLock >{ > > GStaticMutex mutex; > GCond *read_cond; > GCond *write_cond; > guint read_counter; > gboolean have_writer; > guint want_to_read; > guint want_to_write; >}; > > > >void g_static_rw_lock_init (GStaticRWLock* lock); >void g_static_rw_lock_reader_lock (GStaticRWLock* lock); >gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock); >void g_static_rw_lock_reader_unlock (GStaticRWLock* lock); >void g_static_rw_lock_writer_lock (GStaticRWLock* lock); >gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock); >void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); >void g_static_rw_lock_free (GStaticRWLock* lock); > >typedef enum >{ > G_ONCE_STATUS_NOTCALLED, > G_ONCE_STATUS_PROGRESS, > G_ONCE_STATUS_READY >} GOnceStatus; > >typedef struct _GOnce GOnce; >struct _GOnce >{ > volatile GOnceStatus status; > volatile gpointer retval; >}; > > > >gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); ># 328 "/usr/include/glib-2.0/glib/gthread.h" >extern void glib_dummy_decl (void); ># 370 "/usr/include/glib-2.0/glib/gthread.h" >} ># 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2 > >extern "C" { > >typedef struct _GAsyncQueue GAsyncQueue; > > > > > >GAsyncQueue* g_async_queue_new (void); > > > > > >void g_async_queue_lock (GAsyncQueue *queue); >void g_async_queue_unlock (GAsyncQueue *queue); > > >void g_async_queue_ref (GAsyncQueue *queue); >void g_async_queue_unref (GAsyncQueue *queue); > > >void g_async_queue_ref_unlocked (GAsyncQueue *queue); >void g_async_queue_unref_and_unlock (GAsyncQueue *queue); > > > >void g_async_queue_push (GAsyncQueue *queue, > gpointer data); >void g_async_queue_push_unlocked (GAsyncQueue *queue, > gpointer data); > > > >gpointer g_async_queue_pop (GAsyncQueue *queue); >gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); > > >gpointer g_async_queue_try_pop (GAsyncQueue *queue); >gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); > > > >gpointer g_async_queue_timed_pop (GAsyncQueue *queue, > GTimeVal *end_time); >gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, > GTimeVal *end_time); > > > > > > > >gint g_async_queue_length (GAsyncQueue *queue); >gint g_async_queue_length_unlocked (GAsyncQueue *queue); > >} ># 33 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1 ># 32 "/usr/include/glib-2.0/glib/gbacktrace.h" >extern "C" { ># 43 "/usr/include/glib-2.0/glib/gbacktrace.h" >void g_on_error_query (const gchar *prg_name); >void g_on_error_stack_trace (const gchar *prg_name); ># 59 "/usr/include/glib-2.0/glib/gbacktrace.h" >} ># 35 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gcache.h" 1 ># 30 "/usr/include/glib-2.0/glib/gcache.h" ># 1 "/usr/include/glib-2.0/glib/glist.h" 1 ># 30 "/usr/include/glib-2.0/glib/glist.h" ># 1 "/usr/include/glib-2.0/glib/gmem.h" 1 ># 32 "/usr/include/glib-2.0/glib/gmem.h" >extern "C" { > >typedef struct _GAllocator GAllocator; >typedef struct _GMemChunk GMemChunk; >typedef struct _GMemVTable GMemVTable; ># 48 "/usr/include/glib-2.0/glib/gmem.h" >gpointer g_malloc (gulong n_bytes); >gpointer g_malloc0 (gulong n_bytes); >gpointer g_realloc (gpointer mem, > gulong n_bytes); >void g_free (gpointer mem); >gpointer g_try_malloc (gulong n_bytes); >gpointer g_try_realloc (gpointer mem, > gulong n_bytes); ># 72 "/usr/include/glib-2.0/glib/gmem.h" >struct _GMemVTable >{ > gpointer (*malloc) (gsize n_bytes); > gpointer (*realloc) (gpointer mem, > gsize n_bytes); > void (*free) (gpointer mem); > > gpointer (*calloc) (gsize n_blocks, > gsize n_block_bytes); > gpointer (*try_malloc) (gsize n_bytes); > gpointer (*try_realloc) (gpointer mem, > gsize n_bytes); >}; >void g_mem_set_vtable (GMemVTable *vtable); >gboolean g_mem_is_system_malloc (void); > > > >extern GMemVTable *glib_mem_profiler_table; >void g_mem_profile (void); ># 135 "/usr/include/glib-2.0/glib/gmem.h" >GMemChunk* g_mem_chunk_new (const gchar *name, > gint atom_size, > gulong area_size, > gint type); >void g_mem_chunk_destroy (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); >void g_mem_chunk_free (GMemChunk *mem_chunk, > gpointer mem); >void g_mem_chunk_clean (GMemChunk *mem_chunk); >void g_mem_chunk_reset (GMemChunk *mem_chunk); >void g_mem_chunk_print (GMemChunk *mem_chunk); >void g_mem_chunk_info (void); ># 157 "/usr/include/glib-2.0/glib/gmem.h" >void g_blow_chunks (void); > > > > >GAllocator* g_allocator_new (const gchar *name, > guint n_preallocs); >void g_allocator_free (GAllocator *allocator); > > > > > > > >} ># 31 "/usr/include/glib-2.0/glib/glist.h" 2 > >extern "C" { > >typedef struct _GList GList; > >struct _GList >{ > gpointer data; > GList *next; > GList *prev; >}; > > > >void g_list_push_allocator (GAllocator *allocator); >void g_list_pop_allocator (void); >GList* g_list_alloc (void); >void g_list_free (GList *list); >void g_list_free_1 (GList *list); >GList* g_list_append (GList *list, > gpointer data); >GList* g_list_prepend (GList *list, > gpointer data); >GList* g_list_insert (GList *list, > gpointer data, > gint position); >GList* g_list_insert_sorted (GList *list, > gpointer data, > GCompareFunc func); >GList* g_list_insert_before (GList *list, > GList *sibling, > gpointer data); >GList* g_list_concat (GList *list1, > GList *list2); >GList* g_list_remove (GList *list, > gconstpointer data); >GList* g_list_remove_all (GList *list, > gconstpointer data); >GList* g_list_remove_link (GList *list, > GList *llink); >GList* g_list_delete_link (GList *list, > GList *link_); >GList* g_list_reverse (GList *list); >GList* g_list_copy (GList *list); >GList* g_list_nth (GList *list, > guint n); >GList* g_list_nth_prev (GList *list, > guint n); >GList* g_list_find (GList *list, > gconstpointer data); >GList* g_list_find_custom (GList *list, > gconstpointer data, > GCompareFunc func); >gint g_list_position (GList *list, > GList *llink); >gint g_list_index (GList *list, > gconstpointer data); >GList* g_list_last (GList *list); >GList* g_list_first (GList *list); >guint g_list_length (GList *list); >void g_list_foreach (GList *list, > GFunc func, > gpointer user_data); >GList* g_list_sort (GList *list, > GCompareFunc compare_func); >GList* g_list_sort_with_data (GList *list, > GCompareDataFunc compare_func, > gpointer user_data); >gpointer g_list_nth_data (GList *list, > guint n); > > > > >} ># 31 "/usr/include/glib-2.0/glib/gcache.h" 2 > >extern "C" { > >typedef struct _GCache GCache; > >typedef gpointer (*GCacheNewFunc) (gpointer key); >typedef gpointer (*GCacheDupFunc) (gpointer value); >typedef void (*GCacheDestroyFunc) (gpointer value); > > > >GCache* g_cache_new (GCacheNewFunc value_new_func, > GCacheDestroyFunc value_destroy_func, > GCacheDupFunc key_dup_func, > GCacheDestroyFunc key_destroy_func, > GHashFunc hash_key_func, > GHashFunc hash_value_func, > GEqualFunc key_equal_func); >void g_cache_destroy (GCache *cache); >gpointer g_cache_insert (GCache *cache, > gpointer key); >void g_cache_remove (GCache *cache, > gconstpointer value); >void g_cache_key_foreach (GCache *cache, > GHFunc func, > gpointer user_data); >void g_cache_value_foreach (GCache *cache, > GHFunc func, > gpointer user_data); > >} ># 36 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1 ># 32 "/usr/include/glib-2.0/glib/gcompletion.h" >extern "C" { > >typedef struct _GCompletion GCompletion; > >typedef gchar* (*GCompletionFunc) (gpointer); > > > > >typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, > const gchar *s2, > gsize n); > >struct _GCompletion >{ > GList* items; > GCompletionFunc func; > > gchar* prefix; > GList* cache; > GCompletionStrncmpFunc strncmp_func; >}; > >GCompletion* g_completion_new (GCompletionFunc func); >void g_completion_add_items (GCompletion* cmp, > GList* items); >void g_completion_remove_items (GCompletion* cmp, > GList* items); >void g_completion_clear_items (GCompletion* cmp); >GList* g_completion_complete (GCompletion* cmp, > const gchar* prefix, > gchar** new_prefix); >GList* g_completion_complete_utf8 (GCompletion *cmp, > const gchar* prefix, > gchar** new_prefix); >void g_completion_set_compare (GCompletion *cmp, > GCompletionStrncmpFunc strncmp_func); >void g_completion_free (GCompletion* cmp); > >} ># 37 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gconvert.h" 1 ># 30 "/usr/include/glib-2.0/glib/gconvert.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 31 "/usr/include/glib-2.0/glib/gconvert.h" 2 > > >extern "C" { > >typedef enum >{ > G_CONVERT_ERROR_NO_CONVERSION, > G_CONVERT_ERROR_ILLEGAL_SEQUENCE, > G_CONVERT_ERROR_FAILED, > G_CONVERT_ERROR_PARTIAL_INPUT, > G_CONVERT_ERROR_BAD_URI, > G_CONVERT_ERROR_NOT_ABSOLUTE_PATH >} GConvertError; > > >GQuark g_convert_error_quark (void); > > > >typedef struct _GIConv *GIConv; > >GIConv g_iconv_open (const gchar *to_codeset, > const gchar *from_codeset); >size_t g_iconv (GIConv converter, > gchar **inbuf, > gsize *inbytes_left, > gchar **outbuf, > gsize *outbytes_left); >gint g_iconv_close (GIConv converter); > > >gchar* g_convert (const gchar *str, > gssize len, > const gchar *to_codeset, > const gchar *from_codeset, > gsize *bytes_read, > gsize *bytes_written, > GError **error); >gchar* g_convert_with_iconv (const gchar *str, > gssize len, > GIConv converter, > gsize *bytes_read, > gsize *bytes_written, > GError **error); >gchar* g_convert_with_fallback (const gchar *str, > gssize len, > const gchar *to_codeset, > const gchar *from_codeset, > gchar *fallback, > gsize *bytes_read, > gsize *bytes_written, > GError **error); > > > > >gchar* g_locale_to_utf8 (const gchar *opsysstring, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error); >gchar* g_locale_from_utf8 (const gchar *utf8string, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error); > > > > >gchar* g_filename_to_utf8 (const gchar *opsysstring, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error); >gchar* g_filename_from_utf8 (const gchar *utf8string, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error); > >gchar *g_filename_from_uri (const gchar *uri, > gchar **hostname, > GError **error); > >gchar *g_filename_to_uri (const gchar *filename, > const gchar *hostname, > GError **error); > > >} ># 38 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdataset.h" 1 ># 32 "/usr/include/glib-2.0/glib/gdataset.h" >extern "C" { > >typedef struct _GData GData; > >typedef void (*GDataForeachFunc) (GQuark key_id, > gpointer data, > gpointer user_data); > > > >void g_datalist_init (GData **datalist); >void g_datalist_clear (GData **datalist); >gpointer g_datalist_id_get_data (GData **datalist, > GQuark key_id); >void g_datalist_id_set_data_full (GData **datalist, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >gpointer g_datalist_id_remove_no_notify (GData **datalist, > GQuark key_id); >void g_datalist_foreach (GData **datalist, > GDataForeachFunc func, > gpointer user_data); ># 73 "/usr/include/glib-2.0/glib/gdataset.h" >void g_dataset_destroy (gconstpointer dataset_location); >gpointer g_dataset_id_get_data (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_id_set_data_full (gconstpointer dataset_location, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_foreach (gconstpointer dataset_location, > GDataForeachFunc func, > gpointer user_data); ># 100 "/usr/include/glib-2.0/glib/gdataset.h" >} ># 39 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdate.h" 1 ># 32 "/usr/include/glib-2.0/glib/gdate.h" >extern "C" { ># 43 "/usr/include/glib-2.0/glib/gdate.h" >typedef gint32 GTime; >typedef guint16 GDateYear; >typedef guint8 GDateDay; >typedef struct _GDate GDate; > >struct tm; > > >typedef enum >{ > G_DATE_DAY = 0, > G_DATE_MONTH = 1, > G_DATE_YEAR = 2 >} GDateDMY; > > >typedef enum >{ > G_DATE_BAD_WEEKDAY = 0, > G_DATE_MONDAY = 1, > G_DATE_TUESDAY = 2, > G_DATE_WEDNESDAY = 3, > G_DATE_THURSDAY = 4, > G_DATE_FRIDAY = 5, > G_DATE_SATURDAY = 6, > G_DATE_SUNDAY = 7 >} GDateWeekday; >typedef enum >{ > G_DATE_BAD_MONTH = 0, > G_DATE_JANUARY = 1, > G_DATE_FEBRUARY = 2, > G_DATE_MARCH = 3, > G_DATE_APRIL = 4, > G_DATE_MAY = 5, > G_DATE_JUNE = 6, > G_DATE_JULY = 7, > G_DATE_AUGUST = 8, > G_DATE_SEPTEMBER = 9, > G_DATE_OCTOBER = 10, > G_DATE_NOVEMBER = 11, > G_DATE_DECEMBER = 12 >} GDateMonth; ># 96 "/usr/include/glib-2.0/glib/gdate.h" >struct _GDate >{ > guint julian_days : 32; > > > > > > guint julian : 1; > guint dmy : 1; > > > guint day : 6; > guint month : 4; > guint year : 16; >}; > > > > > >GDate* g_date_new (void); >GDate* g_date_new_dmy (GDateDay day, > GDateMonth month, > GDateYear year); >GDate* g_date_new_julian (guint32 julian_day); >void g_date_free (GDate *date); > > > > > > >gboolean g_date_valid (const GDate *date); >gboolean g_date_valid_day (GDateDay day) __attribute__((__const__)); >gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__)); >gboolean g_date_valid_year (GDateYear year) __attribute__((__const__)); >gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__)); >gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__)); >gboolean g_date_valid_dmy (GDateDay day, > GDateMonth month, > GDateYear year) __attribute__((__const__)); > >GDateWeekday g_date_get_weekday (const GDate *date); >GDateMonth g_date_get_month (const GDate *date); >GDateYear g_date_get_year (const GDate *date); >GDateDay g_date_get_day (const GDate *date); >guint32 g_date_get_julian (const GDate *date); >guint g_date_get_day_of_year (const GDate *date); > > > > > > >guint g_date_get_monday_week_of_year (const GDate *date); >guint g_date_get_sunday_week_of_year (const GDate *date); > > > > > >void g_date_clear (GDate *date, > guint n_dates); > > > > > >void g_date_set_parse (GDate *date, > const gchar *str); >void g_date_set_time (GDate *date, > GTime time_); >void g_date_set_month (GDate *date, > GDateMonth month); >void g_date_set_day (GDate *date, > GDateDay day); >void g_date_set_year (GDate *date, > GDateYear year); >void g_date_set_dmy (GDate *date, > GDateDay day, > GDateMonth month, > GDateYear y); >void g_date_set_julian (GDate *date, > guint32 julian_date); >gboolean g_date_is_first_of_month (const GDate *date); >gboolean g_date_is_last_of_month (const GDate *date); > > >void g_date_add_days (GDate *date, > guint n_days); >void g_date_subtract_days (GDate *date, > guint n_days); > > >void g_date_add_months (GDate *date, > guint n_months); >void g_date_subtract_months (GDate *date, > guint n_months); > > >void g_date_add_years (GDate *date, > guint n_years); >void g_date_subtract_years (GDate *date, > guint n_years); >gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__)); >guint8 g_date_get_days_in_month (GDateMonth month, > GDateYear year) __attribute__((__const__)); >guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__)); >guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__)); > > > >gint g_date_days_between (const GDate *date1, > const GDate *date2); > > >gint g_date_compare (const GDate *lhs, > const GDate *rhs); >void g_date_to_struct_tm (const GDate *date, > struct tm *tm); > >void g_date_clamp (GDate *date, > const GDate *min_date, > const GDate *max_date); > > >void g_date_order (GDate *date1, GDate *date2); > > > > >gsize g_date_strftime (gchar *s, > gsize slen, > const gchar *format, > const GDate *date); ># 249 "/usr/include/glib-2.0/glib/gdate.h" >} ># 40 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdir.h" 1 ># 28 "/usr/include/glib-2.0/glib/gdir.h" >extern "C" { > >typedef struct _GDir GDir; > >GDir * g_dir_open (const gchar *path, > guint flags, > GError **error); >const gchar *g_dir_read_name (GDir *dir); >void g_dir_rewind (GDir *dir); >void g_dir_close (GDir *dir); > >} ># 41 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1 ># 26 "/usr/include/glib-2.0/glib/gfileutils.h" >extern "C" { > > > >typedef enum >{ > G_FILE_ERROR_EXIST, > G_FILE_ERROR_ISDIR, > G_FILE_ERROR_ACCES, > G_FILE_ERROR_NAMETOOLONG, > G_FILE_ERROR_NOENT, > G_FILE_ERROR_NOTDIR, > G_FILE_ERROR_NXIO, > G_FILE_ERROR_NODEV, > G_FILE_ERROR_ROFS, > G_FILE_ERROR_TXTBSY, > G_FILE_ERROR_FAULT, > G_FILE_ERROR_LOOP, > G_FILE_ERROR_NOSPC, > G_FILE_ERROR_NOMEM, > G_FILE_ERROR_MFILE, > G_FILE_ERROR_NFILE, > G_FILE_ERROR_BADF, > G_FILE_ERROR_INVAL, > G_FILE_ERROR_PIPE, > G_FILE_ERROR_AGAIN, > G_FILE_ERROR_INTR, > G_FILE_ERROR_IO, > G_FILE_ERROR_PERM, > G_FILE_ERROR_FAILED >} GFileError; > > > > > >typedef enum >{ > G_FILE_TEST_IS_REGULAR = 1 << 0, > G_FILE_TEST_IS_SYMLINK = 1 << 1, > G_FILE_TEST_IS_DIR = 1 << 2, > G_FILE_TEST_IS_EXECUTABLE = 1 << 3, > G_FILE_TEST_EXISTS = 1 << 4 >} GFileTest; > >GQuark g_file_error_quark (void); > >GFileError g_file_error_from_errno (gint err_no); > >gboolean g_file_test (const gchar *filename, > GFileTest test); >gboolean g_file_get_contents (const gchar *filename, > gchar **contents, > gsize *length, > GError **error); >gchar *g_file_read_link (const gchar *filename, > GError **error); > > >gint g_mkstemp (gchar *tmpl); > > >gint g_file_open_tmp (const gchar *tmpl, > gchar **name_used, > GError **error); > >gchar *g_build_path (const gchar *separator, > const gchar *first_element, > ...); >gchar *g_build_filename (const gchar *first_element, > ...); > >} ># 43 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/ghash.h" 1 ># 32 "/usr/include/glib-2.0/glib/ghash.h" >extern "C" { > >typedef struct _GHashTable GHashTable; > >typedef gboolean (*GHRFunc) (gpointer key, > gpointer value, > gpointer user_data); > > > >GHashTable* g_hash_table_new (GHashFunc hash_func, > GEqualFunc key_equal_func); >GHashTable* g_hash_table_new_full (GHashFunc hash_func, > GEqualFunc key_equal_func, > GDestroyNotify key_destroy_func, > GDestroyNotify value_destroy_func); >void g_hash_table_destroy (GHashTable *hash_table); >void g_hash_table_insert (GHashTable *hash_table, > gpointer key, > gpointer value); >void g_hash_table_replace (GHashTable *hash_table, > gpointer key, > gpointer value); >gboolean g_hash_table_remove (GHashTable *hash_table, > gconstpointer key); >gboolean g_hash_table_steal (GHashTable *hash_table, > gconstpointer key); >gpointer g_hash_table_lookup (GHashTable *hash_table, > gconstpointer key); >gboolean g_hash_table_lookup_extended (GHashTable *hash_table, > gconstpointer lookup_key, > gpointer *orig_key, > gpointer *value); >void g_hash_table_foreach (GHashTable *hash_table, > GHFunc func, > gpointer user_data); >gpointer g_hash_table_find (GHashTable *hash_table, > GHRFunc predicate, > gpointer user_data); >guint g_hash_table_foreach_remove (GHashTable *hash_table, > GHRFunc func, > gpointer user_data); >guint g_hash_table_foreach_steal (GHashTable *hash_table, > GHRFunc func, > gpointer user_data); >guint g_hash_table_size (GHashTable *hash_table); ># 90 "/usr/include/glib-2.0/glib/ghash.h" >gboolean g_str_equal (gconstpointer v, > gconstpointer v2); >guint g_str_hash (gconstpointer v); > >gboolean g_int_equal (gconstpointer v, > gconstpointer v2); >guint g_int_hash (gconstpointer v); > > > > > > > >guint g_direct_hash (gconstpointer v) __attribute__((__const__)); >gboolean g_direct_equal (gconstpointer v, > gconstpointer v2) __attribute__((__const__)); > >} ># 44 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/ghook.h" 1 ># 32 "/usr/include/glib-2.0/glib/ghook.h" >extern "C" { > > > >typedef struct _GHook GHook; >typedef struct _GHookList GHookList; > >typedef gint (*GHookCompareFunc) (GHook *new_hook, > GHook *sibling); >typedef gboolean (*GHookFindFunc) (GHook *hook, > gpointer data); >typedef void (*GHookMarshaller) (GHook *hook, > gpointer marshal_data); >typedef gboolean (*GHookCheckMarshaller) (GHook *hook, > gpointer marshal_data); >typedef void (*GHookFunc) (gpointer data); >typedef gboolean (*GHookCheckFunc) (gpointer data); >typedef void (*GHookFinalizeFunc) (GHookList *hook_list, > GHook *hook); >typedef enum >{ > G_HOOK_FLAG_ACTIVE = 1 << 0, > G_HOOK_FLAG_IN_CALL = 1 << 1, > G_HOOK_FLAG_MASK = 0x0f >} GHookFlagMask; > > > > >struct _GHookList >{ > gulong seq_id; > guint hook_size : 16; > guint is_setup : 1; > GHook *hooks; > GMemChunk *hook_memchunk; > GHookFinalizeFunc finalize_hook; > gpointer dummy[2]; >}; >struct _GHook >{ > gpointer data; > GHook *next; > GHook *prev; > guint ref_count; > gulong hook_id; > guint flags; > gpointer func; > GDestroyNotify destroy; >}; ># 102 "/usr/include/glib-2.0/glib/ghook.h" >void g_hook_list_init (GHookList *hook_list, > guint hook_size); >void g_hook_list_clear (GHookList *hook_list); >GHook* g_hook_alloc (GHookList *hook_list); >void g_hook_free (GHookList *hook_list, > GHook *hook); >void g_hook_ref (GHookList *hook_list, > GHook *hook); >void g_hook_unref (GHookList *hook_list, > GHook *hook); >gboolean g_hook_destroy (GHookList *hook_list, > gulong hook_id); >void g_hook_destroy_link (GHookList *hook_list, > GHook *hook); >void g_hook_prepend (GHookList *hook_list, > GHook *hook); >void g_hook_insert_before (GHookList *hook_list, > GHook *sibling, > GHook *hook); >void g_hook_insert_sorted (GHookList *hook_list, > GHook *hook, > GHookCompareFunc func); >GHook* g_hook_get (GHookList *hook_list, > gulong hook_id); >GHook* g_hook_find (GHookList *hook_list, > gboolean need_valids, > GHookFindFunc func, > gpointer data); >GHook* g_hook_find_data (GHookList *hook_list, > gboolean need_valids, > gpointer data); >GHook* g_hook_find_func (GHookList *hook_list, > gboolean need_valids, > gpointer func); >GHook* g_hook_find_func_data (GHookList *hook_list, > gboolean need_valids, > gpointer func, > gpointer data); > >GHook* g_hook_first_valid (GHookList *hook_list, > gboolean may_be_in_call); > > > >GHook* g_hook_next_valid (GHookList *hook_list, > GHook *hook, > gboolean may_be_in_call); > >gint g_hook_compare_ids (GHook *new_hook, > GHook *sibling); > > > > > >void g_hook_list_invoke (GHookList *hook_list, > gboolean may_recurse); > > > >void g_hook_list_invoke_check (GHookList *hook_list, > gboolean may_recurse); > > >void g_hook_list_marshal (GHookList *hook_list, > gboolean may_recurse, > GHookMarshaller marshaller, > gpointer marshal_data); >void g_hook_list_marshal_check (GHookList *hook_list, > gboolean may_recurse, > GHookCheckMarshaller marshaller, > gpointer marshal_data); > >} ># 45 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/giochannel.h" 1 ># 31 "/usr/include/glib-2.0/glib/giochannel.h" ># 1 "/usr/include/glib-2.0/glib/gmain.h" 1 ># 23 "/usr/include/glib-2.0/glib/gmain.h" ># 1 "/usr/include/glib-2.0/glib/gslist.h" 1 ># 32 "/usr/include/glib-2.0/glib/gslist.h" >extern "C" { > >typedef struct _GSList GSList; > >struct _GSList >{ > gpointer data; > GSList *next; >}; > > > >void g_slist_push_allocator (GAllocator *allocator); >void g_slist_pop_allocator (void); >GSList* g_slist_alloc (void); >void g_slist_free (GSList *list); >void g_slist_free_1 (GSList *list); >GSList* g_slist_append (GSList *list, > gpointer data); >GSList* g_slist_prepend (GSList *list, > gpointer data); >GSList* g_slist_insert (GSList *list, > gpointer data, > gint position); >GSList* g_slist_insert_sorted (GSList *list, > gpointer data, > GCompareFunc func); >GSList* g_slist_insert_before (GSList *slist, > GSList *sibling, > gpointer data); >GSList* g_slist_concat (GSList *list1, > GSList *list2); >GSList* g_slist_remove (GSList *list, > gconstpointer data); >GSList* g_slist_remove_all (GSList *list, > gconstpointer data); >GSList* g_slist_remove_link (GSList *list, > GSList *link_); >GSList* g_slist_delete_link (GSList *list, > GSList *link_); >GSList* g_slist_reverse (GSList *list); >GSList* g_slist_copy (GSList *list); >GSList* g_slist_nth (GSList *list, > guint n); >GSList* g_slist_find (GSList *list, > gconstpointer data); >GSList* g_slist_find_custom (GSList *list, > gconstpointer data, > GCompareFunc func); >gint g_slist_position (GSList *list, > GSList *llink); >gint g_slist_index (GSList *list, > gconstpointer data); >GSList* g_slist_last (GSList *list); >guint g_slist_length (GSList *list); >void g_slist_foreach (GSList *list, > GFunc func, > gpointer user_data); >GSList* g_slist_sort (GSList *list, > GCompareFunc compare_func); >GSList* g_slist_sort_with_data (GSList *list, > GCompareDataFunc compare_func, > gpointer user_data); >gpointer g_slist_nth_data (GSList *list, > guint n); > > >} ># 24 "/usr/include/glib-2.0/glib/gmain.h" 2 > > >extern "C" { > >typedef struct _GMainContext GMainContext; >typedef struct _GMainLoop GMainLoop; >typedef struct _GSource GSource; >typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; >typedef struct _GSourceFuncs GSourceFuncs; > >typedef gboolean (*GSourceFunc) (gpointer data); >typedef void (*GChildWatchFunc) (GPid pid, > gint status, > gpointer data); >struct _GSource >{ > > gpointer callback_data; > GSourceCallbackFuncs *callback_funcs; > > GSourceFuncs *source_funcs; > guint ref_count; > > GMainContext *context; > > gint priority; > guint flags; > guint source_id; > > GSList *poll_fds; > > GSource *prev; > GSource *next; > > gpointer reserved1; > gpointer reserved2; >}; > >struct _GSourceCallbackFuncs >{ > void (*ref) (gpointer cb_data); > void (*unref) (gpointer cb_data); > void (*get) (gpointer cb_data, > GSource *source, > GSourceFunc *func, > gpointer *data); >}; > >typedef void (*GSourceDummyMarshal) (void); > >struct _GSourceFuncs >{ > gboolean (*prepare) (GSource *source, > gint *timeout_); > gboolean (*check) (GSource *source); > gboolean (*dispatch) (GSource *source, > GSourceFunc callback, > gpointer user_data); > void (*finalize) (GSource *source); > > > GSourceFunc closure_callback; > GSourceDummyMarshal closure_marshal; >}; ># 116 "/usr/include/glib-2.0/glib/gmain.h" >typedef struct _GPollFD GPollFD; >typedef gint (*GPollFunc) (GPollFD *ufds, > guint nfsd, > gint timeout_); > >struct _GPollFD >{ > gint fd; > gushort events; > gushort revents; >}; ># 138 "/usr/include/glib-2.0/glib/gmain.h" >GMainContext *g_main_context_new (void); >void g_main_context_ref (GMainContext *context); >void g_main_context_unref (GMainContext *context); >GMainContext *g_main_context_default (void); > >gboolean g_main_context_iteration (GMainContext *context, > gboolean may_block); >gboolean g_main_context_pending (GMainContext *context); > > > >GSource *g_main_context_find_source_by_id (GMainContext *context, > guint source_id); >GSource *g_main_context_find_source_by_user_data (GMainContext *context, > gpointer user_data); >GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, > GSourceFuncs *funcs, > gpointer user_data); > > > >void g_main_context_wakeup (GMainContext *context); >gboolean g_main_context_acquire (GMainContext *context); >void g_main_context_release (GMainContext *context); >gboolean g_main_context_wait (GMainContext *context, > GCond *cond, > GMutex *mutex); > >gboolean g_main_context_prepare (GMainContext *context, > gint *priority); >gint g_main_context_query (GMainContext *context, > gint max_priority, > gint *timeout_, > GPollFD *fds, > gint n_fds); >gint g_main_context_check (GMainContext *context, > gint max_priority, > GPollFD *fds, > gint n_fds); >void g_main_context_dispatch (GMainContext *context); > >void g_main_context_set_poll_func (GMainContext *context, > GPollFunc func); >GPollFunc g_main_context_get_poll_func (GMainContext *context); > > > >void g_main_context_add_poll (GMainContext *context, > GPollFD *fd, > gint priority); >void g_main_context_remove_poll (GMainContext *context, > GPollFD *fd); > >int g_main_depth (void); > > > >GMainLoop *g_main_loop_new (GMainContext *context, > gboolean is_running); >void g_main_loop_run (GMainLoop *loop); >void g_main_loop_quit (GMainLoop *loop); >GMainLoop *g_main_loop_ref (GMainLoop *loop); >void g_main_loop_unref (GMainLoop *loop); >gboolean g_main_loop_is_running (GMainLoop *loop); >GMainContext *g_main_loop_get_context (GMainLoop *loop); > > > >GSource *g_source_new (GSourceFuncs *source_funcs, > guint struct_size); >GSource *g_source_ref (GSource *source); >void g_source_unref (GSource *source); > >guint g_source_attach (GSource *source, > GMainContext *context); >void g_source_destroy (GSource *source); > >void g_source_set_priority (GSource *source, > gint priority); >gint g_source_get_priority (GSource *source); >void g_source_set_can_recurse (GSource *source, > gboolean can_recurse); >gboolean g_source_get_can_recurse (GSource *source); >guint g_source_get_id (GSource *source); > >GMainContext *g_source_get_context (GSource *source); > >void g_source_set_callback (GSource *source, > GSourceFunc func, > gpointer data, > GDestroyNotify notify); > > > >void g_source_set_callback_indirect (GSource *source, > gpointer callback_data, > GSourceCallbackFuncs *callback_funcs); > >void g_source_add_poll (GSource *source, > GPollFD *fd); >void g_source_remove_poll (GSource *source, > GPollFD *fd); > >void g_source_get_current_time (GSource *source, > GTimeVal *timeval); > > > > > > > >GSource *g_idle_source_new (void); >GSource *g_child_watch_source_new (GPid pid); >GSource *g_timeout_source_new (guint interval); > > > >void g_get_current_time (GTimeVal *result); ># 281 "/usr/include/glib-2.0/glib/gmain.h" >gboolean g_source_remove (guint tag); >gboolean g_source_remove_by_user_data (gpointer user_data); >gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, > gpointer user_data); > > >guint g_timeout_add_full (gint priority, > guint interval, > GSourceFunc function, > gpointer data, > GDestroyNotify notify); >guint g_timeout_add (guint interval, > GSourceFunc function, > gpointer data); >guint g_child_watch_add_full (gint priority, > GPid pid, > GChildWatchFunc function, > gpointer data, > GDestroyNotify notify); >guint g_child_watch_add (GPid pid, > GChildWatchFunc function, > gpointer data); >guint g_idle_add (GSourceFunc function, > gpointer data); >guint g_idle_add_full (gint priority, > GSourceFunc function, > gpointer data, > GDestroyNotify notify); >gboolean g_idle_remove_by_data (gpointer data); > > >extern GSourceFuncs g_timeout_funcs; >extern GSourceFuncs g_child_watch_funcs; >extern GSourceFuncs g_idle_funcs; > >} ># 32 "/usr/include/glib-2.0/glib/giochannel.h" 2 ># 1 "/usr/include/glib-2.0/glib/gstring.h" 1 ># 31 "/usr/include/glib-2.0/glib/gstring.h" ># 1 "/usr/include/glib-2.0/glib/gunicode.h" 1 ># 28 "/usr/include/glib-2.0/glib/gunicode.h" >extern "C" { > >typedef guint32 gunichar; >typedef guint16 gunichar2; > > > > >typedef enum >{ > G_UNICODE_CONTROL, > G_UNICODE_FORMAT, > G_UNICODE_UNASSIGNED, > G_UNICODE_PRIVATE_USE, > G_UNICODE_SURROGATE, > G_UNICODE_LOWERCASE_LETTER, > G_UNICODE_MODIFIER_LETTER, > G_UNICODE_OTHER_LETTER, > G_UNICODE_TITLECASE_LETTER, > G_UNICODE_UPPERCASE_LETTER, > G_UNICODE_COMBINING_MARK, > G_UNICODE_ENCLOSING_MARK, > G_UNICODE_NON_SPACING_MARK, > G_UNICODE_DECIMAL_NUMBER, > G_UNICODE_LETTER_NUMBER, > G_UNICODE_OTHER_NUMBER, > G_UNICODE_CONNECT_PUNCTUATION, > G_UNICODE_DASH_PUNCTUATION, > G_UNICODE_CLOSE_PUNCTUATION, > G_UNICODE_FINAL_PUNCTUATION, > G_UNICODE_INITIAL_PUNCTUATION, > G_UNICODE_OTHER_PUNCTUATION, > G_UNICODE_OPEN_PUNCTUATION, > G_UNICODE_CURRENCY_SYMBOL, > G_UNICODE_MODIFIER_SYMBOL, > G_UNICODE_MATH_SYMBOL, > G_UNICODE_OTHER_SYMBOL, > G_UNICODE_LINE_SEPARATOR, > G_UNICODE_PARAGRAPH_SEPARATOR, > G_UNICODE_SPACE_SEPARATOR >} GUnicodeType; > > > > >typedef enum >{ > G_UNICODE_BREAK_MANDATORY, > G_UNICODE_BREAK_CARRIAGE_RETURN, > G_UNICODE_BREAK_LINE_FEED, > G_UNICODE_BREAK_COMBINING_MARK, > G_UNICODE_BREAK_SURROGATE, > G_UNICODE_BREAK_ZERO_WIDTH_SPACE, > G_UNICODE_BREAK_INSEPARABLE, > G_UNICODE_BREAK_NON_BREAKING_GLUE, > G_UNICODE_BREAK_CONTINGENT, > G_UNICODE_BREAK_SPACE, > G_UNICODE_BREAK_AFTER, > G_UNICODE_BREAK_BEFORE, > G_UNICODE_BREAK_BEFORE_AND_AFTER, > G_UNICODE_BREAK_HYPHEN, > G_UNICODE_BREAK_NON_STARTER, > G_UNICODE_BREAK_OPEN_PUNCTUATION, > G_UNICODE_BREAK_CLOSE_PUNCTUATION, > G_UNICODE_BREAK_QUOTATION, > G_UNICODE_BREAK_EXCLAMATION, > G_UNICODE_BREAK_IDEOGRAPHIC, > G_UNICODE_BREAK_NUMERIC, > G_UNICODE_BREAK_INFIX_SEPARATOR, > G_UNICODE_BREAK_SYMBOL, > G_UNICODE_BREAK_ALPHABETIC, > G_UNICODE_BREAK_PREFIX, > G_UNICODE_BREAK_POSTFIX, > G_UNICODE_BREAK_COMPLEX_CONTEXT, > G_UNICODE_BREAK_AMBIGUOUS, > G_UNICODE_BREAK_UNKNOWN, > G_UNICODE_BREAK_NEXT_LINE, > G_UNICODE_BREAK_WORD_JOINER >} GUnicodeBreakType; > > > > > > > >gboolean g_get_charset (const char **charset); > > > >gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__)); >gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__)); >gboolean g_unichar_islower (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isprint (gunichar c) __attribute__((__const__)); >gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isspace (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isupper (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__)); >gboolean g_unichar_istitle (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__)); >gboolean g_unichar_iswide (gunichar c) __attribute__((__const__)); > > > >gunichar g_unichar_toupper (gunichar c) __attribute__((__const__)); >gunichar g_unichar_tolower (gunichar c) __attribute__((__const__)); >gunichar g_unichar_totitle (gunichar c) __attribute__((__const__)); > > > >gint g_unichar_digit_value (gunichar c) __attribute__((__const__)); > >gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__)); > > >GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__)); > > >GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__)); > > > > > >void g_unicode_canonical_ordering (gunichar *string, > gsize len); > > > > >gunichar *g_unicode_canonical_decomposition (gunichar ch, > gsize *result_len); > > > >extern const gchar * const g_utf8_skip; > > > >gunichar g_utf8_get_char (const gchar *p); >gunichar g_utf8_get_char_validated (const gchar *p, > gssize max_len); > >gchar* g_utf8_offset_to_pointer (const gchar *str, > glong offset); >glong g_utf8_pointer_to_offset (const gchar *str, > const gchar *pos); >gchar* g_utf8_prev_char (const gchar *p); >gchar* g_utf8_find_next_char (const gchar *p, > const gchar *end); >gchar* g_utf8_find_prev_char (const gchar *str, > const gchar *p); > >glong g_utf8_strlen (const gchar *p, > gssize max); > > >gchar* g_utf8_strncpy (gchar *dest, > const gchar *src, > gsize n); > > > >gchar* g_utf8_strchr (const gchar *p, > gssize len, > gunichar c); >gchar* g_utf8_strrchr (const gchar *p, > gssize len, > gunichar c); >gchar* g_utf8_strreverse (const gchar *str, > gssize len); > >gunichar2 *g_utf8_to_utf16 (const gchar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); >gunichar * g_utf8_to_ucs4 (const gchar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); >gunichar * g_utf8_to_ucs4_fast (const gchar *str, > glong len, > glong *items_written); >gunichar * g_utf16_to_ucs4 (const gunichar2 *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); >gchar* g_utf16_to_utf8 (const gunichar2 *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); >gunichar2 *g_ucs4_to_utf16 (const gunichar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); >gchar* g_ucs4_to_utf8 (const gunichar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error); > > > > > >gint g_unichar_to_utf8 (gunichar c, > gchar *outbuf); > > > > > >gboolean g_utf8_validate (const gchar *str, > gssize max_len, > const gchar **end); > > >gboolean g_unichar_validate (gunichar ch); > >gchar *g_utf8_strup (const gchar *str, > gssize len); >gchar *g_utf8_strdown (const gchar *str, > gssize len); >gchar *g_utf8_casefold (const gchar *str, > gssize len); > >typedef enum { > G_NORMALIZE_DEFAULT, > G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, > G_NORMALIZE_DEFAULT_COMPOSE, > G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, > G_NORMALIZE_ALL, > G_NORMALIZE_NFKD = G_NORMALIZE_ALL, > G_NORMALIZE_ALL_COMPOSE, > G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE >} GNormalizeMode; > >gchar *g_utf8_normalize (const gchar *str, > gssize len, > GNormalizeMode mode); > >gint g_utf8_collate (const gchar *str1, > const gchar *str2); >gchar *g_utf8_collate_key (const gchar *str, > gssize len); > >gboolean g_unichar_get_mirror_char (gunichar ch, > gunichar *mirrored_ch); > >} ># 32 "/usr/include/glib-2.0/glib/gstring.h" 2 ># 1 "/usr/include/glib-2.0/glib/gutils.h" 1 ># 31 "/usr/include/glib-2.0/glib/gutils.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 105 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 32 "/usr/include/glib-2.0/glib/gutils.h" 2 > >extern "C" { ># 116 "/usr/include/glib-2.0/glib/gutils.h" >const gchar* g_get_user_name (void); >const gchar* g_get_real_name (void); >const gchar* g_get_home_dir (void); >const gchar* g_get_tmp_dir (void); >gchar* g_get_prgname (void); >void g_set_prgname (const gchar *prgname); >const gchar* g_get_application_name (void); >void g_set_application_name (const gchar *application_name); > > >typedef struct _GDebugKey GDebugKey; >struct _GDebugKey >{ > gchar *key; > guint value; >}; > > > >guint g_parse_debug_string (const gchar *string, > const GDebugKey *keys, > guint nkeys); > >gint g_snprintf (gchar *string, > gulong n, > gchar const *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); >gint g_vsnprintf (gchar *string, > gulong n, > gchar const *format, > va_list args); > > >gboolean g_path_is_absolute (const gchar *file_name); > > >const gchar* g_path_skip_root (const gchar *file_name); > > > > > > > >const gchar* g_basename (const gchar *file_name); > > > > > >gchar* g_get_current_dir (void); >gchar* g_path_get_basename (const gchar *file_name); >gchar* g_path_get_dirname (const gchar *file_name); > > > >void g_nullify_pointer (gpointer *nullify_location); > > > > > > >const gchar* g_getenv (const gchar *variable); >gboolean g_setenv (const gchar *variable, > const gchar *value, > gboolean overwrite); >void g_unsetenv (const gchar *variable); > > > > > > >typedef void (*GVoidFunc) (void); ># 201 "/usr/include/glib-2.0/glib/gutils.h" >void g_atexit (GVoidFunc func); > > >gchar* g_find_program_in_path (const gchar *program); > > > >extern inline gint g_bit_nth_lsf (gulong mask, > gint nth_bit); >extern inline gint g_bit_nth_msf (gulong mask, > gint nth_bit); >extern inline guint g_bit_storage (gulong number); > > > > >typedef struct _GTrashStack GTrashStack; >struct _GTrashStack >{ > GTrashStack *next; >}; > >extern inline void g_trash_stack_push (GTrashStack **stack_p, > gpointer data_p); >extern inline gpointer g_trash_stack_pop (GTrashStack **stack_p); >extern inline gpointer g_trash_stack_peek (GTrashStack **stack_p); >extern inline guint g_trash_stack_height (GTrashStack **stack_p); > > > > >extern inline gint >g_bit_nth_lsf (gulong mask, > gint nth_bit) >{ > do > { > nth_bit++; > if (mask & (1UL << nth_bit)) > return nth_bit; > } > while (nth_bit < ((4 * 8) - 1)); > return -1; >} >extern inline gint >g_bit_nth_msf (gulong mask, > gint nth_bit) >{ > if (nth_bit < 0) > nth_bit = 4 * 8; > do > { > nth_bit--; > if (mask & (1UL << nth_bit)) > return nth_bit; > } > while (nth_bit > 0); > return -1; >} >extern inline guint >g_bit_storage (gulong number) >{ > register guint n_bits = 0; > > do > { > n_bits++; > number >>= 1; > } > while (number); > return n_bits; >} >extern inline void >g_trash_stack_push (GTrashStack **stack_p, > gpointer data_p) >{ > GTrashStack *data = (GTrashStack *) data_p; > > data->next = *stack_p; > *stack_p = data; >} >extern inline gpointer >g_trash_stack_pop (GTrashStack **stack_p) >{ > GTrashStack *data; > > data = *stack_p; > if (data) > { > *stack_p = data->next; > > > > data->next = __null; > } > > return data; >} >extern inline gpointer >g_trash_stack_peek (GTrashStack **stack_p) >{ > GTrashStack *data; > > data = *stack_p; > > return data; >} >extern inline guint >g_trash_stack_height (GTrashStack **stack_p) >{ > GTrashStack *data; > guint i = 0; > > for (data = *stack_p; data; data = data->next) > i++; > > return i; >} > > > > > > >extern const guint glib_major_version; >extern const guint glib_minor_version; >extern const guint glib_micro_version; >extern const guint glib_interface_age; >extern const guint glib_binary_age; > > > > > > > >} ># 33 "/usr/include/glib-2.0/glib/gstring.h" 2 > >extern "C" { > >typedef struct _GString GString; >typedef struct _GStringChunk GStringChunk; > >struct _GString >{ > gchar *str; > gsize len; > gsize allocated_len; >}; > > > >GStringChunk* g_string_chunk_new (gsize size); >void g_string_chunk_free (GStringChunk *chunk); >gchar* g_string_chunk_insert (GStringChunk *chunk, > const gchar *string); >gchar* g_string_chunk_insert_len (GStringChunk *chunk, > const gchar *string, > gssize len); >gchar* g_string_chunk_insert_const (GStringChunk *chunk, > const gchar *string); > > > > >GString* g_string_new (const gchar *init); >GString* g_string_new_len (const gchar *init, > gssize len); >GString* g_string_sized_new (gsize dfl_size); >gchar* g_string_free (GString *string, > gboolean free_segment); >gboolean g_string_equal (const GString *v, > const GString *v2); >guint g_string_hash (const GString *str); >GString* g_string_assign (GString *string, > const gchar *rval); >GString* g_string_truncate (GString *string, > gsize len); >GString* g_string_set_size (GString *string, > gsize len); >GString* g_string_insert_len (GString *string, > gssize pos, > const gchar *val, > gssize len); >GString* g_string_append (GString *string, > const gchar *val); >GString* g_string_append_len (GString *string, > const gchar *val, > gssize len); >GString* g_string_append_c (GString *string, > gchar c); >GString* g_string_append_unichar (GString *string, > gunichar wc); >GString* g_string_prepend (GString *string, > const gchar *val); >GString* g_string_prepend_c (GString *string, > gchar c); >GString* g_string_prepend_unichar (GString *string, > gunichar wc); >GString* g_string_prepend_len (GString *string, > const gchar *val, > gssize len); >GString* g_string_insert (GString *string, > gssize pos, > const gchar *val); >GString* g_string_insert_c (GString *string, > gssize pos, > gchar c); >GString* g_string_insert_unichar (GString *string, > gssize pos, > gunichar wc); >GString* g_string_erase (GString *string, > gssize pos, > gssize len); >GString* g_string_ascii_down (GString *string); >GString* g_string_ascii_up (GString *string); >void g_string_printf (GString *string, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); >void g_string_append_printf (GString *string, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); > > > >static inline GString* >g_string_append_c_inline (GString *gstring, > gchar c) >{ > if (gstring->len < gstring->allocated_len && 0) > { > gstring->str[gstring->len++] = c; > gstring->str[gstring->len] = 0; > } > else > g_string_insert_c (gstring, -1, c); > return gstring; >} ># 145 "/usr/include/glib-2.0/glib/gstring.h" >GString* g_string_down (GString *string); >GString* g_string_up (GString *string); > > > > > > > >} ># 33 "/usr/include/glib-2.0/glib/giochannel.h" 2 > >extern "C" { > > > > >typedef struct _GIOChannel GIOChannel; >typedef struct _GIOFuncs GIOFuncs; > >typedef enum >{ > G_IO_ERROR_NONE, > G_IO_ERROR_AGAIN, > G_IO_ERROR_INVAL, > G_IO_ERROR_UNKNOWN >} GIOError; > > > >typedef enum >{ > > G_IO_CHANNEL_ERROR_FBIG, > G_IO_CHANNEL_ERROR_INVAL, > G_IO_CHANNEL_ERROR_IO, > G_IO_CHANNEL_ERROR_ISDIR, > G_IO_CHANNEL_ERROR_NOSPC, > G_IO_CHANNEL_ERROR_NXIO, > G_IO_CHANNEL_ERROR_OVERFLOW, > G_IO_CHANNEL_ERROR_PIPE, > > G_IO_CHANNEL_ERROR_FAILED >} GIOChannelError; > >typedef enum >{ > G_IO_STATUS_ERROR, > G_IO_STATUS_NORMAL, > G_IO_STATUS_EOF, > G_IO_STATUS_AGAIN >} GIOStatus; > >typedef enum >{ > G_SEEK_CUR, > G_SEEK_SET, > G_SEEK_END >} GSeekType; > >typedef enum >{ > G_IO_IN =1, > G_IO_OUT =4, > G_IO_PRI =2, > G_IO_ERR =8, > G_IO_HUP =16, > G_IO_NVAL =32 >} GIOCondition; > >typedef enum >{ > G_IO_FLAG_APPEND = 1 << 0, > G_IO_FLAG_NONBLOCK = 1 << 1, > G_IO_FLAG_IS_READABLE = 1 << 2, > G_IO_FLAG_IS_WRITEABLE = 1 << 3, > G_IO_FLAG_IS_SEEKABLE = 1 << 4, > G_IO_FLAG_MASK = (1 << 5) - 1, > G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, > G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK >} GIOFlags; > >struct _GIOChannel >{ > > guint ref_count; > GIOFuncs *funcs; > > gchar *encoding; > GIConv read_cd; > GIConv write_cd; > gchar *line_term; > guint line_term_len; > > gsize buf_size; > GString *read_buf; > GString *encoded_read_buf; > GString *write_buf; > gchar partial_write_buf[6]; > > > > guint use_buffer : 1; > guint do_encode : 1; > guint close_on_unref : 1; > guint is_readable : 1; > guint is_writeable : 1; > guint is_seekable : 1; > > gpointer reserved1; > gpointer reserved2; >}; > >typedef gboolean (*GIOFunc) (GIOChannel *source, > GIOCondition condition, > gpointer data); >struct _GIOFuncs >{ > GIOStatus (*io_read) (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read, > GError **err); > GIOStatus (*io_write) (GIOChannel *channel, > const gchar *buf, > gsize count, > gsize *bytes_written, > GError **err); > GIOStatus (*io_seek) (GIOChannel *channel, > gint64 offset, > GSeekType type, > GError **err); > GIOStatus (*io_close) (GIOChannel *channel, > GError **err); > GSource* (*io_create_watch) (GIOChannel *channel, > GIOCondition condition); > void (*io_free) (GIOChannel *channel); > GIOStatus (*io_set_flags) (GIOChannel *channel, > GIOFlags flags, > GError **err); > GIOFlags (*io_get_flags) (GIOChannel *channel); >}; > >void g_io_channel_init (GIOChannel *channel); >void g_io_channel_ref (GIOChannel *channel); >void g_io_channel_unref (GIOChannel *channel); > > >GIOError g_io_channel_read (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read); >GIOError g_io_channel_write (GIOChannel *channel, > const gchar *buf, > gsize count, > gsize *bytes_written); >GIOError g_io_channel_seek (GIOChannel *channel, > gint64 offset, > GSeekType type); >void g_io_channel_close (GIOChannel *channel); > > >GIOStatus g_io_channel_shutdown (GIOChannel *channel, > gboolean flush, > GError **err); >guint g_io_add_watch_full (GIOChannel *channel, > gint priority, > GIOCondition condition, > GIOFunc func, > gpointer user_data, > GDestroyNotify notify); >GSource * g_io_create_watch (GIOChannel *channel, > GIOCondition condition); >guint g_io_add_watch (GIOChannel *channel, > GIOCondition condition, > GIOFunc func, > gpointer user_data); > > > > >void g_io_channel_set_buffer_size (GIOChannel *channel, > gsize size); >gsize g_io_channel_get_buffer_size (GIOChannel *channel); >GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); >GIOStatus g_io_channel_set_flags (GIOChannel *channel, > GIOFlags flags, > GError **error); >GIOFlags g_io_channel_get_flags (GIOChannel *channel); >void g_io_channel_set_line_term (GIOChannel *channel, > const gchar *line_term, > gint length); >const gchar* g_io_channel_get_line_term (GIOChannel *channel, > gint *length); >void g_io_channel_set_buffered (GIOChannel *channel, > gboolean buffered); >gboolean g_io_channel_get_buffered (GIOChannel *channel); >GIOStatus g_io_channel_set_encoding (GIOChannel *channel, > const gchar *encoding, > GError **error); >const gchar* g_io_channel_get_encoding (GIOChannel *channel); >void g_io_channel_set_close_on_unref (GIOChannel *channel, > gboolean do_close); >gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); > > >GIOStatus g_io_channel_flush (GIOChannel *channel, > GError **error); >GIOStatus g_io_channel_read_line (GIOChannel *channel, > gchar **str_return, > gsize *length, > gsize *terminator_pos, > GError **error); >GIOStatus g_io_channel_read_line_string (GIOChannel *channel, > GString *buffer, > gsize *terminator_pos, > GError **error); >GIOStatus g_io_channel_read_to_end (GIOChannel *channel, > gchar **str_return, > gsize *length, > GError **error); >GIOStatus g_io_channel_read_chars (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read, > GError **error); >GIOStatus g_io_channel_read_unichar (GIOChannel *channel, > gunichar *thechar, > GError **error); >GIOStatus g_io_channel_write_chars (GIOChannel *channel, > const gchar *buf, > gssize count, > gsize *bytes_written, > GError **error); >GIOStatus g_io_channel_write_unichar (GIOChannel *channel, > gunichar thechar, > GError **error); >GIOStatus g_io_channel_seek_position (GIOChannel *channel, > gint64 offset, > GSeekType type, > GError **error); >GIOChannel* g_io_channel_new_file (const gchar *filename, > const gchar *mode, > GError **error); > > > >GQuark g_io_channel_error_quark (void); >GIOChannelError g_io_channel_error_from_errno (gint en); ># 290 "/usr/include/glib-2.0/glib/giochannel.h" >GIOChannel* g_io_channel_unix_new (int fd); >gint g_io_channel_unix_get_fd (GIOChannel *channel); > > > >extern GSourceFuncs g_io_watch_funcs; ># 348 "/usr/include/glib-2.0/glib/giochannel.h" >} ># 46 "/usr/include/glib-2.0/glib.h" 2 > > > ># 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1 ># 28 "/usr/include/glib-2.0/glib/gmarkup.h" >extern "C" { > >typedef enum >{ > G_MARKUP_ERROR_BAD_UTF8, > G_MARKUP_ERROR_EMPTY, > G_MARKUP_ERROR_PARSE, > > > > G_MARKUP_ERROR_UNKNOWN_ELEMENT, > G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, > G_MARKUP_ERROR_INVALID_CONTENT >} GMarkupError; > > > >GQuark g_markup_error_quark (void); > >typedef enum >{ > > G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0 > >} GMarkupParseFlags; > >typedef struct _GMarkupParseContext GMarkupParseContext; >typedef struct _GMarkupParser GMarkupParser; > >struct _GMarkupParser >{ > > void (*start_element) (GMarkupParseContext *context, > const gchar *element_name, > const gchar **attribute_names, > const gchar **attribute_values, > gpointer user_data, > GError **error); > > > void (*end_element) (GMarkupParseContext *context, > const gchar *element_name, > gpointer user_data, > GError **error); > > > > void (*text) (GMarkupParseContext *context, > const gchar *text, > gsize text_len, > gpointer user_data, > GError **error); > > > > > > > void (*passthrough) (GMarkupParseContext *context, > const gchar *passthrough_text, > gsize text_len, > gpointer user_data, > GError **error); > > > > > void (*error) (GMarkupParseContext *context, > GError *error, > gpointer user_data); >}; > >GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, > GMarkupParseFlags flags, > gpointer user_data, > GDestroyNotify user_data_dnotify); >void g_markup_parse_context_free (GMarkupParseContext *context); >gboolean g_markup_parse_context_parse (GMarkupParseContext *context, > const gchar *text, > gssize text_len, > GError **error); > >gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, > GError **error); >const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context); > > >void g_markup_parse_context_get_position (GMarkupParseContext *context, > gint *line_number, > gint *char_number); > > >gchar* g_markup_escape_text (const gchar *text, > gssize length); > >gchar *g_markup_printf_escaped (const char *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >gchar *g_markup_vprintf_escaped (const char *format, > va_list args); > >} ># 50 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gmessages.h" 1 ># 37 "/usr/include/glib-2.0/glib/gmessages.h" > ># 38 "/usr/include/glib-2.0/glib/gmessages.h" 3 ># 36 "/usr/include/glib-2.0/glib/gmessages.h" 3 > > > > >extern "C" { > > > >gsize g_printf_string_upper_bound (const gchar* format, > va_list args); ># 54 "/usr/include/glib-2.0/glib/gmessages.h" 3 >typedef enum >{ > > G_LOG_FLAG_RECURSION = 1 << 0, > G_LOG_FLAG_FATAL = 1 << 1, > > > G_LOG_LEVEL_ERROR = 1 << 2, > G_LOG_LEVEL_CRITICAL = 1 << 3, > G_LOG_LEVEL_WARNING = 1 << 4, > G_LOG_LEVEL_MESSAGE = 1 << 5, > G_LOG_LEVEL_INFO = 1 << 6, > G_LOG_LEVEL_DEBUG = 1 << 7, > > G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) >} GLogLevelFlags; > > > > >typedef void (*GLogFunc) (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer user_data); > > > >guint g_log_set_handler (const gchar *log_domain, > GLogLevelFlags log_levels, > GLogFunc log_func, > gpointer user_data); >void g_log_remove_handler (const gchar *log_domain, > guint handler_id); >void g_log_default_handler (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer unused_data); >void g_log (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); >void g_logv (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > va_list args); >GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, > GLogLevelFlags fatal_mask); >GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); > > >void _g_log_fallback_handler (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer unused_data); ># 178 "/usr/include/glib-2.0/glib/gmessages.h" 3 >typedef void (*GPrintFunc) (const gchar *string); >void g_print (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >GPrintFunc g_set_print_handler (GPrintFunc func); >void g_printerr (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >GPrintFunc g_set_printerr_handler (GPrintFunc func); ># 345 "/usr/include/glib-2.0/glib/gmessages.h" 3 >} ># 52 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gnode.h" 1 ># 32 "/usr/include/glib-2.0/glib/gnode.h" >extern "C" { > >typedef struct _GNode GNode; > > >typedef enum >{ > G_TRAVERSE_LEAFS = 1 << 0, > G_TRAVERSE_NON_LEAFS = 1 << 1, > G_TRAVERSE_ALL = G_TRAVERSE_LEAFS | G_TRAVERSE_NON_LEAFS, > G_TRAVERSE_MASK = 0x03 >} GTraverseFlags; > > >typedef enum >{ > G_IN_ORDER, > G_PRE_ORDER, > G_POST_ORDER, > G_LEVEL_ORDER >} GTraverseType; > >typedef gboolean (*GNodeTraverseFunc) (GNode *node, > gpointer data); >typedef void (*GNodeForeachFunc) (GNode *node, > gpointer data); >typedef gpointer (*GCopyFunc) (gconstpointer src, > gpointer data); > > > >struct _GNode >{ > gpointer data; > GNode *next; > GNode *prev; > GNode *parent; > GNode *children; >}; > > > > > > >void g_node_push_allocator (GAllocator *allocator); >void g_node_pop_allocator (void); >GNode* g_node_new (gpointer data); >void g_node_destroy (GNode *root); >void g_node_unlink (GNode *node); >GNode* g_node_copy_deep (GNode *node, > GCopyFunc copy_func, > gpointer data); >GNode* g_node_copy (GNode *node); >GNode* g_node_insert (GNode *parent, > gint position, > GNode *node); >GNode* g_node_insert_before (GNode *parent, > GNode *sibling, > GNode *node); >GNode* g_node_insert_after (GNode *parent, > GNode *sibling, > GNode *node); >GNode* g_node_prepend (GNode *parent, > GNode *node); >guint g_node_n_nodes (GNode *root, > GTraverseFlags flags); >GNode* g_node_get_root (GNode *node); >gboolean g_node_is_ancestor (GNode *node, > GNode *descendant); >guint g_node_depth (GNode *node); >GNode* g_node_find (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gpointer data); ># 125 "/usr/include/glib-2.0/glib/gnode.h" >void g_node_traverse (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gint max_depth, > GNodeTraverseFunc func, > gpointer data); > > > > > > >guint g_node_max_height (GNode *root); > >void g_node_children_foreach (GNode *node, > GTraverseFlags flags, > GNodeForeachFunc func, > gpointer data); >void g_node_reverse_children (GNode *node); >guint g_node_n_children (GNode *node); >GNode* g_node_nth_child (GNode *node, > guint n); >GNode* g_node_last_child (GNode *node); >GNode* g_node_find_child (GNode *node, > GTraverseFlags flags, > gpointer data); >gint g_node_child_position (GNode *node, > GNode *child); >gint g_node_child_index (GNode *node, > gpointer data); > >GNode* g_node_first_sibling (GNode *node); >GNode* g_node_last_sibling (GNode *node); ># 166 "/usr/include/glib-2.0/glib/gnode.h" >} ># 53 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gpattern.h" 1 ># 24 "/usr/include/glib-2.0/glib/gpattern.h" >extern "C" { > > >typedef struct _GPatternSpec GPatternSpec; > >GPatternSpec* g_pattern_spec_new (const gchar *pattern); >void g_pattern_spec_free (GPatternSpec *pspec); >gboolean g_pattern_spec_equal (GPatternSpec *pspec1, > GPatternSpec *pspec2); >gboolean g_pattern_match (GPatternSpec *pspec, > guint string_length, > const gchar *string, > const gchar *string_reversed); >gboolean g_pattern_match_string (GPatternSpec *pspec, > const gchar *string); >gboolean g_pattern_match_simple (const gchar *pattern, > const gchar *string); > >} ># 54 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gprimes.h" 1 ># 32 "/usr/include/glib-2.0/glib/gprimes.h" >extern "C" { ># 43 "/usr/include/glib-2.0/glib/gprimes.h" >guint g_spaced_primes_closest (guint num) __attribute__((__const__)); > >} ># 55 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gqsort.h" 1 ># 33 "/usr/include/glib-2.0/glib/gqsort.h" >extern "C" { > >void g_qsort_with_data (gconstpointer pbase, > gint total_elems, > gsize size, > GCompareDataFunc compare_func, > gpointer user_data); > >} ># 56 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gqueue.h" 1 ># 32 "/usr/include/glib-2.0/glib/gqueue.h" >extern "C" { > >typedef struct _GQueue GQueue; > >struct _GQueue >{ > GList *head; > GList *tail; > guint length; >}; > > > >GQueue* g_queue_new (void); >void g_queue_free (GQueue *queue); >gboolean g_queue_is_empty (GQueue *queue); >guint g_queue_get_length (GQueue *queue); >void g_queue_reverse (GQueue *queue); >GQueue * g_queue_copy (GQueue *queue); >void g_queue_foreach (GQueue *queue, > GFunc func, > gpointer user_data); >GList * g_queue_find (GQueue *queue, > gconstpointer data); >GList * g_queue_find_custom (GQueue *queue, > gconstpointer data, > GCompareFunc func); >void g_queue_sort (GQueue *queue, > GCompareDataFunc compare_func, > gpointer user_data); > >void g_queue_push_head (GQueue *queue, > gpointer data); >void g_queue_push_tail (GQueue *queue, > gpointer data); >void g_queue_push_nth (GQueue *queue, > gpointer data, > gint n); >gpointer g_queue_pop_head (GQueue *queue); >gpointer g_queue_pop_tail (GQueue *queue); >gpointer g_queue_pop_nth (GQueue *queue, > guint n); >gpointer g_queue_peek_head (GQueue *queue); >gpointer g_queue_peek_tail (GQueue *queue); >gpointer g_queue_peek_nth (GQueue *queue, > guint n); >gint g_queue_index (GQueue *queue, > gconstpointer data); >void g_queue_remove (GQueue *queue, > gconstpointer data); >void g_queue_remove_all (GQueue *queue, > gconstpointer data); >void g_queue_insert_before (GQueue *queue, > GList *sibling, > gpointer data); >void g_queue_insert_after (GQueue *queue, > GList *sibling, > gpointer data); >void g_queue_insert_sorted (GQueue *queue, > gpointer data, > GCompareDataFunc func, > gpointer user_data); > >void g_queue_push_head_link (GQueue *queue, > GList *link_); >void g_queue_push_tail_link (GQueue *queue, > GList *link_); >void g_queue_push_nth_link (GQueue *queue, > gint n, > GList *link_); >GList* g_queue_pop_head_link (GQueue *queue); >GList* g_queue_pop_tail_link (GQueue *queue); >GList* g_queue_pop_nth_link (GQueue *queue, > guint n); >GList* g_queue_peek_head_link (GQueue *queue); >GList* g_queue_peek_tail_link (GQueue *queue); >GList* g_queue_peek_nth_link (GQueue *queue, > guint n); >gint g_queue_link_index (GQueue *queue, > GList *link_); >void g_queue_unlink (GQueue *queue, > GList *link_); >void g_queue_delete_link (GQueue *queue, > GList *link_); > >} ># 58 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/grand.h" 1 ># 32 "/usr/include/glib-2.0/glib/grand.h" >extern "C" { > >typedef struct _GRand GRand; ># 45 "/usr/include/glib-2.0/glib/grand.h" >GRand* g_rand_new_with_seed (guint32 seed); >GRand* g_rand_new_with_seed_array (const guint32 *seed, > guint seed_length); >GRand* g_rand_new (void); >void g_rand_free (GRand *rand_); >GRand* g_rand_copy (GRand *rand_); >void g_rand_set_seed (GRand *rand_, > guint32 seed); >void g_rand_set_seed_array (GRand *rand_, > const guint32 *seed, > guint seed_length); > > > >guint32 g_rand_int (GRand *rand_); >gint32 g_rand_int_range (GRand *rand_, > gint32 begin, > gint32 end); >gdouble g_rand_double (GRand *rand_); >gdouble g_rand_double_range (GRand *rand_, > gdouble begin, > gdouble end); >void g_random_set_seed (guint32 seed); > > > >guint32 g_random_int (void); >gint32 g_random_int_range (gint32 begin, > gint32 end); >gdouble g_random_double (void); >gdouble g_random_double_range (gdouble begin, > gdouble end); > > >} ># 59 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/grel.h" 1 ># 32 "/usr/include/glib-2.0/glib/grel.h" >extern "C" { > >typedef struct _GRelation GRelation; >typedef struct _GTuples GTuples; > >struct _GTuples >{ > guint len; >}; ># 65 "/usr/include/glib-2.0/glib/grel.h" >GRelation* g_relation_new (gint fields); >void g_relation_destroy (GRelation *relation); >void g_relation_index (GRelation *relation, > gint field, > GHashFunc hash_func, > GEqualFunc key_equal_func); >void g_relation_insert (GRelation *relation, > ...); >gint g_relation_delete (GRelation *relation, > gconstpointer key, > gint field); >GTuples* g_relation_select (GRelation *relation, > gconstpointer key, > gint field); >gint g_relation_count (GRelation *relation, > gconstpointer key, > gint field); >gboolean g_relation_exists (GRelation *relation, > ...); >void g_relation_print (GRelation *relation); > >void g_tuples_destroy (GTuples *tuples); >gpointer g_tuples_index (GTuples *tuples, > gint index_, > gint field); > >} ># 60 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gscanner.h" 1 ># 32 "/usr/include/glib-2.0/glib/gscanner.h" >extern "C" { > >typedef struct _GScanner GScanner; >typedef struct _GScannerConfig GScannerConfig; >typedef union _GTokenValue GTokenValue; > >typedef void (*GScannerMsgFunc) (GScanner *scanner, > gchar *message, > gboolean error); ># 59 "/usr/include/glib-2.0/glib/gscanner.h" >typedef enum >{ > G_ERR_UNKNOWN, > G_ERR_UNEXP_EOF, > G_ERR_UNEXP_EOF_IN_STRING, > G_ERR_UNEXP_EOF_IN_COMMENT, > G_ERR_NON_DIGIT_IN_CONST, > G_ERR_DIGIT_RADIX, > G_ERR_FLOAT_RADIX, > G_ERR_FLOAT_MALFORMED >} GErrorType; > > >typedef enum >{ > G_TOKEN_EOF = 0, > > G_TOKEN_LEFT_PAREN = '(', > G_TOKEN_RIGHT_PAREN = ')', > G_TOKEN_LEFT_CURLY = '{', > G_TOKEN_RIGHT_CURLY = '}', > G_TOKEN_LEFT_BRACE = '[', > G_TOKEN_RIGHT_BRACE = ']', > G_TOKEN_EQUAL_SIGN = '=', > G_TOKEN_COMMA = ',', > > G_TOKEN_NONE = 256, > > G_TOKEN_ERROR, > > G_TOKEN_CHAR, > G_TOKEN_BINARY, > G_TOKEN_OCTAL, > G_TOKEN_INT, > G_TOKEN_HEX, > G_TOKEN_FLOAT, > G_TOKEN_STRING, > > G_TOKEN_SYMBOL, > G_TOKEN_IDENTIFIER, > G_TOKEN_IDENTIFIER_NULL, > > G_TOKEN_COMMENT_SINGLE, > G_TOKEN_COMMENT_MULTI, > G_TOKEN_LAST >} GTokenType; > >union _GTokenValue >{ > gpointer v_symbol; > gchar *v_identifier; > gulong v_binary; > gulong v_octal; > gulong v_int; > guint64 v_int64; > gdouble v_float; > gulong v_hex; > gchar *v_string; > gchar *v_comment; > guchar v_char; > guint v_error; >}; > >struct _GScannerConfig >{ > > > gchar *cset_skip_characters; > gchar *cset_identifier_first; > gchar *cset_identifier_nth; > gchar *cpair_comment_single; > > > > guint case_sensitive : 1; > > > > > guint skip_comment_multi : 1; > guint skip_comment_single : 1; > guint scan_comment_multi : 1; > guint scan_identifier : 1; > guint scan_identifier_1char : 1; > guint scan_identifier_NULL : 1; > guint scan_symbols : 1; > guint scan_binary : 1; > guint scan_octal : 1; > guint scan_float : 1; > guint scan_hex : 1; > guint scan_hex_dollar : 1; > guint scan_string_sq : 1; > guint scan_string_dq : 1; > guint numbers_2_int : 1; > guint int_2_float : 1; > guint identifier_2_string : 1; > guint char_2_token : 1; > guint symbol_2_token : 1; > guint scope_0_fallback : 1; > guint store_int64 : 1; > guint padding_dummy; >}; > >struct _GScanner >{ > > gpointer user_data; > guint max_parse_errors; > > > guint parse_errors; > > > const gchar *input_name; > > > GData *qdata; > > > GScannerConfig *config; > > > GTokenType token; > GTokenValue value; > guint line; > guint position; > > > GTokenType next_token; > GTokenValue next_value; > guint next_line; > guint next_position; > > > GHashTable *symbol_table; > gint input_fd; > const gchar *text; > const gchar *text_end; > gchar *buffer; > guint scope_id; > > > GScannerMsgFunc msg_handler; >}; > >GScanner* g_scanner_new (const GScannerConfig *config_templ); >void g_scanner_destroy (GScanner *scanner); >void g_scanner_input_file (GScanner *scanner, > gint input_fd); >void g_scanner_sync_file_offset (GScanner *scanner); >void g_scanner_input_text (GScanner *scanner, > const gchar *text, > guint text_len); >GTokenType g_scanner_get_next_token (GScanner *scanner); >GTokenType g_scanner_peek_next_token (GScanner *scanner); >GTokenType g_scanner_cur_token (GScanner *scanner); >GTokenValue g_scanner_cur_value (GScanner *scanner); >guint g_scanner_cur_line (GScanner *scanner); >guint g_scanner_cur_position (GScanner *scanner); >gboolean g_scanner_eof (GScanner *scanner); >guint g_scanner_set_scope (GScanner *scanner, > guint scope_id); >void g_scanner_scope_add_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol, > gpointer value); >void g_scanner_scope_remove_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >void g_scanner_scope_foreach_symbol (GScanner *scanner, > guint scope_id, > GHFunc func, > gpointer user_data); >gpointer g_scanner_lookup_symbol (GScanner *scanner, > const gchar *symbol); >void g_scanner_unexp_token (GScanner *scanner, > GTokenType expected_token, > const gchar *identifier_spec, > const gchar *symbol_spec, > const gchar *symbol_name, > const gchar *message, > gint is_error); >void g_scanner_error (GScanner *scanner, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); >void g_scanner_warn (GScanner *scanner, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); ># 271 "/usr/include/glib-2.0/glib/gscanner.h" >} ># 61 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gshell.h" 1 ># 26 "/usr/include/glib-2.0/glib/gshell.h" >extern "C" { > > > >typedef enum >{ > > G_SHELL_ERROR_BAD_QUOTING, > > G_SHELL_ERROR_EMPTY_STRING, > G_SHELL_ERROR_FAILED >} GShellError; > >GQuark g_shell_error_quark (void); > >gchar* g_shell_quote (const gchar *unquoted_string); >gchar* g_shell_unquote (const gchar *quoted_string, > GError **error); >gboolean g_shell_parse_argv (const gchar *command_line, > gint *argcp, > gchar ***argvp, > GError **error); > >} ># 62 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gspawn.h" 1 ># 26 "/usr/include/glib-2.0/glib/gspawn.h" >extern "C" { > > > > >typedef enum >{ > G_SPAWN_ERROR_FORK, > G_SPAWN_ERROR_READ, > G_SPAWN_ERROR_CHDIR, > G_SPAWN_ERROR_ACCES, > G_SPAWN_ERROR_PERM, > G_SPAWN_ERROR_2BIG, > G_SPAWN_ERROR_NOEXEC, > G_SPAWN_ERROR_NAMETOOLONG, > G_SPAWN_ERROR_NOENT, > G_SPAWN_ERROR_NOMEM, > G_SPAWN_ERROR_NOTDIR, > G_SPAWN_ERROR_LOOP, > G_SPAWN_ERROR_TXTBUSY, > G_SPAWN_ERROR_IO, > G_SPAWN_ERROR_NFILE, > G_SPAWN_ERROR_MFILE, > G_SPAWN_ERROR_INVAL, > G_SPAWN_ERROR_ISDIR, > G_SPAWN_ERROR_LIBBAD, > G_SPAWN_ERROR_FAILED > > >} GSpawnError; > >typedef void (* GSpawnChildSetupFunc) (gpointer user_data); > >typedef enum >{ > G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, > G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, > > G_SPAWN_SEARCH_PATH = 1 << 2, > > G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, > G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, > G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, > G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 >} GSpawnFlags; > >GQuark g_spawn_error_quark (void); > >gboolean g_spawn_async (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > GPid *child_pid, > GError **error); > > > > > >gboolean g_spawn_async_with_pipes (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > GPid *child_pid, > gint *standard_input, > gint *standard_output, > gint *standard_error, > GError **error); > > > > > > >gboolean g_spawn_sync (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > gchar **standard_output, > gchar **standard_error, > gint *exit_status, > GError **error); > >gboolean g_spawn_command_line_sync (const gchar *command_line, > gchar **standard_output, > gchar **standard_error, > gint *exit_status, > GError **error); >gboolean g_spawn_command_line_async (const gchar *command_line, > GError **error); > >void g_spawn_close_pid (GPid pid); > > >} ># 64 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1 ># 33 "/usr/include/glib-2.0/glib/gstrfuncs.h" >extern "C" { > > >typedef enum { > G_ASCII_ALNUM = 1 << 0, > G_ASCII_ALPHA = 1 << 1, > G_ASCII_CNTRL = 1 << 2, > G_ASCII_DIGIT = 1 << 3, > G_ASCII_GRAPH = 1 << 4, > G_ASCII_LOWER = 1 << 5, > G_ASCII_PRINT = 1 << 6, > G_ASCII_PUNCT = 1 << 7, > G_ASCII_SPACE = 1 << 8, > G_ASCII_UPPER = 1 << 9, > G_ASCII_XDIGIT = 1 << 10 >} GAsciiType; > >extern const guint16 * const g_ascii_table; ># 85 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar g_ascii_tolower (gchar c) __attribute__((__const__)); >gchar g_ascii_toupper (gchar c) __attribute__((__const__)); > >gint g_ascii_digit_value (gchar c) __attribute__((__const__)); >gint g_ascii_xdigit_value (gchar c) __attribute__((__const__)); > > > > > >gchar* g_strdelimit (gchar *string, > const gchar *delimiters, > gchar new_delimiter); >gchar* g_strcanon (gchar *string, > const gchar *valid_chars, > gchar substitutor); >const gchar* g_strerror (gint errnum) __attribute__((__const__)); >const gchar* g_strsignal (gint signum) __attribute__((__const__)); >gchar* g_strreverse (gchar *string); >gsize g_strlcpy (gchar *dest, > const gchar *src, > gsize dest_size); >gsize g_strlcat (gchar *dest, > const gchar *src, > gsize dest_size); >gchar * g_strstr_len (const gchar *haystack, > gssize haystack_len, > const gchar *needle); >gchar * g_strrstr (const gchar *haystack, > const gchar *needle); >gchar * g_strrstr_len (const gchar *haystack, > gssize haystack_len, > const gchar *needle); > >gboolean g_str_has_suffix (const gchar *str, > const gchar *suffix); >gboolean g_str_has_prefix (const gchar *str, > const gchar *prefix); > > > >gdouble g_strtod (const gchar *nptr, > gchar **endptr); >gdouble g_ascii_strtod (const gchar *nptr, > gchar **endptr); >guint64 g_ascii_strtoull (const gchar *nptr, > gchar **endptr, > guint base); > > > > >gchar * g_ascii_dtostr (gchar *buffer, > gint buf_len, > gdouble d); >gchar * g_ascii_formatd (gchar *buffer, > gint buf_len, > const gchar *format, > gdouble d); > > >gchar* g_strchug (gchar *string); > >gchar* g_strchomp (gchar *string); > > > >gint g_ascii_strcasecmp (const gchar *s1, > const gchar *s2); >gint g_ascii_strncasecmp (const gchar *s1, > const gchar *s2, > gsize n); >gchar* g_ascii_strdown (const gchar *str, > gssize len); >gchar* g_ascii_strup (const gchar *str, > gssize len); ># 169 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gint g_strcasecmp (const gchar *s1, > const gchar *s2); >gint g_strncasecmp (const gchar *s1, > const gchar *s2, > guint n); >gchar* g_strdown (gchar *string); >gchar* g_strup (gchar *string); > > > > > > >gchar* g_strdup (const gchar *str); >gchar* g_strdup_printf (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >gchar* g_strdup_vprintf (const gchar *format, > va_list args); >gchar* g_strndup (const gchar *str, > gsize n); >gchar* g_strnfill (gsize length, > gchar fill_char); >gchar* g_strconcat (const gchar *string1, > ...); >gchar* g_strjoin (const gchar *separator, > ...); > > > > >gchar* g_strcompress (const gchar *source); ># 209 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar* g_strescape (const gchar *source, > const gchar *exceptions); > >gpointer g_memdup (gconstpointer mem, > guint byte_size); ># 223 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar** g_strsplit (const gchar *string, > const gchar *delimiter, > gint max_tokens); >gchar ** g_strsplit_set (const gchar *string, > const gchar *delimiters, > gint max_tokens); >gchar* g_strjoinv (const gchar *separator, > gchar **str_array); >void g_strfreev (gchar **str_array); >gchar** g_strdupv (gchar **str_array); > >gchar* g_stpcpy (gchar *dest, > const char *src); > >const gchar *g_strip_context (const gchar *msgid, > const gchar *msgval); > >} ># 65 "/usr/include/glib-2.0/glib.h" 2 > > ># 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1 ># 32 "/usr/include/glib-2.0/glib/gthreadpool.h" >extern "C" { > >typedef struct _GThreadPool GThreadPool; > > > > > > >struct _GThreadPool >{ > GFunc func; > gpointer user_data; > gboolean exclusive; >}; > > > > > > >GThreadPool* g_thread_pool_new (GFunc func, > gpointer user_data, > gint max_threads, > gboolean exclusive, > GError **error); > > > > > >void g_thread_pool_push (GThreadPool *pool, > gpointer data, > GError **error); > > > > >void g_thread_pool_set_max_threads (GThreadPool *pool, > gint max_threads, > GError **error); >gint g_thread_pool_get_max_threads (GThreadPool *pool); > > > >guint g_thread_pool_get_num_threads (GThreadPool *pool); > > >guint g_thread_pool_unprocessed (GThreadPool *pool); > > > > > >void g_thread_pool_free (GThreadPool *pool, > gboolean immediate, > gboolean wait); > > > >void g_thread_pool_set_max_unused_threads (gint max_threads); >gint g_thread_pool_get_max_unused_threads (void); >guint g_thread_pool_get_num_unused_threads (void); > > >void g_thread_pool_stop_unused_threads (void); > >} ># 68 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gtimer.h" 1 ># 32 "/usr/include/glib-2.0/glib/gtimer.h" >extern "C" { > > > > > >typedef struct _GTimer GTimer; > > > >GTimer* g_timer_new (void); >void g_timer_destroy (GTimer *timer); >void g_timer_start (GTimer *timer); >void g_timer_stop (GTimer *timer); >void g_timer_reset (GTimer *timer); >void g_timer_continue (GTimer *timer); >gdouble g_timer_elapsed (GTimer *timer, > gulong *microseconds); > >void g_usleep (gulong microseconds); > >void g_time_val_add (GTimeVal *time_, > glong microseconds); > >} ># 69 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gtree.h" 1 ># 32 "/usr/include/glib-2.0/glib/gtree.h" >extern "C" { > >typedef struct _GTree GTree; > >typedef gboolean (*GTraverseFunc) (gpointer key, > gpointer value, > gpointer data); > > > >GTree* g_tree_new (GCompareFunc key_compare_func); >GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, > gpointer key_compare_data); >GTree* g_tree_new_full (GCompareDataFunc key_compare_func, > gpointer key_compare_data, > GDestroyNotify key_destroy_func, > GDestroyNotify value_destroy_func); >void g_tree_destroy (GTree *tree); >void g_tree_insert (GTree *tree, > gpointer key, > gpointer value); >void g_tree_replace (GTree *tree, > gpointer key, > gpointer value); >void g_tree_remove (GTree *tree, > gconstpointer key); >void g_tree_steal (GTree *tree, > gconstpointer key); >gpointer g_tree_lookup (GTree *tree, > gconstpointer key); >gboolean g_tree_lookup_extended (GTree *tree, > gconstpointer lookup_key, > gpointer *orig_key, > gpointer *value); >void g_tree_foreach (GTree *tree, > GTraverseFunc func, > gpointer user_data); > > >void g_tree_traverse (GTree *tree, > GTraverseFunc traverse_func, > GTraverseType traverse_type, > gpointer user_data); > > >gpointer g_tree_search (GTree *tree, > GCompareFunc search_func, > gconstpointer user_data); >gint g_tree_height (GTree *tree); >gint g_tree_nnodes (GTree *tree); > > > >} ># 70 "/usr/include/glib-2.0/glib.h" 2 ># 33 "/usr/include/gtk-2.0/gdk/gdktypes.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango.h" 1 ># 25 "/usr/include/pango-1.0/pango/pango.h" ># 1 "/usr/include/pango-1.0/pango/pango-attributes.h" 1 ># 25 "/usr/include/pango-1.0/pango/pango-attributes.h" ># 1 "/usr/include/pango-1.0/pango/pango-font.h" 1 ># 25 "/usr/include/pango-1.0/pango/pango-font.h" ># 1 "/usr/include/pango-1.0/pango/pango-coverage.h" 1 ># 27 "/usr/include/pango-1.0/pango/pango-coverage.h" >extern "C" { > >typedef struct _PangoCoverage PangoCoverage; > >typedef enum { > PANGO_COVERAGE_NONE, > PANGO_COVERAGE_FALLBACK, > PANGO_COVERAGE_APPROXIMATE, > PANGO_COVERAGE_EXACT >} PangoCoverageLevel; > >PangoCoverage * pango_coverage_new (void); >PangoCoverage * pango_coverage_ref (PangoCoverage *coverage); >void pango_coverage_unref (PangoCoverage *coverage); >PangoCoverage * pango_coverage_copy (PangoCoverage *coverage); >PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage, > int index_); >void pango_coverage_set (PangoCoverage *coverage, > int index_, > PangoCoverageLevel level); >void pango_coverage_max (PangoCoverage *coverage, > PangoCoverage *other); > >void pango_coverage_to_bytes (PangoCoverage *coverage, > guchar **bytes, > int *n_bytes); >PangoCoverage *pango_coverage_from_bytes (guchar *bytes, > int n_bytes); > >} ># 26 "/usr/include/pango-1.0/pango/pango-font.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-types.h" 1 ># 26 "/usr/include/pango-1.0/pango/pango-types.h" ># 1 "/usr/include/glib-2.0/glib-object.h" 1 ># 25 "/usr/include/glib-2.0/glib-object.h" ># 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gboxed.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gtype.h" >extern "C" { ># 92 "/usr/include/glib-2.0/gobject/gtype.h" >typedef gulong GType; > > > >typedef struct _GValue GValue; >typedef union _GTypeCValue GTypeCValue; >typedef struct _GTypePlugin GTypePlugin; >typedef struct _GTypeClass GTypeClass; >typedef struct _GTypeInterface GTypeInterface; >typedef struct _GTypeInstance GTypeInstance; >typedef struct _GTypeInfo GTypeInfo; >typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo; >typedef struct _GInterfaceInfo GInterfaceInfo; >typedef struct _GTypeValueTable GTypeValueTable; >typedef struct _GTypeQuery GTypeQuery; > > > > >struct _GTypeClass >{ > > GType g_type; >}; >struct _GTypeInstance >{ > > GTypeClass *g_class; >}; >struct _GTypeInterface >{ > > GType g_type; > GType g_instance_type; >}; >struct _GTypeQuery >{ > GType type; > const gchar *type_name; > guint class_size; > guint instance_size; >}; ># 157 "/usr/include/glib-2.0/gobject/gtype.h" >typedef enum >{ > G_TYPE_DEBUG_NONE = 0, > G_TYPE_DEBUG_OBJECTS = 1 << 0, > G_TYPE_DEBUG_SIGNALS = 1 << 1, > G_TYPE_DEBUG_MASK = 0x03 >} GTypeDebugFlags; > > > >void g_type_init (void); >void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags); >const gchar* g_type_name (GType type); >GQuark g_type_qname (GType type); >GType g_type_from_name (const gchar *name); >GType g_type_parent (GType type); >guint g_type_depth (GType type); >GType g_type_next_base (GType leaf_type, > GType root_type); >gboolean g_type_is_a (GType type, > GType is_a_type); >gpointer g_type_class_ref (GType type); >gpointer g_type_class_peek (GType type); >gpointer g_type_class_peek_static (GType type); >void g_type_class_unref (gpointer g_class); >gpointer g_type_class_peek_parent (gpointer g_class); >gpointer g_type_interface_peek (gpointer instance_class, > GType iface_type); >gpointer g_type_interface_peek_parent (gpointer g_iface); > >gpointer g_type_default_interface_ref (GType g_type); >gpointer g_type_default_interface_peek (GType g_type); >void g_type_default_interface_unref (gpointer g_iface); > > >GType* g_type_children (GType type, > guint *n_children); >GType* g_type_interfaces (GType type, > guint *n_interfaces); > > >void g_type_set_qdata (GType type, > GQuark quark, > gpointer data); >gpointer g_type_get_qdata (GType type, > GQuark quark); >void g_type_query (GType type, > GTypeQuery *query); > > > >typedef void (*GBaseInitFunc) (gpointer g_class); >typedef void (*GBaseFinalizeFunc) (gpointer g_class); >typedef void (*GClassInitFunc) (gpointer g_class, > gpointer class_data); >typedef void (*GClassFinalizeFunc) (gpointer g_class, > gpointer class_data); >typedef void (*GInstanceInitFunc) (GTypeInstance *instance, > gpointer g_class); >typedef void (*GInterfaceInitFunc) (gpointer g_iface, > gpointer iface_data); >typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface, > gpointer iface_data); >typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data, > GTypeClass *g_class); >typedef void (*GTypeInterfaceCheckFunc) (gpointer func_data, > gpointer g_iface); >typedef enum >{ > G_TYPE_FLAG_CLASSED = (1 << 0), > G_TYPE_FLAG_INSTANTIATABLE = (1 << 1), > G_TYPE_FLAG_DERIVABLE = (1 << 2), > G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3) >} GTypeFundamentalFlags; >typedef enum >{ > G_TYPE_FLAG_ABSTRACT = (1 << 4), > G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5) >} GTypeFlags; >struct _GTypeInfo >{ > > guint16 class_size; > > GBaseInitFunc base_init; > GBaseFinalizeFunc base_finalize; > > > GClassInitFunc class_init; > GClassFinalizeFunc class_finalize; > gconstpointer class_data; > > > guint16 instance_size; > guint16 n_preallocs; > GInstanceInitFunc instance_init; > > > const GTypeValueTable *value_table; >}; >struct _GTypeFundamentalInfo >{ > GTypeFundamentalFlags type_flags; >}; >struct _GInterfaceInfo >{ > GInterfaceInitFunc interface_init; > GInterfaceFinalizeFunc interface_finalize; > gpointer interface_data; >}; >struct _GTypeValueTable >{ > void (*value_init) (GValue *value); > void (*value_free) (GValue *value); > void (*value_copy) (const GValue *src_value, > GValue *dest_value); > > gpointer (*value_peek_pointer) (const GValue *value); > gchar *collect_format; > gchar* (*collect_value) (GValue *value, > guint n_collect_values, > GTypeCValue *collect_values, > guint collect_flags); > gchar *lcopy_format; > gchar* (*lcopy_value) (const GValue *value, > guint n_collect_values, > GTypeCValue *collect_values, > guint collect_flags); >}; >GType g_type_register_static (GType parent_type, > const gchar *type_name, > const GTypeInfo *info, > GTypeFlags flags); >GType g_type_register_dynamic (GType parent_type, > const gchar *type_name, > GTypePlugin *plugin, > GTypeFlags flags); >GType g_type_register_fundamental (GType type_id, > const gchar *type_name, > const GTypeInfo *info, > const GTypeFundamentalInfo *finfo, > GTypeFlags flags); >void g_type_add_interface_static (GType instance_type, > GType interface_type, > const GInterfaceInfo *info); >void g_type_add_interface_dynamic (GType instance_type, > GType interface_type, > GTypePlugin *plugin); >void g_type_interface_add_prerequisite (GType interface_type, > GType prerequisite_type); >GType*g_type_interface_prerequisites (GType interface_type, > guint *n_prerequisites); >void g_type_class_add_private (gpointer g_class, > gsize private_size); >gpointer g_type_instance_get_private (GTypeInstance *instance, > GType private_type); ># 384 "/usr/include/glib-2.0/gobject/gtype.h" >GTypePlugin* g_type_get_plugin (GType type); >GTypePlugin* g_type_interface_get_plugin (GType instance_type, > GType interface_type); >GType g_type_fundamental_next (void); >GType g_type_fundamental (GType type_id); >GTypeInstance* g_type_create_instance (GType type); >void g_type_free_instance (GTypeInstance *instance); > >void g_type_add_class_cache_func (gpointer cache_data, > GTypeClassCacheFunc cache_func); >void g_type_remove_class_cache_func (gpointer cache_data, > GTypeClassCacheFunc cache_func); >void g_type_class_unref_uncached (gpointer g_class); > >void g_type_add_interface_check (gpointer check_data, > GTypeInterfaceCheckFunc check_func); >void g_type_remove_interface_check (gpointer check_data, > GTypeInterfaceCheckFunc chec_func); > >GTypeValueTable* g_type_value_table_peek (GType type); > > > >gboolean g_type_check_instance (GTypeInstance *instance); >GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance, > GType iface_type); >gboolean g_type_check_instance_is_a (GTypeInstance *instance, > GType iface_type); >GTypeClass* g_type_check_class_cast (GTypeClass *g_class, > GType is_a_type); >gboolean g_type_check_class_is_a (GTypeClass *g_class, > GType is_a_type); >gboolean g_type_check_is_value_type (GType type); >gboolean g_type_check_value (GValue *value); >gboolean g_type_check_value_holds (GValue *value, > GType type); >gboolean g_type_test_flags (GType type, > guint flags); > > > >const gchar* g_type_name_from_instance (GTypeInstance *instance); >const gchar* g_type_name_from_class (GTypeClass *g_class); ># 474 "/usr/include/glib-2.0/gobject/gtype.h" >extern GTypeDebugFlags _g_type_debug_flags; > >} ># 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2 > >extern "C" { > > > > > > > >typedef gpointer (*GBoxedCopyFunc) (gpointer boxed); >typedef void (*GBoxedFreeFunc) (gpointer boxed); > > > >gpointer g_boxed_copy (GType boxed_type, > gconstpointer src_boxed); >void g_boxed_free (GType boxed_type, > gpointer boxed); >void g_value_set_boxed (GValue *value, > gconstpointer v_boxed); >void g_value_set_static_boxed (GValue *value, > gconstpointer v_boxed); >gpointer g_value_get_boxed (const GValue *value); >gpointer g_value_dup_boxed (const GValue *value); > > > >GType g_boxed_type_register_static (const gchar *name, > GBoxedCopyFunc boxed_copy, > GBoxedFreeFunc boxed_free); ># 67 "/usr/include/glib-2.0/gobject/gboxed.h" >void g_value_take_boxed (GValue *value, > gconstpointer v_boxed); > >void g_value_set_boxed_take_ownership (GValue *value, > gconstpointer v_boxed); > >GType g_closure_get_type (void) __attribute__((__const__)); >GType g_value_get_type (void) __attribute__((__const__)); >GType g_value_array_get_type (void) __attribute__((__const__)); >GType g_strv_get_type (void) __attribute__((__const__)); >GType g_gstring_get_type (void) __attribute__((__const__)); > >typedef gchar** GStrv; > >} ># 26 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/genums.h" 1 ># 26 "/usr/include/glib-2.0/gobject/genums.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 27 "/usr/include/glib-2.0/gobject/genums.h" 2 > >extern "C" { ># 46 "/usr/include/glib-2.0/gobject/genums.h" >typedef struct _GEnumClass GEnumClass; >typedef struct _GFlagsClass GFlagsClass; >typedef struct _GEnumValue GEnumValue; >typedef struct _GFlagsValue GFlagsValue; >struct _GEnumClass >{ > GTypeClass g_type_class; > > > gint minimum; > gint maximum; > guint n_values; > GEnumValue *values; >}; >struct _GFlagsClass >{ > GTypeClass g_type_class; > > > guint mask; > guint n_values; > GFlagsValue *values; >}; >struct _GEnumValue >{ > gint value; > gchar *value_name; > gchar *value_nick; >}; >struct _GFlagsValue >{ > guint value; > gchar *value_name; > gchar *value_nick; >}; > > > >GEnumValue* g_enum_get_value (GEnumClass *enum_class, > gint value); >GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class, > const gchar *name); >GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class, > const gchar *nick); >GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class, > guint value); >GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class, > const gchar *name); >GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class, > const gchar *nick); >void g_value_set_enum (GValue *value, > gint v_enum); >gint g_value_get_enum (const GValue *value); >void g_value_set_flags (GValue *value, > guint v_flags); >guint g_value_get_flags (const GValue *value); > > > > > > > >GType g_enum_register_static (const gchar *name, > const GEnumValue *const_static_values); >GType g_flags_register_static (const gchar *name, > const GFlagsValue *const_static_values); > > > >void g_enum_complete_type_info (GType g_enum_type, > GTypeInfo *info, > const GEnumValue *const_values); >void g_flags_complete_type_info (GType g_flags_type, > GTypeInfo *info, > const GFlagsValue *const_values); > >} ># 27 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gobject.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 27 "/usr/include/glib-2.0/gobject/gobject.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gvalue.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2 > >extern "C" { ># 41 "/usr/include/glib-2.0/gobject/gvalue.h" >typedef void (*GValueTransform) (const GValue *src_value, > GValue *dest_value); >struct _GValue >{ > > GType g_type; > > > union { > gint v_int; > guint v_uint; > glong v_long; > gulong v_ulong; > gint64 v_int64; > guint64 v_uint64; > gfloat v_float; > gdouble v_double; > gpointer v_pointer; > } data[2]; >}; > > > >GValue* g_value_init (GValue *value, > GType g_type); >void g_value_copy (const GValue *src_value, > GValue *dest_value); >GValue* g_value_reset (GValue *value); >void g_value_unset (GValue *value); >void g_value_set_instance (GValue *value, > gpointer instance); > > > >gboolean g_value_fits_pointer (const GValue *value); >gpointer g_value_peek_pointer (const GValue *value); > > > >gboolean g_value_type_compatible (GType src_type, > GType dest_type); >gboolean g_value_type_transformable (GType src_type, > GType dest_type); >gboolean g_value_transform (const GValue *src_value, > GValue *dest_value); >void g_value_register_transform_func (GType src_type, > GType dest_type, > GValueTransform transform_func); > > > >} ># 28 "/usr/include/glib-2.0/gobject/gobject.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gparam.h" ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gparam.h" 2 > >extern "C" { ># 49 "/usr/include/glib-2.0/gobject/gparam.h" >typedef enum >{ > G_PARAM_READABLE = 1 << 0, > G_PARAM_WRITABLE = 1 << 1, > G_PARAM_CONSTRUCT = 1 << 2, > G_PARAM_CONSTRUCT_ONLY = 1 << 3, > G_PARAM_LAX_VALIDATION = 1 << 4, > G_PARAM_PRIVATE = 1 << 5 >} GParamFlags; > > > > > > > >typedef struct _GParamSpec GParamSpec; >typedef struct _GParamSpecClass GParamSpecClass; >typedef struct _GParameter GParameter; >typedef struct _GParamSpecPool GParamSpecPool; >struct _GParamSpec >{ > GTypeInstance g_type_instance; > > gchar *name; > GParamFlags flags; > GType value_type; > GType owner_type; > > > gchar *_nick; > gchar *_blurb; > GData *qdata; > guint ref_count; > guint param_id; >}; >struct _GParamSpecClass >{ > GTypeClass g_type_class; > > GType value_type; > > void (*finalize) (GParamSpec *pspec); > > > void (*value_set_default) (GParamSpec *pspec, > GValue *value); > gboolean (*value_validate) (GParamSpec *pspec, > GValue *value); > gint (*values_cmp) (GParamSpec *pspec, > const GValue *value1, > const GValue *value2); > > gpointer dummy[4]; >}; >struct _GParameter >{ > const gchar *name; > GValue value; >}; > > > >GParamSpec* g_param_spec_ref (GParamSpec *pspec); >void g_param_spec_unref (GParamSpec *pspec); >void g_param_spec_sink (GParamSpec *pspec); >gpointer g_param_spec_get_qdata (GParamSpec *pspec, > GQuark quark); >void g_param_spec_set_qdata (GParamSpec *pspec, > GQuark quark, > gpointer data); >void g_param_spec_set_qdata_full (GParamSpec *pspec, > GQuark quark, > gpointer data, > GDestroyNotify destroy); >gpointer g_param_spec_steal_qdata (GParamSpec *pspec, > GQuark quark); >GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec); > >void g_param_value_set_default (GParamSpec *pspec, > GValue *value); >gboolean g_param_value_defaults (GParamSpec *pspec, > GValue *value); >gboolean g_param_value_validate (GParamSpec *pspec, > GValue *value); >gboolean g_param_value_convert (GParamSpec *pspec, > const GValue *src_value, > GValue *dest_value, > gboolean strict_validation); >gint g_param_values_cmp (GParamSpec *pspec, > const GValue *value1, > const GValue *value2); >const gchar* g_param_spec_get_name (GParamSpec *pspec); >const gchar* g_param_spec_get_nick (GParamSpec *pspec); >const gchar* g_param_spec_get_blurb (GParamSpec *pspec); >void g_value_set_param (GValue *value, > GParamSpec *param); >GParamSpec* g_value_get_param (const GValue *value); >GParamSpec* g_value_dup_param (const GValue *value); > > >void g_value_take_param (GValue *value, > GParamSpec *param); > >void g_value_set_param_take_ownership (GValue *value, > GParamSpec *param); > > > >typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo; >struct _GParamSpecTypeInfo >{ > > guint16 instance_size; > guint16 n_preallocs; > void (*instance_init) (GParamSpec *pspec); > > > GType value_type; > void (*finalize) (GParamSpec *pspec); > void (*value_set_default) (GParamSpec *pspec, > GValue *value); > gboolean (*value_validate) (GParamSpec *pspec, > GValue *value); > gint (*values_cmp) (GParamSpec *pspec, > const GValue *value1, > const GValue *value2); >}; >GType g_param_type_register_static (const gchar *name, > const GParamSpecTypeInfo *pspec_info); > > >GType _g_param_type_register_static_constant (const gchar *name, > const GParamSpecTypeInfo *pspec_info, > GType opt_type); > > > >gpointer g_param_spec_internal (GType param_type, > const gchar *name, > const gchar *nick, > const gchar *blurb, > GParamFlags flags); >GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing); >void g_param_spec_pool_insert (GParamSpecPool *pool, > GParamSpec *pspec, > GType owner_type); >void g_param_spec_pool_remove (GParamSpecPool *pool, > GParamSpec *pspec); >GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool, > const gchar *param_name, > GType owner_type, > gboolean walk_ancestors); >GList* g_param_spec_pool_list_owned (GParamSpecPool *pool, > GType owner_type); >GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool, > GType owner_type, > guint *n_pspecs_p); ># 226 "/usr/include/glib-2.0/gobject/gparam.h" >} ># 29 "/usr/include/glib-2.0/gobject/gobject.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gclosure.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 27 "/usr/include/glib-2.0/gobject/gclosure.h" 2 > >extern "C" { ># 39 "/usr/include/glib-2.0/gobject/gclosure.h" >typedef struct _GClosure GClosure; >typedef struct _GClosureNotifyData GClosureNotifyData; >typedef void (*GCallback) (void); >typedef void (*GClosureNotify) (gpointer data, > GClosure *closure); >typedef void (*GClosureMarshal) (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); >typedef struct _GCClosure GCClosure; > > > >struct _GClosureNotifyData >{ > gpointer data; > GClosureNotify notify; >}; >struct _GClosure >{ > guint ref_count : 15; > guint meta_marshal : 1; > guint n_guards : 1; > guint n_fnotifiers : 2; > guint n_inotifiers : 8; > guint in_inotify : 1; > guint floating : 1; > guint derivative_flag : 1; > guint in_marshal : 1; > guint is_invalid : 1; > > void (*marshal) (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > gpointer data; > > GClosureNotifyData *notifiers; ># 92 "/usr/include/glib-2.0/gobject/gclosure.h" >}; > > >struct _GCClosure >{ > GClosure closure; > gpointer callback; >}; > > > >GClosure* g_cclosure_new (GCallback callback_func, > gpointer user_data, > GClosureNotify destroy_data); >GClosure* g_cclosure_new_swap (GCallback callback_func, > gpointer user_data, > GClosureNotify destroy_data); >GClosure* g_signal_type_cclosure_new (GType itype, > guint struct_offset); > > > >GClosure* g_closure_ref (GClosure *closure); >void g_closure_sink (GClosure *closure); >void g_closure_unref (GClosure *closure); > >GClosure* g_closure_new_simple (guint sizeof_closure, > gpointer data); >void g_closure_add_finalize_notifier (GClosure *closure, > gpointer notify_data, > GClosureNotify notify_func); >void g_closure_remove_finalize_notifier (GClosure *closure, > gpointer notify_data, > GClosureNotify notify_func); >void g_closure_add_invalidate_notifier (GClosure *closure, > gpointer notify_data, > GClosureNotify notify_func); >void g_closure_remove_invalidate_notifier (GClosure *closure, > gpointer notify_data, > GClosureNotify notify_func); >void g_closure_add_marshal_guards (GClosure *closure, > gpointer pre_marshal_data, > GClosureNotify pre_marshal_notify, > gpointer post_marshal_data, > GClosureNotify post_marshal_notify); >void g_closure_set_marshal (GClosure *closure, > GClosureMarshal marshal); >void g_closure_set_meta_marshal (GClosure *closure, > gpointer marshal_data, > GClosureMarshal meta_marshal); >void g_closure_invalidate (GClosure *closure); >void g_closure_invoke (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint); ># 160 "/usr/include/glib-2.0/gobject/gclosure.h" >} ># 30 "/usr/include/glib-2.0/gobject/gobject.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gsignal.h" ># 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 ># 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1 > > > >extern "C" { > > >extern void g_cclosure_marshal_VOID__VOID (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__INT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__LONG (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__STRING (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > >} ># 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2 > >extern "C" { > > >typedef struct _GSignalQuery GSignalQuery; >typedef struct _GSignalInvocationHint GSignalInvocationHint; >typedef GClosureMarshal GSignalCMarshaller; >typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint, > guint n_param_values, > const GValue *param_values, > gpointer data); >typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint, > GValue *return_accu, > const GValue *handler_return, > gpointer data); > > > >typedef enum >{ > G_SIGNAL_RUN_FIRST = 1 << 0, > G_SIGNAL_RUN_LAST = 1 << 1, > G_SIGNAL_RUN_CLEANUP = 1 << 2, > G_SIGNAL_NO_RECURSE = 1 << 3, > G_SIGNAL_DETAILED = 1 << 4, > G_SIGNAL_ACTION = 1 << 5, > G_SIGNAL_NO_HOOKS = 1 << 6 >} GSignalFlags; > >typedef enum >{ > G_CONNECT_AFTER = 1 << 0, > G_CONNECT_SWAPPED = 1 << 1 >} GConnectFlags; >typedef enum >{ > G_SIGNAL_MATCH_ID = 1 << 0, > G_SIGNAL_MATCH_DETAIL = 1 << 1, > G_SIGNAL_MATCH_CLOSURE = 1 << 2, > G_SIGNAL_MATCH_FUNC = 1 << 3, > G_SIGNAL_MATCH_DATA = 1 << 4, > G_SIGNAL_MATCH_UNBLOCKED = 1 << 5 >} GSignalMatchType; > > > > > >struct _GSignalInvocationHint >{ > guint signal_id; > GQuark detail; > GSignalFlags run_type; >}; >struct _GSignalQuery >{ > guint signal_id; > const gchar *signal_name; > GType itype; > GSignalFlags signal_flags; > GType return_type; > guint n_params; > const GType *param_types; >}; > > > >guint g_signal_newv (const gchar *signal_name, > GType itype, > GSignalFlags signal_flags, > GClosure *class_closure, > GSignalAccumulator accumulator, > gpointer accu_data, > GSignalCMarshaller c_marshaller, > GType return_type, > guint n_params, > GType *param_types); >guint g_signal_new_valist (const gchar *signal_name, > GType itype, > GSignalFlags signal_flags, > GClosure *class_closure, > GSignalAccumulator accumulator, > gpointer accu_data, > GSignalCMarshaller c_marshaller, > GType return_type, > guint n_params, > va_list args); >guint g_signal_new (const gchar *signal_name, > GType itype, > GSignalFlags signal_flags, > guint class_offset, > GSignalAccumulator accumulator, > gpointer accu_data, > GSignalCMarshaller c_marshaller, > GType return_type, > guint n_params, > ...); >void g_signal_emitv (const GValue *instance_and_params, > guint signal_id, > GQuark detail, > GValue *return_value); >void g_signal_emit_valist (gpointer instance, > guint signal_id, > GQuark detail, > va_list var_args); >void g_signal_emit (gpointer instance, > guint signal_id, > GQuark detail, > ...); >void g_signal_emit_by_name (gpointer instance, > const gchar *detailed_signal, > ...); >guint g_signal_lookup (const gchar *name, > GType itype); >const gchar* g_signal_name (guint signal_id); >void g_signal_query (guint signal_id, > GSignalQuery *query); >guint* g_signal_list_ids (GType itype, > guint *n_ids); >gboolean g_signal_parse_name (const gchar *detailed_signal, > GType itype, > guint *signal_id_p, > GQuark *detail_p, > gboolean force_detail_quark); >GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance); > > > >void g_signal_stop_emission (gpointer instance, > guint signal_id, > GQuark detail); >void g_signal_stop_emission_by_name (gpointer instance, > const gchar *detailed_signal); >gulong g_signal_add_emission_hook (guint signal_id, > GQuark detail, > GSignalEmissionHook hook_func, > gpointer hook_data, > GDestroyNotify data_destroy); >void g_signal_remove_emission_hook (guint signal_id, > gulong hook_id); > > > >gboolean g_signal_has_handler_pending (gpointer instance, > guint signal_id, > GQuark detail, > gboolean may_be_blocked); >gulong g_signal_connect_closure_by_id (gpointer instance, > guint signal_id, > GQuark detail, > GClosure *closure, > gboolean after); >gulong g_signal_connect_closure (gpointer instance, > const gchar *detailed_signal, > GClosure *closure, > gboolean after); >gulong g_signal_connect_data (gpointer instance, > const gchar *detailed_signal, > GCallback c_handler, > gpointer data, > GClosureNotify destroy_data, > GConnectFlags connect_flags); >void g_signal_handler_block (gpointer instance, > gulong handler_id); >void g_signal_handler_unblock (gpointer instance, > gulong handler_id); >void g_signal_handler_disconnect (gpointer instance, > gulong handler_id); >gboolean g_signal_handler_is_connected (gpointer instance, > gulong handler_id); >gulong g_signal_handler_find (gpointer instance, > GSignalMatchType mask, > guint signal_id, > GQuark detail, > GClosure *closure, > gpointer func, > gpointer data); >guint g_signal_handlers_block_matched (gpointer instance, > GSignalMatchType mask, > guint signal_id, > GQuark detail, > GClosure *closure, > gpointer func, > gpointer data); >guint g_signal_handlers_unblock_matched (gpointer instance, > GSignalMatchType mask, > guint signal_id, > GQuark detail, > GClosure *closure, > gpointer func, > gpointer data); >guint g_signal_handlers_disconnect_matched (gpointer instance, > GSignalMatchType mask, > guint signal_id, > GQuark detail, > GClosure *closure, > gpointer func, > gpointer data); > > > >void g_signal_override_class_closure (guint signal_id, > GType instance_type, > GClosure *class_closure); >void g_signal_chain_from_overridden (const GValue *instance_and_params, > GValue *return_value); ># 259 "/usr/include/glib-2.0/gobject/gsignal.h" >gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint, > GValue *return_accu, > const GValue *handler_return, > gpointer dummy); > > >void g_signal_handlers_destroy (gpointer instance); >void _g_signals_destroy (GType itype); > >} ># 31 "/usr/include/glib-2.0/gobject/gobject.h" 2 > >extern "C" { ># 49 "/usr/include/glib-2.0/gobject/gobject.h" >typedef struct _GObject GObject; >typedef struct _GObjectClass GObjectClass; >typedef struct _GObjectConstructParam GObjectConstructParam; >typedef void (*GObjectGetPropertyFunc) (GObject *object, > guint property_id, > GValue *value, > GParamSpec *pspec); >typedef void (*GObjectSetPropertyFunc) (GObject *object, > guint property_id, > const GValue *value, > GParamSpec *pspec); >typedef void (*GObjectFinalizeFunc) (GObject *object); >typedef void (*GWeakNotify) (gpointer data, > GObject *where_the_object_was); >struct _GObject >{ > GTypeInstance g_type_instance; > > > guint ref_count; > GData *qdata; >}; >struct _GObjectClass >{ > GTypeClass g_type_class; > > > GSList *construct_properties; > > > > GObject* (*constructor) (GType type, > guint n_construct_properties, > GObjectConstructParam *construct_properties); > void (*set_property) (GObject *object, > guint property_id, > const GValue *value, > GParamSpec *pspec); > void (*get_property) (GObject *object, > guint property_id, > GValue *value, > GParamSpec *pspec); > void (*dispose) (GObject *object); > void (*finalize) (GObject *object); > > > void (*dispatch_properties_changed) (GObject *object, > guint n_pspecs, > GParamSpec **pspecs); > > > void (*notify) (GObject *object, > GParamSpec *pspec); > > > gpointer pdummy[8]; >}; >struct _GObjectConstructParam >{ > GParamSpec *pspec; > GValue *value; >}; > > > >void g_object_class_install_property (GObjectClass *oclass, > guint property_id, > GParamSpec *pspec); >GParamSpec* g_object_class_find_property (GObjectClass *oclass, > const gchar *property_name); >GParamSpec**g_object_class_list_properties (GObjectClass *oclass, > guint *n_properties); >void g_object_class_override_property (GObjectClass *oclass, > guint property_id, > const gchar *name); > >void g_object_interface_install_property (gpointer g_iface, > GParamSpec *pspec); >GParamSpec* g_object_interface_find_property (gpointer g_iface, > const gchar *property_name); >GParamSpec**g_object_interface_list_properties (gpointer g_iface, > guint *n_properties_p); > >gpointer g_object_new (GType object_type, > const gchar *first_property_name, > ...); >gpointer g_object_newv (GType object_type, > guint n_parameters, > GParameter *parameters); >GObject* g_object_new_valist (GType object_type, > const gchar *first_property_name, > va_list var_args); >void g_object_set (gpointer object, > const gchar *first_property_name, > ...); >void g_object_get (gpointer object, > const gchar *first_property_name, > ...); >gpointer g_object_connect (gpointer object, > const gchar *signal_spec, > ...); >void g_object_disconnect (gpointer object, > const gchar *signal_spec, > ...); >void g_object_set_valist (GObject *object, > const gchar *first_property_name, > va_list var_args); >void g_object_get_valist (GObject *object, > const gchar *first_property_name, > va_list var_args); >void g_object_set_property (GObject *object, > const gchar *property_name, > const GValue *value); >void g_object_get_property (GObject *object, > const gchar *property_name, > GValue *value); >void g_object_freeze_notify (GObject *object); >void g_object_notify (GObject *object, > const gchar *property_name); >void g_object_thaw_notify (GObject *object); >gpointer g_object_ref (gpointer object); >void g_object_unref (gpointer object); >void g_object_weak_ref (GObject *object, > GWeakNotify notify, > gpointer data); >void g_object_weak_unref (GObject *object, > GWeakNotify notify, > gpointer data); >void g_object_add_weak_pointer (GObject *object, > gpointer *weak_pointer_location); >void g_object_remove_weak_pointer (GObject *object, > gpointer *weak_pointer_location); >gpointer g_object_get_qdata (GObject *object, > GQuark quark); >void g_object_set_qdata (GObject *object, > GQuark quark, > gpointer data); >void g_object_set_qdata_full (GObject *object, > GQuark quark, > gpointer data, > GDestroyNotify destroy); >gpointer g_object_steal_qdata (GObject *object, > GQuark quark); >gpointer g_object_get_data (GObject *object, > const gchar *key); >void g_object_set_data (GObject *object, > const gchar *key, > gpointer data); >void g_object_set_data_full (GObject *object, > const gchar *key, > gpointer data, > GDestroyNotify destroy); >gpointer g_object_steal_data (GObject *object, > const gchar *key); >void g_object_watch_closure (GObject *object, > GClosure *closure); >GClosure* g_cclosure_new_object (GCallback callback_func, > GObject *object); >GClosure* g_cclosure_new_object_swap (GCallback callback_func, > GObject *object); >GClosure* g_closure_new_object (guint sizeof_closure, > GObject *object); >void g_value_set_object (GValue *value, > gpointer v_object); >gpointer g_value_get_object (const GValue *value); >GObject* g_value_dup_object (const GValue *value); >gulong g_signal_connect_object (gpointer instance, > const gchar *detailed_signal, > GCallback c_handler, > gpointer gobject, > GConnectFlags connect_flags); > > > >void g_object_run_dispose (GObject *object); > > >void g_value_take_object (GValue *value, > gpointer v_object); > >void g_value_set_object_take_ownership (GValue *value, > gpointer v_object); ># 250 "/usr/include/glib-2.0/gobject/gobject.h" >} ># 28 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gparam.h" 1 ># 29 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gparamspecs.h" ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 ># 1 "/usr/include/glib-2.0/gobject/genums.h" 1 ># 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1 ># 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 ># 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2 > >extern "C" { ># 102 "/usr/include/glib-2.0/gobject/gparamspecs.h" >typedef struct _GParamSpecChar GParamSpecChar; >typedef struct _GParamSpecUChar GParamSpecUChar; >typedef struct _GParamSpecBoolean GParamSpecBoolean; >typedef struct _GParamSpecInt GParamSpecInt; >typedef struct _GParamSpecUInt GParamSpecUInt; >typedef struct _GParamSpecLong GParamSpecLong; >typedef struct _GParamSpecULong GParamSpecULong; >typedef struct _GParamSpecInt64 GParamSpecInt64; >typedef struct _GParamSpecUInt64 GParamSpecUInt64; >typedef struct _GParamSpecUnichar GParamSpecUnichar; >typedef struct _GParamSpecEnum GParamSpecEnum; >typedef struct _GParamSpecFlags GParamSpecFlags; >typedef struct _GParamSpecFloat GParamSpecFloat; >typedef struct _GParamSpecDouble GParamSpecDouble; >typedef struct _GParamSpecString GParamSpecString; >typedef struct _GParamSpecParam GParamSpecParam; >typedef struct _GParamSpecBoxed GParamSpecBoxed; >typedef struct _GParamSpecPointer GParamSpecPointer; >typedef struct _GParamSpecValueArray GParamSpecValueArray; >typedef struct _GParamSpecObject GParamSpecObject; >typedef struct _GParamSpecOverride GParamSpecOverride; > >struct _GParamSpecChar >{ > GParamSpec parent_instance; > > gint8 minimum; > gint8 maximum; > gint8 default_value; >}; >struct _GParamSpecUChar >{ > GParamSpec parent_instance; > > guint8 minimum; > guint8 maximum; > guint8 default_value; >}; >struct _GParamSpecBoolean >{ > GParamSpec parent_instance; > > gboolean default_value; >}; >struct _GParamSpecInt >{ > GParamSpec parent_instance; > > gint minimum; > gint maximum; > gint default_value; >}; >struct _GParamSpecUInt >{ > GParamSpec parent_instance; > > guint minimum; > guint maximum; > guint default_value; >}; >struct _GParamSpecLong >{ > GParamSpec parent_instance; > > glong minimum; > glong maximum; > glong default_value; >}; >struct _GParamSpecULong >{ > GParamSpec parent_instance; > > gulong minimum; > gulong maximum; > gulong default_value; >}; >struct _GParamSpecInt64 >{ > GParamSpec parent_instance; > > gint64 minimum; > gint64 maximum; > gint64 default_value; >}; >struct _GParamSpecUInt64 >{ > GParamSpec parent_instance; > > guint64 minimum; > guint64 maximum; > guint64 default_value; >}; >struct _GParamSpecUnichar >{ > GParamSpec parent_instance; > > gunichar default_value; >}; >struct _GParamSpecEnum >{ > GParamSpec parent_instance; > > GEnumClass *enum_class; > gint default_value; >}; >struct _GParamSpecFlags >{ > GParamSpec parent_instance; > > GFlagsClass *flags_class; > guint default_value; >}; >struct _GParamSpecFloat >{ > GParamSpec parent_instance; > > gfloat minimum; > gfloat maximum; > gfloat default_value; > gfloat epsilon; >}; >struct _GParamSpecDouble >{ > GParamSpec parent_instance; > > gdouble minimum; > gdouble maximum; > gdouble default_value; > gdouble epsilon; >}; >struct _GParamSpecString >{ > GParamSpec parent_instance; > > gchar *default_value; > gchar *cset_first; > gchar *cset_nth; > gchar substitutor; > guint null_fold_if_empty : 1; > guint ensure_non_null : 1; >}; >struct _GParamSpecParam >{ > GParamSpec parent_instance; >}; >struct _GParamSpecBoxed >{ > GParamSpec parent_instance; >}; >struct _GParamSpecPointer >{ > GParamSpec parent_instance; >}; >struct _GParamSpecValueArray >{ > GParamSpec parent_instance; > GParamSpec *element_spec; > guint fixed_n_elements; >}; >struct _GParamSpecObject >{ > GParamSpec parent_instance; >}; >struct _GParamSpecOverride >{ > > GParamSpec parent_instance; > GParamSpec *overridden; >}; > > >GParamSpec* g_param_spec_char (const gchar *name, > const gchar *nick, > const gchar *blurb, > gint8 minimum, > gint8 maximum, > gint8 default_value, > GParamFlags flags); >GParamSpec* g_param_spec_uchar (const gchar *name, > const gchar *nick, > const gchar *blurb, > guint8 minimum, > guint8 maximum, > guint8 default_value, > GParamFlags flags); >GParamSpec* g_param_spec_boolean (const gchar *name, > const gchar *nick, > const gchar *blurb, > gboolean default_value, > GParamFlags flags); >GParamSpec* g_param_spec_int (const gchar *name, > const gchar *nick, > const gchar *blurb, > gint minimum, > gint maximum, > gint default_value, > GParamFlags flags); >GParamSpec* g_param_spec_uint (const gchar *name, > const gchar *nick, > const gchar *blurb, > guint minimum, > guint maximum, > guint default_value, > GParamFlags flags); >GParamSpec* g_param_spec_long (const gchar *name, > const gchar *nick, > const gchar *blurb, > glong minimum, > glong maximum, > glong default_value, > GParamFlags flags); >GParamSpec* g_param_spec_ulong (const gchar *name, > const gchar *nick, > const gchar *blurb, > gulong minimum, > gulong maximum, > gulong default_value, > GParamFlags flags); >GParamSpec* g_param_spec_int64 (const gchar *name, > const gchar *nick, > const gchar *blurb, > gint64 minimum, > gint64 maximum, > gint64 default_value, > GParamFlags flags); >GParamSpec* g_param_spec_uint64 (const gchar *name, > const gchar *nick, > const gchar *blurb, > guint64 minimum, > guint64 maximum, > guint64 default_value, > GParamFlags flags); >GParamSpec* g_param_spec_unichar (const gchar *name, > const gchar *nick, > const gchar *blurb, > gunichar default_value, > GParamFlags flags); >GParamSpec* g_param_spec_enum (const gchar *name, > const gchar *nick, > const gchar *blurb, > GType enum_type, > gint default_value, > GParamFlags flags); >GParamSpec* g_param_spec_flags (const gchar *name, > const gchar *nick, > const gchar *blurb, > GType flags_type, > guint default_value, > GParamFlags flags); >GParamSpec* g_param_spec_float (const gchar *name, > const gchar *nick, > const gchar *blurb, > gfloat minimum, > gfloat maximum, > gfloat default_value, > GParamFlags flags); >GParamSpec* g_param_spec_double (const gchar *name, > const gchar *nick, > const gchar *blurb, > gdouble minimum, > gdouble maximum, > gdouble default_value, > GParamFlags flags); >GParamSpec* g_param_spec_string (const gchar *name, > const gchar *nick, > const gchar *blurb, > const gchar *default_value, > GParamFlags flags); >GParamSpec* g_param_spec_param (const gchar *name, > const gchar *nick, > const gchar *blurb, > GType param_type, > GParamFlags flags); >GParamSpec* g_param_spec_boxed (const gchar *name, > const gchar *nick, > const gchar *blurb, > GType boxed_type, > GParamFlags flags); >GParamSpec* g_param_spec_pointer (const gchar *name, > const gchar *nick, > const gchar *blurb, > GParamFlags flags); >GParamSpec* g_param_spec_value_array (const gchar *name, > const gchar *nick, > const gchar *blurb, > GParamSpec *element_spec, > GParamFlags flags); >GParamSpec* g_param_spec_object (const gchar *name, > const gchar *nick, > const gchar *blurb, > GType object_type, > GParamFlags flags); > >GParamSpec* g_param_spec_override (const gchar *name, > GParamSpec *overridden); ># 422 "/usr/include/glib-2.0/gobject/gparamspecs.h" >extern GType *g_param_spec_types; > >} ># 30 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1 ># 31 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1 ># 25 "/usr/include/glib-2.0/gobject/gsourceclosure.h" ># 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2 > >extern "C" { > >void g_source_set_closure (GSource *source, > GClosure *closure); > >GType g_io_channel_get_type (void); >GType g_io_condition_get_type (void); > > > > >} ># 32 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 33 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gtypemodule.h" ># 1 "/usr/include/glib-2.0/gobject/gobject.h" 1 ># 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2 > >extern "C" { > >typedef struct _GTypeModule GTypeModule; >typedef struct _GTypeModuleClass GTypeModuleClass; ># 40 "/usr/include/glib-2.0/gobject/gtypemodule.h" >struct _GTypeModule >{ > GObject parent_instance; > > guint use_count; > GSList *type_infos; > GSList *interface_infos; > > > gchar *name; >}; > >struct _GTypeModuleClass >{ > GObjectClass parent_class; > > > gboolean (* load) (GTypeModule *module); > void (* unload) (GTypeModule *module); > > > > void (*reserved1) (void); > void (*reserved2) (void); > void (*reserved3) (void); > void (*reserved4) (void); >}; > >GType g_type_module_get_type (void); >gboolean g_type_module_use (GTypeModule *module); >void g_type_module_unuse (GTypeModule *module); >void g_type_module_set_name (GTypeModule *module, > const gchar *name); >GType g_type_module_register_type (GTypeModule *module, > GType parent_type, > const gchar *type_name, > const GTypeInfo *type_info, > GTypeFlags flags); >void g_type_module_add_interface (GTypeModule *module, > GType instance_type, > GType interface_type, > const GInterfaceInfo *interface_info); > >} ># 34 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1 ># 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h" ># 1 "/usr/include/glib-2.0/gobject/gtype.h" 1 ># 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2 > >extern "C" { ># 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h" >typedef struct _GTypePluginClass GTypePluginClass; >typedef void (*GTypePluginUse) (GTypePlugin *plugin); >typedef void (*GTypePluginUnuse) (GTypePlugin *plugin); >typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin, > GType g_type, > GTypeInfo *info, > GTypeValueTable *value_table); >typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin, > GType instance_type, > GType interface_type, > GInterfaceInfo *info); >struct _GTypePluginClass >{ > > GTypeInterface base_iface; > > > GTypePluginUse use_plugin; > GTypePluginUnuse unuse_plugin; > GTypePluginCompleteTypeInfo complete_type_info; > GTypePluginCompleteInterfaceInfo complete_interface_info; >}; > > > >GType g_type_plugin_get_type (void) __attribute__((__const__)); >void g_type_plugin_use (GTypePlugin *plugin); >void g_type_plugin_unuse (GTypePlugin *plugin); >void g_type_plugin_complete_type_info (GTypePlugin *plugin, > GType g_type, > GTypeInfo *info, > GTypeValueTable *value_table); >void g_type_plugin_complete_interface_info (GTypePlugin *plugin, > GType instance_type, > GType interface_type, > GInterfaceInfo *info); > >} ># 35 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 36 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gvaluearray.h" ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2 > > > >extern "C" { > > > > >typedef struct _GValueArray GValueArray; >struct _GValueArray >{ > guint n_values; > GValue *values; > > > guint n_prealloced; >}; > > > >GValue* g_value_array_get_nth (GValueArray *value_array, > guint index_); >GValueArray* g_value_array_new (guint n_prealloced); >void g_value_array_free (GValueArray *value_array); >GValueArray* g_value_array_copy (const GValueArray *value_array); >GValueArray* g_value_array_prepend (GValueArray *value_array, > const GValue *value); >GValueArray* g_value_array_append (GValueArray *value_array, > const GValue *value); >GValueArray* g_value_array_insert (GValueArray *value_array, > guint index_, > const GValue *value); >GValueArray* g_value_array_remove (GValueArray *value_array, > guint index_); >GValueArray* g_value_array_sort (GValueArray *value_array, > GCompareFunc compare_func); >GValueArray* g_value_array_sort_with_data (GValueArray *value_array, > GCompareDataFunc compare_func, > gpointer user_data); > > > > >} ># 37 "/usr/include/glib-2.0/glib-object.h" 2 ># 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1 ># 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h" ># 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1 ># 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2 > >extern "C" { ># 49 "/usr/include/glib-2.0/gobject/gvaluetypes.h" >void g_value_set_char (GValue *value, > gchar v_char); >gchar g_value_get_char (const GValue *value); >void g_value_set_uchar (GValue *value, > guchar v_uchar); >guchar g_value_get_uchar (const GValue *value); >void g_value_set_boolean (GValue *value, > gboolean v_boolean); >gboolean g_value_get_boolean (const GValue *value); >void g_value_set_int (GValue *value, > gint v_int); >gint g_value_get_int (const GValue *value); >void g_value_set_uint (GValue *value, > guint v_uint); >guint g_value_get_uint (const GValue *value); >void g_value_set_long (GValue *value, > glong v_long); >glong g_value_get_long (const GValue *value); >void g_value_set_ulong (GValue *value, > gulong v_ulong); >gulong g_value_get_ulong (const GValue *value); >void g_value_set_int64 (GValue *value, > gint64 v_int64); >gint64 g_value_get_int64 (const GValue *value); >void g_value_set_uint64 (GValue *value, > guint64 v_uint64); >guint64 g_value_get_uint64 (const GValue *value); >void g_value_set_float (GValue *value, > gfloat v_float); >gfloat g_value_get_float (const GValue *value); >void g_value_set_double (GValue *value, > gdouble v_double); >gdouble g_value_get_double (const GValue *value); >void g_value_set_string (GValue *value, > const gchar *v_string); >void g_value_set_static_string (GValue *value, > const gchar *v_string); >const gchar* g_value_get_string (const GValue *value); >gchar* g_value_dup_string (const GValue *value); >void g_value_set_pointer (GValue *value, > gpointer v_pointer); >gpointer g_value_get_pointer (const GValue *value); > > > >GType g_pointer_type_register_static (const gchar *name); > > >gchar* g_strdup_value_contents (const GValue *value); > > >void g_value_take_string (GValue *value, > gchar *v_string); > >void g_value_set_string_take_ownership (GValue *value, > gchar *v_string); > > > > >typedef gchar* gchararray; > > >} ># 38 "/usr/include/glib-2.0/glib-object.h" 2 ># 27 "/usr/include/pango-1.0/pango/pango-types.h" 2 > >extern "C" { > >typedef struct _PangoLogAttr PangoLogAttr; > >typedef struct _PangoEngineLang PangoEngineLang; >typedef struct _PangoEngineShape PangoEngineShape; > >typedef struct _PangoFont PangoFont; >typedef struct _PangoRectangle PangoRectangle; > > >typedef struct _PangoLanguage PangoLanguage; > > > >typedef guint32 PangoGlyph; > > > > >struct _PangoRectangle >{ > int x; > int y; > int width; > int height; >}; ># 99 "/usr/include/pango-1.0/pango/pango-types.h" >typedef enum { > PANGO_DIRECTION_LTR, > PANGO_DIRECTION_RTL, > PANGO_DIRECTION_TTB_LTR, > PANGO_DIRECTION_TTB_RTL, > PANGO_DIRECTION_WEAK_LTR, > PANGO_DIRECTION_WEAK_RTL, > PANGO_DIRECTION_NEUTRAL >} PangoDirection; > > > >GType pango_language_get_type (void); >PangoLanguage *pango_language_from_string (const char *language); > > >gboolean pango_language_matches (PangoLanguage *language, > const char *range_list); > >gboolean pango_get_mirror_char (gunichar ch, > gunichar *mirrored_ch); >PangoDirection pango_unichar_direction (gunichar ch); >PangoDirection pango_find_base_dir (const gchar *text, > gint length); > >} ># 27 "/usr/include/pango-1.0/pango/pango-font.h" 2 > > > >extern "C" { > >typedef struct _PangoFontDescription PangoFontDescription; >typedef struct _PangoFontMetrics PangoFontMetrics; ># 43 "/usr/include/pango-1.0/pango/pango-font.h" >typedef enum { > PANGO_STYLE_NORMAL, > PANGO_STYLE_OBLIQUE, > PANGO_STYLE_ITALIC >} PangoStyle; > >typedef enum { > PANGO_VARIANT_NORMAL, > PANGO_VARIANT_SMALL_CAPS >} PangoVariant; > >typedef enum { > PANGO_WEIGHT_ULTRALIGHT = 200, > PANGO_WEIGHT_LIGHT = 300, > PANGO_WEIGHT_NORMAL = 400, > PANGO_WEIGHT_BOLD = 700, > PANGO_WEIGHT_ULTRABOLD = 800, > PANGO_WEIGHT_HEAVY = 900 >} PangoWeight; > >typedef enum { > PANGO_STRETCH_ULTRA_CONDENSED, > PANGO_STRETCH_EXTRA_CONDENSED, > PANGO_STRETCH_CONDENSED, > PANGO_STRETCH_SEMI_CONDENSED, > PANGO_STRETCH_NORMAL, > PANGO_STRETCH_SEMI_EXPANDED, > PANGO_STRETCH_EXPANDED, > PANGO_STRETCH_EXTRA_EXPANDED, > PANGO_STRETCH_ULTRA_EXPANDED >} PangoStretch; > >typedef enum { > PANGO_FONT_MASK_FAMILY = 1 << 0, > PANGO_FONT_MASK_STYLE = 1 << 1, > PANGO_FONT_MASK_VARIANT = 1 << 2, > PANGO_FONT_MASK_WEIGHT = 1 << 3, > PANGO_FONT_MASK_STRETCH = 1 << 4, > PANGO_FONT_MASK_SIZE = 1 << 5 >} PangoFontMask; ># 99 "/usr/include/pango-1.0/pango/pango-font.h" >GType pango_font_description_get_type (void); >PangoFontDescription *pango_font_description_new (void); >PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc); >PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc); >guint pango_font_description_hash (const PangoFontDescription *desc); >gboolean pango_font_description_equal (const PangoFontDescription *desc1, > const PangoFontDescription *desc2); >void pango_font_description_free (PangoFontDescription *desc); >void pango_font_descriptions_free (PangoFontDescription **descs, > int n_descs); > >void pango_font_description_set_family (PangoFontDescription *desc, > const char *family); >void pango_font_description_set_family_static (PangoFontDescription *desc, > const char *family); >const char *pango_font_description_get_family (const PangoFontDescription *desc); >void pango_font_description_set_style (PangoFontDescription *desc, > PangoStyle style); >PangoStyle pango_font_description_get_style (const PangoFontDescription *desc); >void pango_font_description_set_variant (PangoFontDescription *desc, > PangoVariant variant); >PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc); >void pango_font_description_set_weight (PangoFontDescription *desc, > PangoWeight weight); >PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc); >void pango_font_description_set_stretch (PangoFontDescription *desc, > PangoStretch stretch); >PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc); >void pango_font_description_set_size (PangoFontDescription *desc, > gint size); >gint pango_font_description_get_size (const PangoFontDescription *desc); > >PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc); >void pango_font_description_unset_fields (PangoFontDescription *desc, > PangoFontMask to_unset); > >void pango_font_description_merge (PangoFontDescription *desc, > const PangoFontDescription *desc_to_merge, > gboolean replace_existing); >void pango_font_description_merge_static (PangoFontDescription *desc, > const PangoFontDescription *desc_to_merge, > gboolean replace_existing); > >gboolean pango_font_description_better_match (const PangoFontDescription *desc, > const PangoFontDescription *old_match, > const PangoFontDescription *new_match); > >PangoFontDescription *pango_font_description_from_string (const char *str); >char * pango_font_description_to_string (const PangoFontDescription *desc); >char * pango_font_description_to_filename (const PangoFontDescription *desc); > > > > > > >GType pango_font_metrics_get_type (void); >PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics); >void pango_font_metrics_unref (PangoFontMetrics *metrics); >int pango_font_metrics_get_ascent (PangoFontMetrics *metrics); >int pango_font_metrics_get_descent (PangoFontMetrics *metrics); >int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics); >int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics); ># 187 "/usr/include/pango-1.0/pango/pango-font.h" >typedef struct _PangoFontFamily PangoFontFamily; >typedef struct _PangoFontFace PangoFontFace; > >GType pango_font_family_get_type (void) __attribute__((__const__)); > >void pango_font_family_list_faces (PangoFontFamily *family, > PangoFontFace ***faces, > int *n_faces); >const char *pango_font_family_get_name (PangoFontFamily *family); >gboolean pango_font_family_is_monospace (PangoFontFamily *family); ># 241 "/usr/include/pango-1.0/pango/pango-font.h" >GType pango_font_face_get_type (void) __attribute__((__const__)); > >PangoFontDescription *pango_font_face_describe (PangoFontFace *face); >const char *pango_font_face_get_face_name (PangoFontFace *face); >void pango_font_face_list_sizes (PangoFontFace *face, > int **sizes, > int *n_sizes); ># 292 "/usr/include/pango-1.0/pango/pango-font.h" >GType pango_font_get_type (void) __attribute__((__const__)); > >PangoFontDescription *pango_font_describe (PangoFont *font); >PangoCoverage * pango_font_get_coverage (PangoFont *font, > PangoLanguage *language); >PangoEngineShape * pango_font_find_shaper (PangoFont *font, > PangoLanguage *language, > guint32 ch); >PangoFontMetrics * pango_font_get_metrics (PangoFont *font, > PangoLanguage *language); >void pango_font_get_glyph_extents (PangoFont *font, > PangoGlyph glyph, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); ># 349 "/usr/include/pango-1.0/pango/pango-font.h" >} ># 26 "/usr/include/pango-1.0/pango/pango-attributes.h" 2 > > >extern "C" { > > > >typedef struct _PangoColor PangoColor; > >struct _PangoColor >{ > guint16 red; > guint16 green; > guint16 blue; >}; > > >GType pango_color_get_type (void) __attribute__((__const__)); > >PangoColor *pango_color_copy (const PangoColor *src); >void pango_color_free (PangoColor *color); >gboolean pango_color_parse (PangoColor *color, > const char *spec); > > > >typedef struct _PangoAttribute PangoAttribute; >typedef struct _PangoAttrClass PangoAttrClass; > >typedef struct _PangoAttrString PangoAttrString; >typedef struct _PangoAttrLanguage PangoAttrLanguage; >typedef struct _PangoAttrInt PangoAttrInt; >typedef struct _PangoAttrFloat PangoAttrFloat; >typedef struct _PangoAttrColor PangoAttrColor; >typedef struct _PangoAttrFontDesc PangoAttrFontDesc; >typedef struct _PangoAttrShape PangoAttrShape; > > >typedef struct _PangoAttrList PangoAttrList; >typedef struct _PangoAttrIterator PangoAttrIterator; > >typedef enum >{ > PANGO_ATTR_INVALID, > PANGO_ATTR_LANGUAGE, > PANGO_ATTR_FAMILY, > PANGO_ATTR_STYLE, > PANGO_ATTR_WEIGHT, > PANGO_ATTR_VARIANT, > PANGO_ATTR_STRETCH, > PANGO_ATTR_SIZE, > PANGO_ATTR_FONT_DESC, > PANGO_ATTR_FOREGROUND, > PANGO_ATTR_BACKGROUND, > PANGO_ATTR_UNDERLINE, > PANGO_ATTR_STRIKETHROUGH, > PANGO_ATTR_RISE, > PANGO_ATTR_SHAPE, > PANGO_ATTR_SCALE, > PANGO_ATTR_FALLBACK >} PangoAttrType; > >typedef enum { > PANGO_UNDERLINE_NONE, > PANGO_UNDERLINE_SINGLE, > PANGO_UNDERLINE_DOUBLE, > PANGO_UNDERLINE_LOW, > PANGO_UNDERLINE_ERROR >} PangoUnderline; > >struct _PangoAttribute >{ > const PangoAttrClass *klass; > guint start_index; > guint end_index; >}; > >typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute, > gpointer data); > >struct _PangoAttrClass >{ > > PangoAttrType type; > PangoAttribute * (*copy) (const PangoAttribute *attr); > void (*destroy) (PangoAttribute *attr); > gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2); >}; > >struct _PangoAttrString >{ > PangoAttribute attr; > char *value; >}; > >struct _PangoAttrLanguage >{ > PangoAttribute attr; > PangoLanguage *value; >}; > >struct _PangoAttrInt >{ > PangoAttribute attr; > int value; >}; > >struct _PangoAttrFloat >{ > PangoAttribute attr; > double value; >}; > >struct _PangoAttrColor >{ > PangoAttribute attr; > PangoColor color; >}; > >struct _PangoAttrShape >{ > PangoAttribute attr; > PangoRectangle ink_rect; > PangoRectangle logical_rect; >}; > >struct _PangoAttrFontDesc >{ > PangoAttribute attr; > PangoFontDescription *desc; >}; > >PangoAttrType pango_attr_type_register (const gchar *name); > >PangoAttribute * pango_attribute_copy (const PangoAttribute *attr); >void pango_attribute_destroy (PangoAttribute *attr); >gboolean pango_attribute_equal (const PangoAttribute *attr1, > const PangoAttribute *attr2); > >PangoAttribute *pango_attr_language_new (PangoLanguage *language); >PangoAttribute *pango_attr_family_new (const char *family); >PangoAttribute *pango_attr_foreground_new (guint16 red, > guint16 green, > guint16 blue); >PangoAttribute *pango_attr_background_new (guint16 red, > guint16 green, > guint16 blue); >PangoAttribute *pango_attr_size_new (int size); >PangoAttribute *pango_attr_style_new (PangoStyle style); >PangoAttribute *pango_attr_weight_new (PangoWeight weight); >PangoAttribute *pango_attr_variant_new (PangoVariant variant); >PangoAttribute *pango_attr_stretch_new (PangoStretch stretch); >PangoAttribute *pango_attr_font_desc_new (const PangoFontDescription *desc); >PangoAttribute *pango_attr_underline_new (PangoUnderline underline); >PangoAttribute *pango_attr_strikethrough_new (gboolean strikethrough); >PangoAttribute *pango_attr_rise_new (int rise); >PangoAttribute *pango_attr_shape_new (const PangoRectangle *ink_rect, > const PangoRectangle *logical_rect); >PangoAttribute *pango_attr_scale_new (double scale_factor); >PangoAttribute *pango_attr_fallback_new (gboolean enable_fallback); > >GType pango_attr_list_get_type (void) __attribute__((__const__)); >PangoAttrList * pango_attr_list_new (void); >void pango_attr_list_ref (PangoAttrList *list); >void pango_attr_list_unref (PangoAttrList *list); >PangoAttrList * pango_attr_list_copy (PangoAttrList *list); >void pango_attr_list_insert (PangoAttrList *list, > PangoAttribute *attr); >void pango_attr_list_insert_before (PangoAttrList *list, > PangoAttribute *attr); >void pango_attr_list_change (PangoAttrList *list, > PangoAttribute *attr); >void pango_attr_list_splice (PangoAttrList *list, > PangoAttrList *other, > gint pos, > gint len); > >PangoAttrList *pango_attr_list_filter (PangoAttrList *list, > PangoAttrFilterFunc func, > gpointer data); > >PangoAttrIterator *pango_attr_list_get_iterator (PangoAttrList *list); > >void pango_attr_iterator_range (PangoAttrIterator *iterator, > gint *start, > gint *end); >gboolean pango_attr_iterator_next (PangoAttrIterator *iterator); >PangoAttrIterator *pango_attr_iterator_copy (PangoAttrIterator *iterator); >void pango_attr_iterator_destroy (PangoAttrIterator *iterator); >PangoAttribute * pango_attr_iterator_get (PangoAttrIterator *iterator, > PangoAttrType type); >void pango_attr_iterator_get_font (PangoAttrIterator *iterator, > PangoFontDescription *desc, > PangoLanguage **language, > GSList **extra_attrs); >GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator); > > >gboolean pango_parse_markup (const char *markup_text, > int length, > gunichar accel_marker, > PangoAttrList **attr_list, > char **text, > gunichar *accel_char, > GError **error); > >} ># 26 "/usr/include/pango-1.0/pango/pango.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-break.h" 1 ># 27 "/usr/include/pango-1.0/pango/pango-break.h" >extern "C" { > ># 1 "/usr/include/pango-1.0/pango/pango-item.h" 1 ># 27 "/usr/include/pango-1.0/pango/pango-item.h" >extern "C" { > >typedef struct _PangoAnalysis PangoAnalysis; >typedef struct _PangoItem PangoItem; > >struct _PangoAnalysis >{ > PangoEngineShape *shape_engine; > PangoEngineLang *lang_engine; > PangoFont *font; > guint8 level; > PangoLanguage *language; > GSList *extra_attrs; >}; > >struct _PangoItem >{ > gint offset; > gint length; > gint num_chars; > PangoAnalysis analysis; >}; > >PangoItem *pango_item_new (void); >PangoItem *pango_item_copy (PangoItem *item); >void pango_item_free (PangoItem *item); >PangoItem *pango_item_split (PangoItem *orig, > int split_index, > int split_offset); > >} ># 30 "/usr/include/pango-1.0/pango/pango-break.h" 2 > > > >struct _PangoLogAttr >{ > guint is_line_break : 1; > > guint is_mandatory_break : 1; > > guint is_char_break : 1; > > guint is_white : 1; > > > > > guint is_cursor_position : 1; > > > > > > > guint is_word_start : 1; > guint is_word_end : 1; ># 64 "/usr/include/pango-1.0/pango/pango-break.h" > guint is_sentence_boundary : 1; > guint is_sentence_start : 1; > guint is_sentence_end : 1; > > > > > guint backspace_deletes_character : 1; >}; > > > > >void pango_break (const gchar *text, > int length, > PangoAnalysis *analysis, > PangoLogAttr *attrs, > int attrs_len); > >void pango_find_paragraph_boundary (const gchar *text, > gint length, > gint *paragraph_delimiter_index, > gint *next_paragraph_start); > >void pango_get_log_attrs (const char *text, > int length, > int level, > PangoLanguage *language, > PangoLogAttr *log_attrs, > int attrs_len); ># 110 "/usr/include/pango-1.0/pango/pango-break.h" >} ># 27 "/usr/include/pango-1.0/pango/pango.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-context.h" 1 ># 26 "/usr/include/pango-1.0/pango/pango-context.h" ># 1 "/usr/include/pango-1.0/pango/pango-fontmap.h" 1 ># 26 "/usr/include/pango-1.0/pango/pango-fontmap.h" ># 1 "/usr/include/pango-1.0/pango/pango-fontset.h" 1 ># 30 "/usr/include/pango-1.0/pango/pango-fontset.h" >extern "C" { ># 40 "/usr/include/pango-1.0/pango/pango-fontset.h" >GType pango_fontset_get_type (void) __attribute__((__const__)); > >typedef struct _PangoFontset PangoFontset; ># 57 "/usr/include/pango-1.0/pango/pango-fontset.h" >typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset, > PangoFont *font, > gpointer data); > >PangoFont * pango_fontset_get_font (PangoFontset *fontset, > guint wc); >PangoFontMetrics *pango_fontset_get_metrics (PangoFontset *fontset); >void pango_fontset_foreach (PangoFontset *fontset, > PangoFontsetForeachFunc func, > gpointer data); ># 125 "/usr/include/pango-1.0/pango/pango-fontset.h" >} ># 27 "/usr/include/pango-1.0/pango/pango-fontmap.h" 2 > >extern "C" { > > > > > >typedef struct _PangoContext PangoContext; >typedef struct _PangoFontMap PangoFontMap; > >GType pango_font_map_get_type (void) __attribute__((__const__)); >PangoFont * pango_font_map_load_font (PangoFontMap *fontmap, > PangoContext *context, > const PangoFontDescription *desc); >PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap, > PangoContext *context, > const PangoFontDescription *desc, > PangoLanguage *language); >void pango_font_map_list_families (PangoFontMap *fontmap, > PangoFontFamily ***families, > int *n_families); ># 94 "/usr/include/pango-1.0/pango/pango-fontmap.h" >} ># 27 "/usr/include/pango-1.0/pango/pango-context.h" 2 > > >extern "C" { > > > > > > >typedef struct _PangoContextClass PangoContextClass; ># 50 "/usr/include/pango-1.0/pango/pango-context.h" >GType pango_context_get_type (void) __attribute__((__const__)); > > > > > > > >void pango_context_list_families (PangoContext *context, > PangoFontFamily ***families, > int *n_families); >PangoFont * pango_context_load_font (PangoContext *context, > const PangoFontDescription *desc); >PangoFontset *pango_context_load_fontset (PangoContext *context, > const PangoFontDescription *desc, > PangoLanguage *language); > >PangoFontMetrics *pango_context_get_metrics (PangoContext *context, > const PangoFontDescription *desc, > PangoLanguage *language); > >void pango_context_set_font_description (PangoContext *context, > const PangoFontDescription *desc); >PangoFontDescription * pango_context_get_font_description (PangoContext *context); >PangoLanguage *pango_context_get_language (PangoContext *context); >void pango_context_set_language (PangoContext *context, > PangoLanguage *language); >void pango_context_set_base_dir (PangoContext *context, > PangoDirection direction); >PangoDirection pango_context_get_base_dir (PangoContext *context); > > > > > >GList *pango_itemize (PangoContext *context, > const char *text, > int start_index, > int length, > PangoAttrList *attrs, > PangoAttrIterator *cached_iter); >GList *pango_itemize_with_base_dir (PangoContext *context, > PangoDirection base_dir, > const char *text, > int start_index, > int length, > PangoAttrList *attrs, > PangoAttrIterator *cached_iter); > >} ># 28 "/usr/include/pango-1.0/pango/pango.h" 2 > ># 1 "/usr/include/pango-1.0/pango/pango-engine.h" 1 ># 28 "/usr/include/pango-1.0/pango/pango-engine.h" ># 1 "/usr/include/pango-1.0/pango/pango-glyph.h" 1 ># 28 "/usr/include/pango-1.0/pango/pango-glyph.h" >extern "C" { > >typedef struct _PangoGlyphGeometry PangoGlyphGeometry; >typedef struct _PangoGlyphVisAttr PangoGlyphVisAttr; >typedef struct _PangoGlyphInfo PangoGlyphInfo; >typedef struct _PangoGlyphString PangoGlyphString; > > >typedef gint32 PangoGlyphUnit; > > > >struct _PangoGlyphGeometry >{ > PangoGlyphUnit width; > PangoGlyphUnit x_offset; > PangoGlyphUnit y_offset; >}; > > > >struct _PangoGlyphVisAttr >{ > guint is_cluster_start : 1; >}; > > > >struct _PangoGlyphInfo >{ > PangoGlyph glyph; > PangoGlyphGeometry geometry; > PangoGlyphVisAttr attr; >}; > > > > >struct _PangoGlyphString { > gint num_glyphs; > > PangoGlyphInfo *glyphs; > > > > > > > gint *log_clusters; > > > gint space; >}; > > > >PangoGlyphString *pango_glyph_string_new (void); >void pango_glyph_string_set_size (PangoGlyphString *string, > gint new_len); >GType pango_glyph_string_get_type (void); >PangoGlyphString *pango_glyph_string_copy (PangoGlyphString *string); >void pango_glyph_string_free (PangoGlyphString *string); >void pango_glyph_string_extents (PangoGlyphString *glyphs, > PangoFont *font, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); > >void pango_glyph_string_extents_range (PangoGlyphString *glyphs, > int start, > int end, > PangoFont *font, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); > >void pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs, > const char *text, > int length, > int embedding_level, > int *logical_widths); > >void pango_glyph_string_index_to_x (PangoGlyphString *glyphs, > char *text, > int length, > PangoAnalysis *analysis, > int index_, > gboolean trailing, > int *x_pos); >void pango_glyph_string_x_to_index (PangoGlyphString *glyphs, > char *text, > int length, > PangoAnalysis *analysis, > int x_pos, > int *index_, > int *trailing); > > > >void pango_shape (const gchar *text, > gint length, > PangoAnalysis *analysis, > PangoGlyphString *glyphs); > >GList *pango_reorder_items (GList *logical_items); > >} ># 29 "/usr/include/pango-1.0/pango/pango-engine.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-script.h" 1 ># 30 "/usr/include/pango-1.0/pango/pango-script.h" >extern "C" { > > > > > > > >typedef struct _PangoScriptIter PangoScriptIter; > >typedef enum { > PANGO_SCRIPT_INVALID_CODE = -1, > PANGO_SCRIPT_COMMON = 0, > PANGO_SCRIPT_INHERITED, > PANGO_SCRIPT_ARABIC, > PANGO_SCRIPT_ARMENIAN, > PANGO_SCRIPT_BENGALI, > PANGO_SCRIPT_BOPOMOFO, > PANGO_SCRIPT_CHEROKEE, > PANGO_SCRIPT_COPTIC, > PANGO_SCRIPT_CYRILLIC, > PANGO_SCRIPT_DESERET, > PANGO_SCRIPT_DEVANAGARI, > PANGO_SCRIPT_ETHIOPIC, > PANGO_SCRIPT_GEORGIAN, > PANGO_SCRIPT_GOTHIC, > PANGO_SCRIPT_GREEK, > PANGO_SCRIPT_GUJARATI, > PANGO_SCRIPT_GURMUKHI, > PANGO_SCRIPT_HAN, > PANGO_SCRIPT_HANGUL, > PANGO_SCRIPT_HEBREW, > PANGO_SCRIPT_HIRAGANA, > PANGO_SCRIPT_KANNADA, > PANGO_SCRIPT_KATAKANA, > PANGO_SCRIPT_KHMER, > PANGO_SCRIPT_LAO, > PANGO_SCRIPT_LATIN, > PANGO_SCRIPT_MALAYALAM, > PANGO_SCRIPT_MONGOLIAN, > PANGO_SCRIPT_MYANMAR, > PANGO_SCRIPT_OGHAM, > PANGO_SCRIPT_OLD_ITALIC, > PANGO_SCRIPT_ORIYA, > PANGO_SCRIPT_RUNIC, > PANGO_SCRIPT_SINHALA, > PANGO_SCRIPT_SYRIAC, > PANGO_SCRIPT_TAMIL, > PANGO_SCRIPT_TELUGU, > PANGO_SCRIPT_THAANA, > PANGO_SCRIPT_THAI, > PANGO_SCRIPT_TIBETAN, > PANGO_SCRIPT_CANADIAN_ABORIGINAL, > PANGO_SCRIPT_YI, > PANGO_SCRIPT_TAGALOG, > PANGO_SCRIPT_HANUNOO, > PANGO_SCRIPT_BUHID, > PANGO_SCRIPT_TAGBANWA, > > > PANGO_SCRIPT_BRAILLE, > PANGO_SCRIPT_CYPRIOT, > PANGO_SCRIPT_LIMBU, > PANGO_SCRIPT_OSMANYA, > PANGO_SCRIPT_SHAVIAN, > PANGO_SCRIPT_LINEAR_B, > PANGO_SCRIPT_TAI_LE, > PANGO_SCRIPT_UGARITIC >} PangoScript; > >PangoScript pango_script_for_unichar (gunichar ch); > >PangoScriptIter *pango_script_iter_new (const char *text, > int length); >void pango_script_iter_get_range (PangoScriptIter *iter, > const char **start, > const char **end, > PangoScript *script); >gboolean pango_script_iter_next (PangoScriptIter *iter); >void pango_script_iter_free (PangoScriptIter *iter); > >PangoLanguage *pango_script_get_sample_language (PangoScript script); >gboolean pango_language_includes_script (PangoLanguage *language, > PangoScript script); > >} ># 30 "/usr/include/pango-1.0/pango/pango-engine.h" 2 > >extern "C" { ># 369 "/usr/include/pango-1.0/pango/pango-engine.h" >} ># 30 "/usr/include/pango-1.0/pango/pango.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-enum-types.h" 1 ># 9 "/usr/include/pango-1.0/pango/pango-enum-types.h" >extern "C" { > > > >GType pango_attr_type_get_type (void); > > >GType pango_underline_get_type (void); > > > > >GType pango_coverage_level_get_type (void); > > > > >GType pango_style_get_type (void); > > >GType pango_variant_get_type (void); > > >GType pango_weight_get_type (void); > > >GType pango_stretch_get_type (void); > > >GType pango_font_mask_get_type (void); > > > > >GType pango_alignment_get_type (void); > > >GType pango_wrap_mode_get_type (void); > > > > >GType pango_script_get_type (void); > > > > >GType pango_tab_align_get_type (void); > > > > >GType pango_direction_get_type (void); > > >} ># 31 "/usr/include/pango-1.0/pango/pango.h" 2 > > > > ># 1 "/usr/include/pango-1.0/pango/pango-layout.h" 1 ># 27 "/usr/include/pango-1.0/pango/pango-layout.h" ># 1 "/usr/include/pango-1.0/pango/pango-glyph-item.h" 1 ># 30 "/usr/include/pango-1.0/pango/pango-glyph-item.h" >extern "C" { > >typedef struct _PangoGlyphItem PangoGlyphItem; > >struct _PangoGlyphItem >{ > PangoItem *item; > PangoGlyphString *glyphs; >}; > >PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig, > const char *text, > int split_index); >GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item, > const char *text, > PangoAttrList *list); > >} ># 28 "/usr/include/pango-1.0/pango/pango-layout.h" 2 ># 1 "/usr/include/pango-1.0/pango/pango-tabs.h" 1 ># 27 "/usr/include/pango-1.0/pango/pango-tabs.h" >extern "C" { > >typedef struct _PangoTabArray PangoTabArray; > >typedef enum >{ > PANGO_TAB_LEFT ># 42 "/usr/include/pango-1.0/pango/pango-tabs.h" >} PangoTabAlign; > > > >PangoTabArray *pango_tab_array_new (gint initial_size, > gboolean positions_in_pixels); >PangoTabArray *pango_tab_array_new_with_positions (gint size, > gboolean positions_in_pixels, > PangoTabAlign first_alignment, > gint first_position, > ...); >GType pango_tab_array_get_type (void); >PangoTabArray *pango_tab_array_copy (PangoTabArray *src); >void pango_tab_array_free (PangoTabArray *tab_array); >gint pango_tab_array_get_size (PangoTabArray *tab_array); >void pango_tab_array_resize (PangoTabArray *tab_array, > gint new_size); >void pango_tab_array_set_tab (PangoTabArray *tab_array, > gint tab_index, > PangoTabAlign alignment, > gint location); >void pango_tab_array_get_tab (PangoTabArray *tab_array, > gint tab_index, > PangoTabAlign *alignment, > gint *location); >void pango_tab_array_get_tabs (PangoTabArray *tab_array, > PangoTabAlign **alignments, > gint **locations); > >gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array); > > >} ># 29 "/usr/include/pango-1.0/pango/pango-layout.h" 2 > >extern "C" { > >typedef struct _PangoLayout PangoLayout; >typedef struct _PangoLayoutClass PangoLayoutClass; >typedef struct _PangoLayoutLine PangoLayoutLine; > > >typedef PangoGlyphItem PangoLayoutRun; > >typedef enum { > PANGO_ALIGN_LEFT, > PANGO_ALIGN_CENTER, > PANGO_ALIGN_RIGHT >} PangoAlignment; > >typedef enum { > PANGO_WRAP_WORD, > PANGO_WRAP_CHAR, > PANGO_WRAP_WORD_CHAR >} PangoWrapMode; > >struct _PangoLayoutLine >{ > PangoLayout *layout; > gint start_index; > gint length; > GSList *runs; > guint is_paragraph_start : 1; > guint resolved_dir : 3; >}; ># 73 "/usr/include/pango-1.0/pango/pango-layout.h" >GType pango_layout_get_type (void) __attribute__((__const__)); >PangoLayout *pango_layout_new (PangoContext *context); >PangoLayout *pango_layout_copy (PangoLayout *src); > >PangoContext *pango_layout_get_context (PangoLayout *layout); > >void pango_layout_set_attributes (PangoLayout *layout, > PangoAttrList *attrs); >PangoAttrList *pango_layout_get_attributes (PangoLayout *layout); > >void pango_layout_set_text (PangoLayout *layout, > const char *text, > int length); >const char *pango_layout_get_text (PangoLayout *layout); > >void pango_layout_set_markup (PangoLayout *layout, > const char *markup, > int length); > >void pango_layout_set_markup_with_accel (PangoLayout *layout, > const char *markup, > int length, > gunichar accel_marker, > gunichar *accel_char); > >void pango_layout_set_font_description (PangoLayout *layout, > const PangoFontDescription *desc); >void pango_layout_set_width (PangoLayout *layout, > int width); >int pango_layout_get_width (PangoLayout *layout); >void pango_layout_set_wrap (PangoLayout *layout, > PangoWrapMode wrap); >PangoWrapMode pango_layout_get_wrap (PangoLayout *layout); >void pango_layout_set_indent (PangoLayout *layout, > int indent); >int pango_layout_get_indent (PangoLayout *layout); >void pango_layout_set_spacing (PangoLayout *layout, > int spacing); >int pango_layout_get_spacing (PangoLayout *layout); >void pango_layout_set_justify (PangoLayout *layout, > gboolean justify); >gboolean pango_layout_get_justify (PangoLayout *layout); >void pango_layout_set_auto_dir (PangoLayout *layout, > gboolean auto_dir); >gboolean pango_layout_get_auto_dir (PangoLayout *layout); >void pango_layout_set_alignment (PangoLayout *layout, > PangoAlignment alignment); >PangoAlignment pango_layout_get_alignment (PangoLayout *layout); > >void pango_layout_set_tabs (PangoLayout *layout, > PangoTabArray *tabs); > >PangoTabArray* pango_layout_get_tabs (PangoLayout *layout); > >void pango_layout_set_single_paragraph_mode (PangoLayout *layout, > gboolean setting); >gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout); > >void pango_layout_context_changed (PangoLayout *layout); > >void pango_layout_get_log_attrs (PangoLayout *layout, > PangoLogAttr **attrs, > gint *n_attrs); > >void pango_layout_index_to_pos (PangoLayout *layout, > int index_, > PangoRectangle *pos); >void pango_layout_get_cursor_pos (PangoLayout *layout, > int index_, > PangoRectangle *strong_pos, > PangoRectangle *weak_pos); >void pango_layout_move_cursor_visually (PangoLayout *layout, > gboolean strong, > int old_index, > int old_trailing, > int direction, > int *new_index, > int *new_trailing); >gboolean pango_layout_xy_to_index (PangoLayout *layout, > int x, > int y, > int *index_, > int *trailing); >void pango_layout_get_extents (PangoLayout *layout, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >void pango_layout_get_pixel_extents (PangoLayout *layout, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >void pango_layout_get_size (PangoLayout *layout, > int *width, > int *height); >void pango_layout_get_pixel_size (PangoLayout *layout, > int *width, > int *height); > >int pango_layout_get_line_count (PangoLayout *layout); >PangoLayoutLine *pango_layout_get_line (PangoLayout *layout, > int line); >GSList * pango_layout_get_lines (PangoLayout *layout); > >void pango_layout_line_ref (PangoLayoutLine *line); >void pango_layout_line_unref (PangoLayoutLine *line); >gboolean pango_layout_line_x_to_index (PangoLayoutLine *line, > int x_pos, > int *index_, > int *trailing); >void pango_layout_line_index_to_x (PangoLayoutLine *line, > int index_, > gboolean trailing, > int *x_pos); >void pango_layout_line_get_x_ranges (PangoLayoutLine *line, > int start_index, > int end_index, > int **ranges, > int *n_ranges); >void pango_layout_line_get_extents (PangoLayoutLine *line, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); > >typedef struct _PangoLayoutIter PangoLayoutIter; > >PangoLayoutIter *pango_layout_get_iter (PangoLayout *layout); >void pango_layout_iter_free (PangoLayoutIter *iter); > >int pango_layout_iter_get_index (PangoLayoutIter *iter); >PangoLayoutRun *pango_layout_iter_get_run (PangoLayoutIter *iter); >PangoLayoutLine *pango_layout_iter_get_line (PangoLayoutIter *iter); >gboolean pango_layout_iter_at_last_line (PangoLayoutIter *iter); > >gboolean pango_layout_iter_next_char (PangoLayoutIter *iter); >gboolean pango_layout_iter_next_cluster (PangoLayoutIter *iter); >gboolean pango_layout_iter_next_run (PangoLayoutIter *iter); >gboolean pango_layout_iter_next_line (PangoLayoutIter *iter); > >void pango_layout_iter_get_char_extents (PangoLayoutIter *iter, > PangoRectangle *logical_rect); >void pango_layout_iter_get_cluster_extents (PangoLayoutIter *iter, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >void pango_layout_iter_get_run_extents (PangoLayoutIter *iter, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >void pango_layout_iter_get_line_extents (PangoLayoutIter *iter, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); > > > >void pango_layout_iter_get_line_yrange (PangoLayoutIter *iter, > int *y0_, > int *y1_); >void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter, > PangoRectangle *ink_rect, > PangoRectangle *logical_rect); >int pango_layout_iter_get_baseline (PangoLayoutIter *iter); > >} ># 36 "/usr/include/pango-1.0/pango/pango.h" 2 ># 34 "/usr/include/gtk-2.0/gdk/gdktypes.h" 2 ># 51 "/usr/include/gtk-2.0/gdk/gdktypes.h" ># 1 "/usr/lib/gtk-2.0/include/gdkconfig.h" 1 ># 10 "/usr/lib/gtk-2.0/include/gdkconfig.h" >extern "C" { ># 20 "/usr/lib/gtk-2.0/include/gdkconfig.h" >} ># 52 "/usr/include/gtk-2.0/gdk/gdktypes.h" 2 ># 60 "/usr/include/gtk-2.0/gdk/gdktypes.h" >extern "C" { > > > > > >typedef struct _GdkPoint GdkPoint; >typedef struct _GdkRectangle GdkRectangle; >typedef struct _GdkSegment GdkSegment; >typedef struct _GdkSpan GdkSpan; > > > > > > >typedef guint32 GdkWChar; > >typedef struct _GdkAtom *GdkAtom; ># 89 "/usr/include/gtk-2.0/gdk/gdktypes.h" >typedef guint32 GdkNativeWindow; > > > > >typedef struct _GdkColor GdkColor; >typedef struct _GdkColormap GdkColormap; >typedef struct _GdkCursor GdkCursor; >typedef struct _GdkFont GdkFont; >typedef struct _GdkGC GdkGC; >typedef struct _GdkImage GdkImage; >typedef struct _GdkRegion GdkRegion; >typedef struct _GdkVisual GdkVisual; > >typedef struct _GdkDrawable GdkDrawable; >typedef struct _GdkDrawable GdkBitmap; >typedef struct _GdkDrawable GdkPixmap; >typedef struct _GdkDrawable GdkWindow; >typedef struct _GdkDisplay GdkDisplay; >typedef struct _GdkScreen GdkScreen; > >typedef enum >{ > GDK_LSB_FIRST, > GDK_MSB_FIRST >} GdkByteOrder; > > > >typedef enum >{ > GDK_SHIFT_MASK = 1 << 0, > GDK_LOCK_MASK = 1 << 1, > GDK_CONTROL_MASK = 1 << 2, > GDK_MOD1_MASK = 1 << 3, > GDK_MOD2_MASK = 1 << 4, > GDK_MOD3_MASK = 1 << 5, > GDK_MOD4_MASK = 1 << 6, > GDK_MOD5_MASK = 1 << 7, > GDK_BUTTON1_MASK = 1 << 8, > GDK_BUTTON2_MASK = 1 << 9, > GDK_BUTTON3_MASK = 1 << 10, > GDK_BUTTON4_MASK = 1 << 11, > GDK_BUTTON5_MASK = 1 << 12, > > > GDK_RELEASE_MASK = 1 << 30, > GDK_MODIFIER_MASK = GDK_RELEASE_MASK | 0x1fff >} GdkModifierType; > >typedef enum >{ > GDK_INPUT_READ = 1 << 0, > GDK_INPUT_WRITE = 1 << 1, > GDK_INPUT_EXCEPTION = 1 << 2 >} GdkInputCondition; > >typedef enum >{ > GDK_OK = 0, > GDK_ERROR = -1, > GDK_ERROR_PARAM = -2, > GDK_ERROR_FILE = -3, > GDK_ERROR_MEM = -4 >} GdkStatus; > > > > > >typedef enum >{ > GDK_GRAB_SUCCESS = 0, > GDK_GRAB_ALREADY_GRABBED = 1, > GDK_GRAB_INVALID_TIME = 2, > GDK_GRAB_NOT_VIEWABLE = 3, > GDK_GRAB_FROZEN = 4 >} GdkGrabStatus; > >typedef void (*GdkInputFunction) (gpointer data, > gint source, > GdkInputCondition condition); > >typedef void (*GdkDestroyNotify) (gpointer data); > >struct _GdkPoint >{ > gint x; > gint y; >}; > >struct _GdkRectangle >{ > gint x; > gint y; > gint width; > gint height; >}; > >struct _GdkSegment >{ > gint x1; > gint y1; > gint x2; > gint y2; >}; > >struct _GdkSpan >{ > gint x; > gint y; > gint width; >}; > > >} ># 5 "/usr/include/gtk-2.0/gdk/gdkcolor.h" 2 > > >extern "C" { ># 17 "/usr/include/gtk-2.0/gdk/gdkcolor.h" >struct _GdkColor >{ > guint32 pixel; > guint16 red; > guint16 green; > guint16 blue; >}; > > > > >typedef struct _GdkColormapClass GdkColormapClass; ># 39 "/usr/include/gtk-2.0/gdk/gdkcolor.h" >struct _GdkColormap >{ > GObject parent_instance; > > > gint size; > GdkColor *colors; > > > GdkVisual *visual; > > gpointer windowing_data; >}; > >struct _GdkColormapClass >{ > GObjectClass parent_class; > >}; > >GType gdk_colormap_get_type (void) __attribute__((__const__)); > >GdkColormap* gdk_colormap_new (GdkVisual *visual, > gboolean allocate); > > >GdkColormap* gdk_colormap_ref (GdkColormap *cmap); >void gdk_colormap_unref (GdkColormap *cmap); > > > >GdkColormap* gdk_colormap_get_system (void); > > >GdkScreen *gdk_colormap_get_screen (GdkColormap *cmap); > > >gint gdk_colormap_get_system_size (void); > > > > >void gdk_colormap_change (GdkColormap *colormap, > gint ncolors); > > >gint gdk_colormap_alloc_colors (GdkColormap *colormap, > GdkColor *colors, > gint ncolors, > gboolean writeable, > gboolean best_match, > gboolean *success); >gboolean gdk_colormap_alloc_color (GdkColormap *colormap, > GdkColor *color, > gboolean writeable, > gboolean best_match); >void gdk_colormap_free_colors (GdkColormap *colormap, > GdkColor *colors, > gint ncolors); >void gdk_colormap_query_color (GdkColormap *colormap, > gulong pixel, > GdkColor *result); > >GdkVisual *gdk_colormap_get_visual (GdkColormap *colormap); > >GdkColor *gdk_color_copy (const GdkColor *color); >void gdk_color_free (GdkColor *color); >gint gdk_color_parse (const gchar *spec, > GdkColor *color); >guint gdk_color_hash (const GdkColor *colora); >gboolean gdk_color_equal (const GdkColor *colora, > const GdkColor *colorb); > >GType gdk_color_get_type (void); > > > >void gdk_colors_store (GdkColormap *colormap, > GdkColor *colors, > gint ncolors); >gint gdk_color_white (GdkColormap *colormap, > GdkColor *color); >gint gdk_color_black (GdkColormap *colormap, > GdkColor *color); >gint gdk_color_alloc (GdkColormap *colormap, > GdkColor *color); >gint gdk_color_change (GdkColormap *colormap, > GdkColor *color); > > > > >gint gdk_colors_alloc (GdkColormap *colormap, > gboolean contiguous, > gulong *planes, > gint nplanes, > gulong *pixels, > gint npixels); >void gdk_colors_free (GdkColormap *colormap, > gulong *pixels, > gint npixels, > gulong planes); > > > >} ># 31 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkcursor.h" 1 > > > > ># 1 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" 1 ># 30 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" ># 1 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h" 1 ># 9 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h" >extern const guint gdk_pixbuf_major_version, gdk_pixbuf_minor_version, gdk_pixbuf_micro_version; >extern const char *gdk_pixbuf_version; ># 31 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" 2 > > >extern "C" { > > > > >typedef enum >{ > GDK_PIXBUF_ALPHA_BILEVEL, > GDK_PIXBUF_ALPHA_FULL >} GdkPixbufAlphaMode; > > > > > >typedef enum { > GDK_COLORSPACE_RGB >} GdkColorspace; > > >typedef struct _GdkPixbuf GdkPixbuf; >typedef struct _GdkPixbufAnimation GdkPixbufAnimation; >typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter; ># 70 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" >typedef void (* GdkPixbufDestroyNotify) (guchar *pixels, gpointer data); > > > >typedef enum { > > GDK_PIXBUF_ERROR_CORRUPT_IMAGE, > > GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, > > GDK_PIXBUF_ERROR_BAD_OPTION, > > GDK_PIXBUF_ERROR_UNKNOWN_TYPE, > > GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION, > GDK_PIXBUF_ERROR_FAILED >} GdkPixbufError; > >GQuark gdk_pixbuf_error_quark (void) __attribute__((__const__)); > > > >GType gdk_pixbuf_get_type (void) __attribute__((__const__)); > > > > >GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); >void gdk_pixbuf_unref (GdkPixbuf *pixbuf); > > > > >GdkColorspace gdk_pixbuf_get_colorspace (const GdkPixbuf *pixbuf); >int gdk_pixbuf_get_n_channels (const GdkPixbuf *pixbuf); >gboolean gdk_pixbuf_get_has_alpha (const GdkPixbuf *pixbuf); >int gdk_pixbuf_get_bits_per_sample (const GdkPixbuf *pixbuf); >guchar *gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf); >int gdk_pixbuf_get_width (const GdkPixbuf *pixbuf); >int gdk_pixbuf_get_height (const GdkPixbuf *pixbuf); >int gdk_pixbuf_get_rowstride (const GdkPixbuf *pixbuf); > > > > >GdkPixbuf *gdk_pixbuf_new (GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, > int width, int height); > > > >GdkPixbuf *gdk_pixbuf_copy (const GdkPixbuf *pixbuf); > > >GdkPixbuf *gdk_pixbuf_new_subpixbuf (GdkPixbuf *src_pixbuf, > int src_x, > int src_y, > int width, > int height); > > > >GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename, > GError **error); > >GdkPixbuf *gdk_pixbuf_new_from_file_at_size (const char *filename, > int width, > int height, > GError **error); > >GdkPixbuf *gdk_pixbuf_new_from_data (const guchar *data, > GdkColorspace colorspace, > gboolean has_alpha, > int bits_per_sample, > int width, int height, > int rowstride, > GdkPixbufDestroyNotify destroy_fn, > gpointer destroy_fn_data); > >GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data); >GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, > const guint8 *data, > gboolean copy_pixels, > GError **error); > > >void gdk_pixbuf_fill (GdkPixbuf *pixbuf, > guint32 pixel); > > > >gboolean gdk_pixbuf_save (GdkPixbuf *pixbuf, > const char *filename, > const char *type, > GError **error, > ...); > >gboolean gdk_pixbuf_savev (GdkPixbuf *pixbuf, > const char *filename, > const char *type, > char **option_keys, > char **option_values, > GError **error); > > > >typedef gboolean (*GdkPixbufSaveFunc) (const gchar *buf, > gsize count, > GError **error, > gpointer data); > >gboolean gdk_pixbuf_save_to_callback (GdkPixbuf *pixbuf, > GdkPixbufSaveFunc save_func, > gpointer user_data, > const char *type, > GError **error, > ...); > >gboolean gdk_pixbuf_save_to_callbackv (GdkPixbuf *pixbuf, > GdkPixbufSaveFunc save_func, > gpointer user_data, > const char *type, > char **option_keys, > char **option_values, > GError **error); > > > >gboolean gdk_pixbuf_save_to_buffer (GdkPixbuf *pixbuf, > gchar **buffer, > gsize *buffer_size, > const char *type, > GError **error, > ...); > >gboolean gdk_pixbuf_save_to_bufferv (GdkPixbuf *pixbuf, > gchar **buffer, > gsize *buffer_size, > const char *type, > char **option_keys, > char **option_values, > GError **error); > > >GdkPixbuf *gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf, gboolean substitute_color, > guchar r, guchar g, guchar b); > > >void gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf, > int src_x, int src_y, > int width, int height, > GdkPixbuf *dest_pixbuf, > int dest_x, int dest_y); > > >void gdk_pixbuf_saturate_and_pixelate (const GdkPixbuf *src, > GdkPixbuf *dest, > gfloat saturation, > gboolean pixelate); ># 237 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" >typedef enum { > GDK_INTERP_NEAREST, > GDK_INTERP_TILES, > GDK_INTERP_BILINEAR, > GDK_INTERP_HYPER >} GdkInterpType; > >void gdk_pixbuf_scale (const GdkPixbuf *src, > GdkPixbuf *dest, > int dest_x, > int dest_y, > int dest_width, > int dest_height, > double offset_x, > double offset_y, > double scale_x, > double scale_y, > GdkInterpType interp_type); >void gdk_pixbuf_composite (const GdkPixbuf *src, > GdkPixbuf *dest, > int dest_x, > int dest_y, > int dest_width, > int dest_height, > double offset_x, > double offset_y, > double scale_x, > double scale_y, > GdkInterpType interp_type, > int overall_alpha); >void gdk_pixbuf_composite_color (const GdkPixbuf *src, > GdkPixbuf *dest, > int dest_x, > int dest_y, > int dest_width, > int dest_height, > double offset_x, > double offset_y, > double scale_x, > double scale_y, > GdkInterpType interp_type, > int overall_alpha, > int check_x, > int check_y, > int check_size, > guint32 color1, > guint32 color2); > >GdkPixbuf *gdk_pixbuf_scale_simple (const GdkPixbuf *src, > int dest_width, > int dest_height, > GdkInterpType interp_type); > >GdkPixbuf *gdk_pixbuf_composite_color_simple (const GdkPixbuf *src, > int dest_width, > int dest_height, > GdkInterpType interp_type, > int overall_alpha, > int check_size, > guint32 color1, > guint32 color2); > > > > > >GType gdk_pixbuf_animation_get_type (void) __attribute__((__const__)); > >GdkPixbufAnimation *gdk_pixbuf_animation_new_from_file (const char *filename, > GError **error); > > >GdkPixbufAnimation *gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation); >void gdk_pixbuf_animation_unref (GdkPixbufAnimation *animation); > > >int gdk_pixbuf_animation_get_width (GdkPixbufAnimation *animation); >int gdk_pixbuf_animation_get_height (GdkPixbufAnimation *animation); >gboolean gdk_pixbuf_animation_is_static_image (GdkPixbufAnimation *animation); >GdkPixbuf *gdk_pixbuf_animation_get_static_image (GdkPixbufAnimation *animation); > >GdkPixbufAnimationIter *gdk_pixbuf_animation_get_iter (GdkPixbufAnimation *animation, > const GTimeVal *start_time); >GType gdk_pixbuf_animation_iter_get_type (void) __attribute__((__const__)); >int gdk_pixbuf_animation_iter_get_delay_time (GdkPixbufAnimationIter *iter); >GdkPixbuf *gdk_pixbuf_animation_iter_get_pixbuf (GdkPixbufAnimationIter *iter); >gboolean gdk_pixbuf_animation_iter_on_currently_loading_frame (GdkPixbufAnimationIter *iter); >gboolean gdk_pixbuf_animation_iter_advance (GdkPixbufAnimationIter *iter, > const GTimeVal *current_time); > > > > >const gchar * gdk_pixbuf_get_option (GdkPixbuf *pixbuf, > const gchar *key); > > > >typedef struct _GdkPixbufFormat GdkPixbufFormat; > >GSList *gdk_pixbuf_get_formats (void); >gchar *gdk_pixbuf_format_get_name (GdkPixbufFormat *format); >gchar *gdk_pixbuf_format_get_description (GdkPixbufFormat *format); >gchar **gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format); >gchar **gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format); >gboolean gdk_pixbuf_format_is_writable (GdkPixbufFormat *format); > >GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename, > gint *width, > gint *height); > >} > ># 1 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h" 1 ># 29 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h" >extern "C" { ># 39 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h" >typedef struct _GdkPixbufLoader GdkPixbufLoader; >struct _GdkPixbufLoader >{ > GObject parent_instance; > > > gpointer priv; >}; > >typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass; >struct _GdkPixbufLoaderClass >{ > GObjectClass parent_class; > > void (*size_prepared) (GdkPixbufLoader *loader, > int width, > int height); > > void (*area_prepared) (GdkPixbufLoader *loader); > > > void (*area_updated) (GdkPixbufLoader *loader, > int x, > int y, > int width, > int height); > > void (*closed) (GdkPixbufLoader *loader); >}; > >GType gdk_pixbuf_loader_get_type (void) __attribute__((__const__)); >GdkPixbufLoader * gdk_pixbuf_loader_new (void); >GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type, > GError **error); >GdkPixbufLoader * gdk_pixbuf_loader_new_with_mime_type (const char *mime_type, > GError **error); >void gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader, > int width, > int height); >gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader, > const guchar *buf, > gsize count, > GError **error); >GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader); >GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader); >gboolean gdk_pixbuf_loader_close (GdkPixbufLoader *loader, > GError **error); >GdkPixbufFormat *gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader); > >} ># 351 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" 2 ># 1 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h" 1 ># 9 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h" >extern "C" { > > > >GType gdk_pixbuf_alpha_mode_get_type (void); > > >GType gdk_colorspace_get_type (void); > > >GType gdk_pixbuf_error_get_type (void); > > >GType gdk_interp_type_get_type (void); > > >} ># 352 "/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h" 2 ># 6 "/usr/include/gtk-2.0/gdk/gdkcursor.h" 2 > > >extern "C" { > > > > > > >typedef enum >{ > GDK_X_CURSOR = 0, > GDK_ARROW = 2, > GDK_BASED_ARROW_DOWN = 4, > GDK_BASED_ARROW_UP = 6, > GDK_BOAT = 8, > GDK_BOGOSITY = 10, > GDK_BOTTOM_LEFT_CORNER = 12, > GDK_BOTTOM_RIGHT_CORNER = 14, > GDK_BOTTOM_SIDE = 16, > GDK_BOTTOM_TEE = 18, > GDK_BOX_SPIRAL = 20, > GDK_CENTER_PTR = 22, > GDK_CIRCLE = 24, > GDK_CLOCK = 26, > GDK_COFFEE_MUG = 28, > GDK_CROSS = 30, > GDK_CROSS_REVERSE = 32, > GDK_CROSSHAIR = 34, > GDK_DIAMOND_CROSS = 36, > GDK_DOT = 38, > GDK_DOTBOX = 40, > GDK_DOUBLE_ARROW = 42, > GDK_DRAFT_LARGE = 44, > GDK_DRAFT_SMALL = 46, > GDK_DRAPED_BOX = 48, > GDK_EXCHANGE = 50, > GDK_FLEUR = 52, > GDK_GOBBLER = 54, > GDK_GUMBY = 56, > GDK_HAND1 = 58, > GDK_HAND2 = 60, > GDK_HEART = 62, > GDK_ICON = 64, > GDK_IRON_CROSS = 66, > GDK_LEFT_PTR = 68, > GDK_LEFT_SIDE = 70, > GDK_LEFT_TEE = 72, > GDK_LEFTBUTTON = 74, > GDK_LL_ANGLE = 76, > GDK_LR_ANGLE = 78, > GDK_MAN = 80, > GDK_MIDDLEBUTTON = 82, > GDK_MOUSE = 84, > GDK_PENCIL = 86, > GDK_PIRATE = 88, > GDK_PLUS = 90, > GDK_QUESTION_ARROW = 92, > GDK_RIGHT_PTR = 94, > GDK_RIGHT_SIDE = 96, > GDK_RIGHT_TEE = 98, > GDK_RIGHTBUTTON = 100, > GDK_RTL_LOGO = 102, > GDK_SAILBOAT = 104, > GDK_SB_DOWN_ARROW = 106, > GDK_SB_H_DOUBLE_ARROW = 108, > GDK_SB_LEFT_ARROW = 110, > GDK_SB_RIGHT_ARROW = 112, > GDK_SB_UP_ARROW = 114, > GDK_SB_V_DOUBLE_ARROW = 116, > GDK_SHUTTLE = 118, > GDK_SIZING = 120, > GDK_SPIDER = 122, > GDK_SPRAYCAN = 124, > GDK_STAR = 126, > GDK_TARGET = 128, > GDK_TCROSS = 130, > GDK_TOP_LEFT_ARROW = 132, > GDK_TOP_LEFT_CORNER = 134, > GDK_TOP_RIGHT_CORNER = 136, > GDK_TOP_SIDE = 138, > GDK_TOP_TEE = 140, > GDK_TREK = 142, > GDK_UL_ANGLE = 144, > GDK_UMBRELLA = 146, > GDK_UR_ANGLE = 148, > GDK_WATCH = 150, > GDK_XTERM = 152, > GDK_LAST_CURSOR, > GDK_CURSOR_IS_PIXMAP = -1 >} GdkCursorType; > >struct _GdkCursor >{ > GdkCursorType type; > guint ref_count; >}; > > > > >GType gdk_cursor_get_type (void); > >GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display, > GdkCursorType cursor_type); > >GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); > >GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source, > GdkPixmap *mask, > const GdkColor *fg, > const GdkColor *bg, > gint x, > gint y); >GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display, > GdkPixbuf *pixbuf, > gint x, > gint y); >GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor); >GdkCursor* gdk_cursor_ref (GdkCursor *cursor); >void gdk_cursor_unref (GdkCursor *cursor); > > > > > > >} ># 32 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkdisplay.h" 1 ># 28 "/usr/include/gtk-2.0/gdk/gdkdisplay.h" ># 1 "/usr/include/gtk-2.0/gdk/gdkevents.h" 1 > > > > > ># 1 "/usr/include/gtk-2.0/gdk/gdkdnd.h" 1 > > > > > > >extern "C" { > > >typedef struct _GdkDragContext GdkDragContext; > >typedef enum >{ > GDK_ACTION_DEFAULT = 1 << 0, > GDK_ACTION_COPY = 1 << 1, > GDK_ACTION_MOVE = 1 << 2, > GDK_ACTION_LINK = 1 << 3, > GDK_ACTION_PRIVATE = 1 << 4, > GDK_ACTION_ASK = 1 << 5 >} GdkDragAction; > >typedef enum >{ > GDK_DRAG_PROTO_MOTIF, > GDK_DRAG_PROTO_XDND, > GDK_DRAG_PROTO_ROOTWIN, > > GDK_DRAG_PROTO_NONE, > GDK_DRAG_PROTO_WIN32_DROPFILES, > GDK_DRAG_PROTO_OLE2, > GDK_DRAG_PROTO_LOCAL >} GdkDragProtocol; > > > > > >typedef struct _GdkDragContextClass GdkDragContextClass; ># 47 "/usr/include/gtk-2.0/gdk/gdkdnd.h" >struct _GdkDragContext { > GObject parent_instance; > > > > GdkDragProtocol protocol; > > gboolean is_source; > > GdkWindow *source_window; > GdkWindow *dest_window; > > GList *targets; > GdkDragAction actions; > GdkDragAction suggested_action; > GdkDragAction action; > > guint32 start_time; > > > > gpointer windowing_data; >}; > >struct _GdkDragContextClass { > GObjectClass parent_class; > > >}; > > > >GType gdk_drag_context_get_type (void) __attribute__((__const__)); >GdkDragContext * gdk_drag_context_new (void); > > >void gdk_drag_context_ref (GdkDragContext *context); >void gdk_drag_context_unref (GdkDragContext *context); > > > > >void gdk_drag_status (GdkDragContext *context, > GdkDragAction action, > guint32 time_); >void gdk_drop_reply (GdkDragContext *context, > gboolean ok, > guint32 time_); >void gdk_drop_finish (GdkDragContext *context, > gboolean success, > guint32 time_); >GdkAtom gdk_drag_get_selection (GdkDragContext *context); > > > >GdkDragContext * gdk_drag_begin (GdkWindow *window, > GList *targets); > >guint32 gdk_drag_get_protocol_for_display (GdkDisplay *display, > guint32 xid, > GdkDragProtocol *protocol); >void gdk_drag_find_window_for_screen (GdkDragContext *context, > GdkWindow *drag_window, > GdkScreen *screen, > gint x_root, > gint y_root, > GdkWindow **dest_window, > GdkDragProtocol *protocol); > > >guint32 gdk_drag_get_protocol (guint32 xid, > GdkDragProtocol *protocol); >void gdk_drag_find_window (GdkDragContext *context, > GdkWindow *drag_window, > gint x_root, > gint y_root, > GdkWindow **dest_window, > GdkDragProtocol *protocol); > > >gboolean gdk_drag_motion (GdkDragContext *context, > GdkWindow *dest_window, > GdkDragProtocol protocol, > gint x_root, > gint y_root, > GdkDragAction suggested_action, > GdkDragAction possible_actions, > guint32 time_); >void gdk_drag_drop (GdkDragContext *context, > guint32 time_); >void gdk_drag_abort (GdkDragContext *context, > guint32 time_); > > >} ># 7 "/usr/include/gtk-2.0/gdk/gdkevents.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkinput.h" 1 > > > > > > >extern "C" { ># 17 "/usr/include/gtk-2.0/gdk/gdkinput.h" >typedef struct _GdkDeviceKey GdkDeviceKey; >typedef struct _GdkDeviceAxis GdkDeviceAxis; >typedef struct _GdkDevice GdkDevice; >typedef struct _GdkDeviceClass GdkDeviceClass; >typedef struct _GdkTimeCoord GdkTimeCoord; > >typedef enum >{ > GDK_EXTENSION_EVENTS_NONE, > GDK_EXTENSION_EVENTS_ALL, > GDK_EXTENSION_EVENTS_CURSOR >} GdkExtensionMode; > >typedef enum >{ > GDK_SOURCE_MOUSE, > GDK_SOURCE_PEN, > GDK_SOURCE_ERASER, > GDK_SOURCE_CURSOR >} GdkInputSource; > >typedef enum >{ > GDK_MODE_DISABLED, > GDK_MODE_SCREEN, > GDK_MODE_WINDOW >} GdkInputMode; > >typedef enum >{ > GDK_AXIS_IGNORE, > GDK_AXIS_X, > GDK_AXIS_Y, > GDK_AXIS_PRESSURE, > GDK_AXIS_XTILT, > GDK_AXIS_YTILT, > GDK_AXIS_WHEEL, > GDK_AXIS_LAST >} GdkAxisUse; > >struct _GdkDeviceKey >{ > guint keyval; > GdkModifierType modifiers; >}; > >struct _GdkDeviceAxis >{ > GdkAxisUse use; > gdouble min; > gdouble max; >}; > >struct _GdkDevice >{ > GObject parent_instance; > > > gchar *name; > GdkInputSource source; > GdkInputMode mode; > gboolean has_cursor; > > gint num_axes; > GdkDeviceAxis *axes; > > gint num_keys; > GdkDeviceKey *keys; >}; > > > > > > >struct _GdkTimeCoord >{ > guint32 time; > gdouble axes[128]; >}; > >GType gdk_device_get_type (void); > > > >GList * gdk_devices_list (void); > > > >void gdk_device_set_source (GdkDevice *device, > GdkInputSource source); > >gboolean gdk_device_set_mode (GdkDevice *device, > GdkInputMode mode); > >void gdk_device_set_key (GdkDevice *device, > guint index_, > guint keyval, > GdkModifierType modifiers); > >void gdk_device_set_axis_use (GdkDevice *device, > guint index_, > GdkAxisUse use); >void gdk_device_get_state (GdkDevice *device, > GdkWindow *window, > gdouble *axes, > GdkModifierType *mask); >gboolean gdk_device_get_history (GdkDevice *device, > GdkWindow *window, > guint32 start, > guint32 stop, > GdkTimeCoord ***events, > gint *n_events); >void gdk_device_free_history (GdkTimeCoord **events, > gint n_events); >gboolean gdk_device_get_axis (GdkDevice *device, > gdouble *axes, > GdkAxisUse use, > gdouble *value); > >void gdk_input_set_extension_events (GdkWindow *window, > gint mask, > GdkExtensionMode mode); > > >GdkDevice *gdk_device_get_core_pointer (void); > > > >} ># 8 "/usr/include/gtk-2.0/gdk/gdkevents.h" 2 > > >extern "C" { ># 19 "/usr/include/gtk-2.0/gdk/gdkevents.h" >typedef struct _GdkEventAny GdkEventAny; >typedef struct _GdkEventExpose GdkEventExpose; >typedef struct _GdkEventNoExpose GdkEventNoExpose; >typedef struct _GdkEventVisibility GdkEventVisibility; >typedef struct _GdkEventMotion GdkEventMotion; >typedef struct _GdkEventButton GdkEventButton; >typedef struct _GdkEventScroll GdkEventScroll; >typedef struct _GdkEventKey GdkEventKey; >typedef struct _GdkEventFocus GdkEventFocus; >typedef struct _GdkEventCrossing GdkEventCrossing; >typedef struct _GdkEventConfigure GdkEventConfigure; >typedef struct _GdkEventProperty GdkEventProperty; >typedef struct _GdkEventSelection GdkEventSelection; >typedef struct _GdkEventProximity GdkEventProximity; >typedef struct _GdkEventClient GdkEventClient; >typedef struct _GdkEventDND GdkEventDND; >typedef struct _GdkEventWindowState GdkEventWindowState; >typedef struct _GdkEventSetting GdkEventSetting; > >typedef union _GdkEvent GdkEvent; > >typedef void (*GdkEventFunc) (GdkEvent *event, > gpointer data); > > > >typedef void GdkXEvent; > > > >typedef enum { > GDK_FILTER_CONTINUE, > GDK_FILTER_TRANSLATE, > > > GDK_FILTER_REMOVE >} GdkFilterReturn; > >typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent, > GdkEvent *event, > gpointer data); ># 85 "/usr/include/gtk-2.0/gdk/gdkevents.h" >typedef enum >{ > GDK_NOTHING = -1, > GDK_DELETE = 0, > GDK_DESTROY = 1, > GDK_EXPOSE = 2, > GDK_MOTION_NOTIFY = 3, > GDK_BUTTON_PRESS = 4, > GDK_2BUTTON_PRESS = 5, > GDK_3BUTTON_PRESS = 6, > GDK_BUTTON_RELEASE = 7, > GDK_KEY_PRESS = 8, > GDK_KEY_RELEASE = 9, > GDK_ENTER_NOTIFY = 10, > GDK_LEAVE_NOTIFY = 11, > GDK_FOCUS_CHANGE = 12, > GDK_CONFIGURE = 13, > GDK_MAP = 14, > GDK_UNMAP = 15, > GDK_PROPERTY_NOTIFY = 16, > GDK_SELECTION_CLEAR = 17, > GDK_SELECTION_REQUEST = 18, > GDK_SELECTION_NOTIFY = 19, > GDK_PROXIMITY_IN = 20, > GDK_PROXIMITY_OUT = 21, > GDK_DRAG_ENTER = 22, > GDK_DRAG_LEAVE = 23, > GDK_DRAG_MOTION = 24, > GDK_DRAG_STATUS = 25, > GDK_DROP_START = 26, > GDK_DROP_FINISHED = 27, > GDK_CLIENT_EVENT = 28, > GDK_VISIBILITY_NOTIFY = 29, > GDK_NO_EXPOSE = 30, > GDK_SCROLL = 31, > GDK_WINDOW_STATE = 32, > GDK_SETTING = 33 >} GdkEventType; > > > > >typedef enum >{ > GDK_EXPOSURE_MASK = 1 << 1, > GDK_POINTER_MOTION_MASK = 1 << 2, > GDK_POINTER_MOTION_HINT_MASK = 1 << 3, > GDK_BUTTON_MOTION_MASK = 1 << 4, > GDK_BUTTON1_MOTION_MASK = 1 << 5, > GDK_BUTTON2_MOTION_MASK = 1 << 6, > GDK_BUTTON3_MOTION_MASK = 1 << 7, > GDK_BUTTON_PRESS_MASK = 1 << 8, > GDK_BUTTON_RELEASE_MASK = 1 << 9, > GDK_KEY_PRESS_MASK = 1 << 10, > GDK_KEY_RELEASE_MASK = 1 << 11, > GDK_ENTER_NOTIFY_MASK = 1 << 12, > GDK_LEAVE_NOTIFY_MASK = 1 << 13, > GDK_FOCUS_CHANGE_MASK = 1 << 14, > GDK_STRUCTURE_MASK = 1 << 15, > GDK_PROPERTY_CHANGE_MASK = 1 << 16, > GDK_VISIBILITY_NOTIFY_MASK = 1 << 17, > GDK_PROXIMITY_IN_MASK = 1 << 18, > GDK_PROXIMITY_OUT_MASK = 1 << 19, > GDK_SUBSTRUCTURE_MASK = 1 << 20, > GDK_SCROLL_MASK = 1 << 21, > GDK_ALL_EVENTS_MASK = 0x3FFFFE >} GdkEventMask; > >typedef enum >{ > GDK_VISIBILITY_UNOBSCURED, > GDK_VISIBILITY_PARTIAL, > GDK_VISIBILITY_FULLY_OBSCURED >} GdkVisibilityState; > >typedef enum >{ > GDK_SCROLL_UP, > GDK_SCROLL_DOWN, > GDK_SCROLL_LEFT, > GDK_SCROLL_RIGHT >} GdkScrollDirection; ># 176 "/usr/include/gtk-2.0/gdk/gdkevents.h" >typedef enum >{ > GDK_NOTIFY_ANCESTOR = 0, > GDK_NOTIFY_VIRTUAL = 1, > GDK_NOTIFY_INFERIOR = 2, > GDK_NOTIFY_NONLINEAR = 3, > GDK_NOTIFY_NONLINEAR_VIRTUAL = 4, > GDK_NOTIFY_UNKNOWN = 5 >} GdkNotifyType; > > > > > > >typedef enum >{ > GDK_CROSSING_NORMAL, > GDK_CROSSING_GRAB, > GDK_CROSSING_UNGRAB >} GdkCrossingMode; > >typedef enum >{ > GDK_PROPERTY_NEW_VALUE, > GDK_PROPERTY_DELETE >} GdkPropertyState; > >typedef enum >{ > GDK_WINDOW_STATE_WITHDRAWN = 1 << 0, > GDK_WINDOW_STATE_ICONIFIED = 1 << 1, > GDK_WINDOW_STATE_MAXIMIZED = 1 << 2, > GDK_WINDOW_STATE_STICKY = 1 << 3, > GDK_WINDOW_STATE_FULLSCREEN = 1 << 4, > GDK_WINDOW_STATE_ABOVE = 1 << 5, > GDK_WINDOW_STATE_BELOW = 1 << 6 >} GdkWindowState; > >typedef enum >{ > GDK_SETTING_ACTION_NEW, > GDK_SETTING_ACTION_CHANGED, > GDK_SETTING_ACTION_DELETED >} GdkSettingAction; > >struct _GdkEventAny >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; >}; > >struct _GdkEventExpose >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkRectangle area; > GdkRegion *region; > gint count; >}; > >struct _GdkEventNoExpose >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; >}; > >struct _GdkEventVisibility >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkVisibilityState state; >}; > >struct _GdkEventMotion >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > gdouble x; > gdouble y; > gdouble *axes; > guint state; > gint16 is_hint; > GdkDevice *device; > gdouble x_root, y_root; >}; > >struct _GdkEventButton >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > gdouble x; > gdouble y; > gdouble *axes; > guint state; > guint button; > GdkDevice *device; > gdouble x_root, y_root; >}; > >struct _GdkEventScroll >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > gdouble x; > gdouble y; > guint state; > GdkScrollDirection direction; > GdkDevice *device; > gdouble x_root, y_root; >}; > >struct _GdkEventKey >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > guint state; > guint keyval; > gint length; > gchar *string; > guint16 hardware_keycode; > guint8 group; >}; > >struct _GdkEventCrossing >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkWindow *subwindow; > guint32 time; > gdouble x; > gdouble y; > gdouble x_root; > gdouble y_root; > GdkCrossingMode mode; > GdkNotifyType detail; > gboolean focus; > guint state; >}; > >struct _GdkEventFocus >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > gint16 in; >}; > >struct _GdkEventConfigure >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > gint x, y; > gint width; > gint height; >}; > >struct _GdkEventProperty >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom atom; > guint32 time; > guint state; >}; > >struct _GdkEventSelection >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom selection; > GdkAtom target; > GdkAtom property; > guint32 time; > GdkNativeWindow requestor; >}; > > > > >struct _GdkEventProximity >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > guint32 time; > GdkDevice *device; >}; > >struct _GdkEventClient >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkAtom message_type; > gushort data_format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >}; > >struct _GdkEventSetting >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkSettingAction action; > char *name; >}; > >struct _GdkEventWindowState >{ > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkWindowState changed_mask; > GdkWindowState new_window_state; >}; > > > >struct _GdkEventDND { > GdkEventType type; > GdkWindow *window; > gint8 send_event; > GdkDragContext *context; > > guint32 time; > gshort x_root, y_root; >}; > >union _GdkEvent >{ > GdkEventType type; > GdkEventAny any; > GdkEventExpose expose; > GdkEventNoExpose no_expose; > GdkEventVisibility visibility; > GdkEventMotion motion; > GdkEventButton button; > GdkEventScroll scroll; > GdkEventKey key; > GdkEventCrossing crossing; > GdkEventFocus focus_change; > GdkEventConfigure configure; > GdkEventProperty property; > GdkEventSelection selection; > GdkEventProximity proximity; > GdkEventClient client; > GdkEventDND dnd; > GdkEventWindowState window_state; > GdkEventSetting setting; >}; > >GType gdk_event_get_type (void); > >gboolean gdk_events_pending (void); >GdkEvent* gdk_event_get (void); > >GdkEvent* gdk_event_peek (void); >GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window); >void gdk_event_put (GdkEvent *event); > >GdkEvent* gdk_event_new (GdkEventType type); >GdkEvent* gdk_event_copy (GdkEvent *event); >void gdk_event_free (GdkEvent *event); > >guint32 gdk_event_get_time (GdkEvent *event); >gboolean gdk_event_get_state (GdkEvent *event, > GdkModifierType *state); >gboolean gdk_event_get_coords (GdkEvent *event, > gdouble *x_win, > gdouble *y_win); >gboolean gdk_event_get_root_coords (GdkEvent *event, > gdouble *x_root, > gdouble *y_root); >gboolean gdk_event_get_axis (GdkEvent *event, > GdkAxisUse axis_use, > gdouble *value); >void gdk_event_handler_set (GdkEventFunc func, > gpointer data, > GDestroyNotify notify); > >void gdk_event_set_screen (GdkEvent *event, > GdkScreen *screen); >GdkScreen *gdk_event_get_screen (GdkEvent *event); > >void gdk_set_show_events (gboolean show_events); >gboolean gdk_get_show_events (void); > > >void gdk_add_client_message_filter (GdkAtom message_type, > GdkFilterFunc func, > gpointer data); > >gboolean gdk_setting_get (const gchar *name, > GValue *value); > > > >} ># 29 "/usr/include/gtk-2.0/gdk/gdkdisplay.h" 2 > > >extern "C" { > >typedef struct _GdkDisplayClass GdkDisplayClass; >typedef struct _GdkDisplayPointerHooks GdkDisplayPointerHooks; ># 43 "/usr/include/gtk-2.0/gdk/gdkdisplay.h" >struct _GdkDisplay >{ > GObject parent_instance; > > > GList *queued_events; > GList *queued_tail; > > > > > guint32 button_click_time[2]; > GdkWindow *button_window[2]; > gint button_number[2]; > > guint double_click_time; > GdkDevice *core_pointer; > > const GdkDisplayPointerHooks *pointer_hooks; > > guint closed : 1; > > guint double_click_distance; > gint button_x[2]; > gint button_y[2]; >}; > >struct _GdkDisplayClass >{ > GObjectClass parent_class; > > const gchar * (*get_display_name) (GdkDisplay *display); > gint (*get_n_screens) (GdkDisplay *display); > GdkScreen * (*get_screen) (GdkDisplay *display, > gint screen_num); > GdkScreen * (*get_default_screen) (GdkDisplay *display); > > > > void (*closed) (GdkDisplay *display, > gboolean is_error); >}; > >struct _GdkDisplayPointerHooks >{ > void (*get_pointer) (GdkDisplay *display, > GdkScreen **screen, > gint *x, > gint *y, > GdkModifierType *mask); > GdkWindow* (*window_get_pointer) (GdkDisplay *display, > GdkWindow *window, > gint *x, > gint *y, > GdkModifierType *mask); > GdkWindow* (*window_at_pointer) (GdkDisplay *display, > gint *win_x, > gint *win_y); >}; > >GType gdk_display_get_type (void); >GdkDisplay *gdk_display_open (const gchar *display_name); > >const gchar * gdk_display_get_name (GdkDisplay *display); > >gint gdk_display_get_n_screens (GdkDisplay *display); >GdkScreen * gdk_display_get_screen (GdkDisplay *display, > gint screen_num); >GdkScreen * gdk_display_get_default_screen (GdkDisplay *display); >void gdk_display_pointer_ungrab (GdkDisplay *display, > guint32 time_); >void gdk_display_keyboard_ungrab (GdkDisplay *display, > guint32 time_); >gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display); >void gdk_display_beep (GdkDisplay *display); >void gdk_display_sync (GdkDisplay *display); >void gdk_display_flush (GdkDisplay *display); > >void gdk_display_close (GdkDisplay *display); > >GList * gdk_display_list_devices (GdkDisplay *display); > >GdkEvent* gdk_display_get_event (GdkDisplay *display); >GdkEvent* gdk_display_peek_event (GdkDisplay *display); >void gdk_display_put_event (GdkDisplay *display, > GdkEvent *event); > >void gdk_display_add_client_message_filter (GdkDisplay *display, > GdkAtom message_type, > GdkFilterFunc func, > gpointer data); > >void gdk_display_set_double_click_time (GdkDisplay *display, > guint msec); >void gdk_display_set_double_click_distance (GdkDisplay *display, > guint distance); > >GdkDisplay *gdk_display_get_default (void); > >GdkDevice *gdk_display_get_core_pointer (GdkDisplay *display); > >void gdk_display_get_pointer (GdkDisplay *display, > GdkScreen **screen, > gint *x, > gint *y, > GdkModifierType *mask); >GdkWindow * gdk_display_get_window_at_pointer (GdkDisplay *display, > gint *win_x, > gint *win_y); > >GdkDisplayPointerHooks *gdk_display_set_pointer_hooks (GdkDisplay *display, > const GdkDisplayPointerHooks *new_hooks); > >GdkDisplay *gdk_display_open_default_libgtk_only (void); > >gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display); >gboolean gdk_display_supports_cursor_color (GdkDisplay *display); >guint gdk_display_get_default_cursor_size (GdkDisplay *display); >void gdk_display_get_maximal_cursor_size (GdkDisplay *display, > guint *width, > guint *height); > >GdkWindow *gdk_display_get_default_group (GdkDisplay *display); > >} ># 33 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkdrawable.h" 1 > > > > ># 1 "/usr/include/gtk-2.0/gdk/gdkgc.h" 1 > > > > > > > >extern "C" { > > >typedef struct _GdkGCValues GdkGCValues; >typedef struct _GdkGCClass GdkGCClass; > > > > > > > >typedef enum >{ > GDK_CAP_NOT_LAST, > GDK_CAP_BUTT, > GDK_CAP_ROUND, > GDK_CAP_PROJECTING >} GdkCapStyle; > > > > > > > >typedef enum >{ > GDK_SOLID, > GDK_TILED, > GDK_STIPPLED, > GDK_OPAQUE_STIPPLED >} GdkFill; ># 60 "/usr/include/gtk-2.0/gdk/gdkgc.h" >typedef enum >{ > GDK_COPY, > GDK_INVERT, > GDK_XOR, > GDK_CLEAR, > GDK_AND, > GDK_AND_REVERSE, > GDK_AND_INVERT, > GDK_NOOP, > GDK_OR, > GDK_EQUIV, > GDK_OR_REVERSE, > GDK_COPY_INVERT, > GDK_OR_INVERT, > GDK_NAND, > GDK_NOR, > GDK_SET >} GdkFunction; > > > > > > >typedef enum >{ > GDK_JOIN_MITER, > GDK_JOIN_ROUND, > GDK_JOIN_BEVEL >} GdkJoinStyle; > > > > > > >typedef enum >{ > GDK_LINE_SOLID, > GDK_LINE_ON_OFF_DASH, > GDK_LINE_DOUBLE_DASH >} GdkLineStyle; > >typedef enum >{ > GDK_CLIP_BY_CHILDREN = 0, > GDK_INCLUDE_INFERIORS = 1 >} GdkSubwindowMode; > >typedef enum >{ > GDK_GC_FOREGROUND = 1 << 0, > GDK_GC_BACKGROUND = 1 << 1, > GDK_GC_FONT = 1 << 2, > GDK_GC_FUNCTION = 1 << 3, > GDK_GC_FILL = 1 << 4, > GDK_GC_TILE = 1 << 5, > GDK_GC_STIPPLE = 1 << 6, > GDK_GC_CLIP_MASK = 1 << 7, > GDK_GC_SUBWINDOW = 1 << 8, > GDK_GC_TS_X_ORIGIN = 1 << 9, > GDK_GC_TS_Y_ORIGIN = 1 << 10, > GDK_GC_CLIP_X_ORIGIN = 1 << 11, > GDK_GC_CLIP_Y_ORIGIN = 1 << 12, > GDK_GC_EXPOSURES = 1 << 13, > GDK_GC_LINE_WIDTH = 1 << 14, > GDK_GC_LINE_STYLE = 1 << 15, > GDK_GC_CAP_STYLE = 1 << 16, > GDK_GC_JOIN_STYLE = 1 << 17 >} GdkGCValuesMask; > >struct _GdkGCValues >{ > GdkColor foreground; > GdkColor background; > GdkFont *font; > GdkFunction function; > GdkFill fill; > GdkPixmap *tile; > GdkPixmap *stipple; > GdkPixmap *clip_mask; > GdkSubwindowMode subwindow_mode; > gint ts_x_origin; > gint ts_y_origin; > gint clip_x_origin; > gint clip_y_origin; > gint graphics_exposures; > gint line_width; > GdkLineStyle line_style; > GdkCapStyle cap_style; > GdkJoinStyle join_style; >}; ># 161 "/usr/include/gtk-2.0/gdk/gdkgc.h" >struct _GdkGC >{ > GObject parent_instance; > > gint clip_x_origin; > gint clip_y_origin; > gint ts_x_origin; > gint ts_y_origin; > > GdkColormap *colormap; >}; > >struct _GdkGCClass >{ > GObjectClass parent_class; > > void (*get_values) (GdkGC *gc, > GdkGCValues *values); > void (*set_values) (GdkGC *gc, > GdkGCValues *values, > GdkGCValuesMask mask); > void (*set_dashes) (GdkGC *gc, > gint dash_offset, > gint8 dash_list[], > gint n); > > > void (*_gdk_reserved1) (void); > void (*_gdk_reserved2) (void); > void (*_gdk_reserved3) (void); > void (*_gdk_reserved4) (void); >}; > > >GType gdk_gc_get_type (void) __attribute__((__const__)); >GdkGC *gdk_gc_new (GdkDrawable *drawable); >GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable, > GdkGCValues *values, > GdkGCValuesMask values_mask); > > >GdkGC *gdk_gc_ref (GdkGC *gc); >void gdk_gc_unref (GdkGC *gc); > > >void gdk_gc_get_values (GdkGC *gc, > GdkGCValues *values); >void gdk_gc_set_values (GdkGC *gc, > GdkGCValues *values, > GdkGCValuesMask values_mask); >void gdk_gc_set_foreground (GdkGC *gc, > const GdkColor *color); >void gdk_gc_set_background (GdkGC *gc, > const GdkColor *color); > >void gdk_gc_set_font (GdkGC *gc, > GdkFont *font); > >void gdk_gc_set_function (GdkGC *gc, > GdkFunction function); >void gdk_gc_set_fill (GdkGC *gc, > GdkFill fill); >void gdk_gc_set_tile (GdkGC *gc, > GdkPixmap *tile); >void gdk_gc_set_stipple (GdkGC *gc, > GdkPixmap *stipple); >void gdk_gc_set_ts_origin (GdkGC *gc, > gint x, > gint y); >void gdk_gc_set_clip_origin (GdkGC *gc, > gint x, > gint y); >void gdk_gc_set_clip_mask (GdkGC *gc, > GdkBitmap *mask); >void gdk_gc_set_clip_rectangle (GdkGC *gc, > GdkRectangle *rectangle); >void gdk_gc_set_clip_region (GdkGC *gc, > GdkRegion *region); >void gdk_gc_set_subwindow (GdkGC *gc, > GdkSubwindowMode mode); >void gdk_gc_set_exposures (GdkGC *gc, > gboolean exposures); >void gdk_gc_set_line_attributes (GdkGC *gc, > gint line_width, > GdkLineStyle line_style, > GdkCapStyle cap_style, > GdkJoinStyle join_style); >void gdk_gc_set_dashes (GdkGC *gc, > gint dash_offset, > gint8 dash_list[], > gint n); >void gdk_gc_offset (GdkGC *gc, > gint x_offset, > gint y_offset); >void gdk_gc_copy (GdkGC *dst_gc, > GdkGC *src_gc); > > >void gdk_gc_set_colormap (GdkGC *gc, > GdkColormap *colormap); >GdkColormap *gdk_gc_get_colormap (GdkGC *gc); >void gdk_gc_set_rgb_fg_color (GdkGC *gc, > const GdkColor *color); >void gdk_gc_set_rgb_bg_color (GdkGC *gc, > const GdkColor *color); >GdkScreen * gdk_gc_get_screen (GdkGC *gc); > > > > > > >} ># 6 "/usr/include/gtk-2.0/gdk/gdkdrawable.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkrgb.h" 1 ># 33 "/usr/include/gtk-2.0/gdk/gdkrgb.h" >extern "C" { > > >typedef struct _GdkRgbCmap GdkRgbCmap; > >struct _GdkRgbCmap { > guint32 colors[256]; > gint n_colors; > > > GSList *info_list; >}; > > >void gdk_rgb_init (void); > >gulong gdk_rgb_xpixel_from_rgb (guint32 rgb) __attribute__((__const__)); >void gdk_rgb_gc_set_foreground (GdkGC *gc, > guint32 rgb); >void gdk_rgb_gc_set_background (GdkGC *gc, > guint32 rgb); > > > >void gdk_rgb_find_color (GdkColormap *colormap, > GdkColor *color); > >typedef enum >{ > GDK_RGB_DITHER_NONE, > GDK_RGB_DITHER_NORMAL, > GDK_RGB_DITHER_MAX >} GdkRgbDither; > >void gdk_draw_rgb_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *rgb_buf, > gint rowstride); >void gdk_draw_rgb_image_dithalign (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *rgb_buf, > gint rowstride, > gint xdith, > gint ydith); >void gdk_draw_rgb_32_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride); >void gdk_draw_rgb_32_image_dithalign (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride, > gint xdith, > gint ydith); >void gdk_draw_gray_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride); >void gdk_draw_indexed_image (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > gint width, > gint height, > GdkRgbDither dith, > guchar *buf, > gint rowstride, > GdkRgbCmap *cmap); >GdkRgbCmap *gdk_rgb_cmap_new (guint32 *colors, > gint n_colors); >void gdk_rgb_cmap_free (GdkRgbCmap *cmap); > >void gdk_rgb_set_verbose (gboolean verbose); > > >void gdk_rgb_set_install (gboolean install); >void gdk_rgb_set_min_colors (gint min_colors); > > >GdkColormap *gdk_rgb_get_colormap (void); >GdkVisual * gdk_rgb_get_visual (void); >gboolean gdk_rgb_ditherable (void); > > > >} ># 7 "/usr/include/gtk-2.0/gdk/gdkdrawable.h" 2 > > > >extern "C" { > > >typedef struct _GdkDrawableClass GdkDrawableClass; ># 22 "/usr/include/gtk-2.0/gdk/gdkdrawable.h" >struct _GdkDrawable >{ > GObject parent_instance; >}; > >struct _GdkDrawableClass >{ > GObjectClass parent_class; > > GdkGC *(*create_gc) (GdkDrawable *drawable, > GdkGCValues *values, > GdkGCValuesMask mask); > void (*draw_rectangle) (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > gint x, > gint y, > gint width, > gint height); > void (*draw_arc) (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > gint x, > gint y, > gint width, > gint height, > gint angle1, > gint angle2); > void (*draw_polygon) (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > GdkPoint *points, > gint npoints); > void (*draw_text) (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const gchar *text, > gint text_length); > void (*draw_text_wc) (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const GdkWChar *text, > gint text_length); > void (*draw_drawable) (GdkDrawable *drawable, > GdkGC *gc, > GdkDrawable *src, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); > void (*draw_points) (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); > void (*draw_segments) (GdkDrawable *drawable, > GdkGC *gc, > GdkSegment *segs, > gint nsegs); > void (*draw_lines) (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); > > void (*draw_glyphs) (GdkDrawable *drawable, > GdkGC *gc, > PangoFont *font, > gint x, > gint y, > PangoGlyphString *glyphs); > > void (*draw_image) (GdkDrawable *drawable, > GdkGC *gc, > GdkImage *image, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); > > gint (*get_depth) (GdkDrawable *drawable); > void (*get_size) (GdkDrawable *drawable, > gint *width, > gint *height); > > void (*set_colormap) (GdkDrawable *drawable, > GdkColormap *cmap); > > GdkColormap* (*get_colormap) (GdkDrawable *drawable); > GdkVisual* (*get_visual) (GdkDrawable *drawable); > GdkScreen* (*get_screen) (GdkDrawable *drawable); > > GdkImage* (*get_image) (GdkDrawable *drawable, > gint x, > gint y, > gint width, > gint height); > > GdkRegion* (*get_clip_region) (GdkDrawable *drawable); > GdkRegion* (*get_visible_region) (GdkDrawable *drawable); > > GdkDrawable* (*get_composite_drawable) (GdkDrawable *drawable, > gint x, > gint y, > gint width, > gint height, > gint *composite_x_offset, > gint *composite_y_offset); > > void (*draw_pixbuf) (GdkDrawable *drawable, > GdkGC *gc, > GdkPixbuf *pixbuf, > gint src_x, > gint src_y, > gint dest_x, > gint dest_y, > gint width, > gint height, > GdkRgbDither dither, > gint x_dither, > gint y_dither); > GdkImage* (*_copy_to_image) (GdkDrawable *drawable, > GdkImage *image, > gint src_x, > gint src_y, > gint dest_x, > gint dest_y, > gint width, > gint height); > > > void (*_gdk_reserved1) (void); > void (*_gdk_reserved2) (void); > void (*_gdk_reserved3) (void); > void (*_gdk_reserved4) (void); > void (*_gdk_reserved5) (void); > void (*_gdk_reserved6) (void); > void (*_gdk_reserved7) (void); > void (*_gdk_reserved9) (void); > void (*_gdk_reserved10) (void); > void (*_gdk_reserved11) (void); > void (*_gdk_reserved12) (void); > void (*_gdk_reserved13) (void); > void (*_gdk_reserved14) (void); > void (*_gdk_reserved15) (void); > void (*_gdk_reserved16) (void); >}; > >GType gdk_drawable_get_type (void); > > > > > >void gdk_drawable_set_data (GdkDrawable *drawable, > const gchar *key, > gpointer data, > GDestroyNotify destroy_func); >gpointer gdk_drawable_get_data (GdkDrawable *drawable, > const gchar *key); > > >void gdk_drawable_get_size (GdkDrawable *drawable, > gint *width, > gint *height); >void gdk_drawable_set_colormap (GdkDrawable *drawable, > GdkColormap *colormap); >GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable); >GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable); >gint gdk_drawable_get_depth (GdkDrawable *drawable); >GdkScreen* gdk_drawable_get_screen (GdkDrawable *drawable); >GdkDisplay* gdk_drawable_get_display (GdkDrawable *drawable); > > >GdkDrawable* gdk_drawable_ref (GdkDrawable *drawable); >void gdk_drawable_unref (GdkDrawable *drawable); > > > > >void gdk_draw_point (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y); >void gdk_draw_line (GdkDrawable *drawable, > GdkGC *gc, > gint x1_, > gint y1_, > gint x2_, > gint y2_); >void gdk_draw_rectangle (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > gint x, > gint y, > gint width, > gint height); >void gdk_draw_arc (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > gint x, > gint y, > gint width, > gint height, > gint angle1, > gint angle2); >void gdk_draw_polygon (GdkDrawable *drawable, > GdkGC *gc, > gboolean filled, > GdkPoint *points, > gint npoints); > > >void gdk_draw_string (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const gchar *string); > > > >void gdk_draw_text (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const gchar *text, > gint text_length); > >void gdk_draw_text_wc (GdkDrawable *drawable, > GdkFont *font, > GdkGC *gc, > gint x, > gint y, > const GdkWChar *text, > gint text_length); > >void gdk_draw_drawable (GdkDrawable *drawable, > GdkGC *gc, > GdkDrawable *src, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); >void gdk_draw_image (GdkDrawable *drawable, > GdkGC *gc, > GdkImage *image, > gint xsrc, > gint ysrc, > gint xdest, > gint ydest, > gint width, > gint height); >void gdk_draw_points (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); >void gdk_draw_segments (GdkDrawable *drawable, > GdkGC *gc, > GdkSegment *segs, > gint nsegs); >void gdk_draw_lines (GdkDrawable *drawable, > GdkGC *gc, > GdkPoint *points, > gint npoints); >void gdk_draw_pixbuf (GdkDrawable *drawable, > GdkGC *gc, > GdkPixbuf *pixbuf, > gint src_x, > gint src_y, > gint dest_x, > gint dest_y, > gint width, > gint height, > GdkRgbDither dither, > gint x_dither, > gint y_dither); > >void gdk_draw_glyphs (GdkDrawable *drawable, > GdkGC *gc, > PangoFont *font, > gint x, > gint y, > PangoGlyphString *glyphs); >void gdk_draw_layout_line (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > PangoLayoutLine *line); >void gdk_draw_layout (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > PangoLayout *layout); > >void gdk_draw_layout_line_with_colors (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > PangoLayoutLine *line, > const GdkColor *foreground, > const GdkColor *background); >void gdk_draw_layout_with_colors (GdkDrawable *drawable, > GdkGC *gc, > gint x, > gint y, > PangoLayout *layout, > const GdkColor *foreground, > const GdkColor *background); > > > > > > >GdkImage* gdk_drawable_get_image (GdkDrawable *drawable, > gint x, > gint y, > gint width, > gint height); >GdkImage *gdk_drawable_copy_to_image (GdkDrawable *drawable, > GdkImage *image, > gint src_x, > gint src_y, > gint dest_x, > gint dest_y, > gint width, > gint height); > >GdkRegion *gdk_drawable_get_clip_region (GdkDrawable *drawable); >GdkRegion *gdk_drawable_get_visible_region (GdkDrawable *drawable); > > >} ># 35 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkenumtypes.h" 1 ># 9 "/usr/include/gtk-2.0/gdk/gdkenumtypes.h" >extern "C" { > > > >GType gdk_cursor_type_get_type (void); > > > > >GType gdk_drag_action_get_type (void); > > >GType gdk_drag_protocol_get_type (void); > > > > >GType gdk_filter_return_get_type (void); > > >GType gdk_event_type_get_type (void); > > >GType gdk_event_mask_get_type (void); > > >GType gdk_visibility_state_get_type (void); > > >GType gdk_scroll_direction_get_type (void); > > >GType gdk_notify_type_get_type (void); > > >GType gdk_crossing_mode_get_type (void); > > >GType gdk_property_state_get_type (void); > > >GType gdk_window_state_get_type (void); > > >GType gdk_setting_action_get_type (void); > > > > >GType gdk_font_type_get_type (void); > > > > >GType gdk_cap_style_get_type (void); > > >GType gdk_fill_get_type (void); > > >GType gdk_function_get_type (void); > > >GType gdk_join_style_get_type (void); > > >GType gdk_line_style_get_type (void); > > >GType gdk_subwindow_mode_get_type (void); > > >GType gdk_gc_values_mask_get_type (void); > > > > >GType gdk_image_type_get_type (void); > > > > >GType gdk_extension_mode_get_type (void); > > >GType gdk_input_source_get_type (void); > > >GType gdk_input_mode_get_type (void); > > >GType gdk_axis_use_get_type (void); > > > > >GType gdk_prop_mode_get_type (void); > > > > >GType gdk_fill_rule_get_type (void); > > >GType gdk_overlap_type_get_type (void); > > > > >GType gdk_rgb_dither_get_type (void); > > > > >GType gdk_byte_order_get_type (void); > > >GType gdk_modifier_type_get_type (void); > > >GType gdk_input_condition_get_type (void); > > >GType gdk_status_get_type (void); > > >GType gdk_grab_status_get_type (void); > > > > >GType gdk_visual_type_get_type (void); > > > > >GType gdk_window_class_get_type (void); > > >GType gdk_window_type_get_type (void); > > >GType gdk_window_attributes_type_get_type (void); > > >GType gdk_window_hints_get_type (void); > > >GType gdk_window_type_hint_get_type (void); > > >GType gdk_wm_decoration_get_type (void); > > >GType gdk_wm_function_get_type (void); > > >GType gdk_gravity_get_type (void); > > >GType gdk_window_edge_get_type (void); > > >} ># 36 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkfont.h" 1 ># 10 "/usr/include/gtk-2.0/gdk/gdkfont.h" >extern "C" { ># 19 "/usr/include/gtk-2.0/gdk/gdkfont.h" >typedef enum >{ > GDK_FONT_FONT, > GDK_FONT_FONTSET >} GdkFontType; > >struct _GdkFont >{ > GdkFontType type; > gint ascent; > gint descent; >}; > >GType gdk_font_get_type (void); > >GdkFont* gdk_font_ref (GdkFont *font); >void gdk_font_unref (GdkFont *font); >gint gdk_font_id (const GdkFont *font); >gboolean gdk_font_equal (const GdkFont *fonta, > const GdkFont *fontb); > >GdkFont *gdk_font_load_for_display (GdkDisplay *display, > const gchar *font_name); >GdkFont *gdk_fontset_load_for_display (GdkDisplay *display, > const gchar *fontset_name); >GdkFont *gdk_font_from_description_for_display (GdkDisplay *display, > PangoFontDescription *font_desc); > > > > >GdkFont* gdk_font_load (const gchar *font_name); >GdkFont* gdk_fontset_load (const gchar *fontset_name); >GdkFont* gdk_font_from_description (PangoFontDescription *font_desc); > > >gint gdk_string_width (GdkFont *font, > const gchar *string); >gint gdk_text_width (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_text_width_wc (GdkFont *font, > const GdkWChar *text, > gint text_length); >gint gdk_char_width (GdkFont *font, > gchar character); >gint gdk_char_width_wc (GdkFont *font, > GdkWChar character); >gint gdk_string_measure (GdkFont *font, > const gchar *string); >gint gdk_text_measure (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_char_measure (GdkFont *font, > gchar character); >gint gdk_string_height (GdkFont *font, > const gchar *string); >gint gdk_text_height (GdkFont *font, > const gchar *text, > gint text_length); >gint gdk_char_height (GdkFont *font, > gchar character); > >void gdk_text_extents (GdkFont *font, > const gchar *text, > gint text_length, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); >void gdk_text_extents_wc (GdkFont *font, > const GdkWChar *text, > gint text_length, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); >void gdk_string_extents (GdkFont *font, > const gchar *string, > gint *lbearing, > gint *rbearing, > gint *width, > gint *ascent, > gint *descent); > >GdkDisplay * gdk_font_get_display (GdkFont *font); > > > > >} ># 38 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkimage.h" 1 > > > > > > >extern "C" { ># 21 "/usr/include/gtk-2.0/gdk/gdkimage.h" >typedef enum >{ > GDK_IMAGE_NORMAL, > GDK_IMAGE_SHARED, > GDK_IMAGE_FASTEST >} GdkImageType; > >typedef struct _GdkImageClass GdkImageClass; ># 37 "/usr/include/gtk-2.0/gdk/gdkimage.h" >struct _GdkImage >{ > GObject parent_instance; > > > > GdkImageType type; > GdkVisual *visual; > GdkByteOrder byte_order; > gint width; > gint height; > guint16 depth; > guint16 bpp; > guint16 bpl; > guint16 bits_per_pixel; > gpointer mem; > > GdkColormap *colormap; > > gpointer windowing_data; >}; > >struct _GdkImageClass >{ > GObjectClass parent_class; >}; > >GType gdk_image_get_type (void) __attribute__((__const__)); > >GdkImage* gdk_image_new (GdkImageType type, > GdkVisual *visual, > gint width, > gint height); > > >GdkImage* gdk_image_get (GdkDrawable *drawable, > gint x, > gint y, > gint width, > gint height); > >GdkImage * gdk_image_ref (GdkImage *image); >void gdk_image_unref (GdkImage *image); > > >void gdk_image_put_pixel (GdkImage *image, > gint x, > gint y, > guint32 pixel); >guint32 gdk_image_get_pixel (GdkImage *image, > gint x, > gint y); > >void gdk_image_set_colormap (GdkImage *image, > GdkColormap *colormap); >GdkColormap* gdk_image_get_colormap (GdkImage *image); ># 107 "/usr/include/gtk-2.0/gdk/gdkimage.h" >} ># 40 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkkeys.h" 1 ># 33 "/usr/include/gtk-2.0/gdk/gdkkeys.h" >extern "C" { > > >typedef struct _GdkKeymapKey GdkKeymapKey; > > >struct _GdkKeymapKey >{ > guint keycode; > gint group; > gint level; >}; ># 54 "/usr/include/gtk-2.0/gdk/gdkkeys.h" >typedef struct _GdkKeymap GdkKeymap; >typedef struct _GdkKeymapClass GdkKeymapClass; ># 64 "/usr/include/gtk-2.0/gdk/gdkkeys.h" >struct _GdkKeymap >{ > GObject parent_instance; > GdkDisplay *display; >}; > >struct _GdkKeymapClass >{ > GObjectClass parent_class; > > void (*direction_changed) (GdkKeymap *keymap); > void (*keys_changed) (GdkKeymap *keymap); >}; > >GType gdk_keymap_get_type (void) __attribute__((__const__)); > > >GdkKeymap* gdk_keymap_get_default (void); > >GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display); > > >guint gdk_keymap_lookup_key (GdkKeymap *keymap, > const GdkKeymapKey *key); >gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap, > guint hardware_keycode, > GdkModifierType state, > gint group, > guint *keyval, > gint *effective_group, > gint *level, > GdkModifierType *consumed_modifiers); >gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap, > guint keyval, > GdkKeymapKey **keys, > gint *n_keys); >gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap, > guint hardware_keycode, > GdkKeymapKey **keys, > guint **keyvals, > gint *n_entries); >PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap); > > > >gchar* gdk_keyval_name (guint keyval) __attribute__((__const__)); >guint gdk_keyval_from_name (const gchar *keyval_name); >void gdk_keyval_convert_case (guint symbol, > guint *lower, > guint *upper); >guint gdk_keyval_to_upper (guint keyval) __attribute__((__const__)); >guint gdk_keyval_to_lower (guint keyval) __attribute__((__const__)); >gboolean gdk_keyval_is_upper (guint keyval) __attribute__((__const__)); >gboolean gdk_keyval_is_lower (guint keyval) __attribute__((__const__)); > >guint32 gdk_keyval_to_unicode (guint keyval) __attribute__((__const__)); >guint gdk_unicode_to_keyval (guint32 wc) __attribute__((__const__)); > > > >} ># 42 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h" 1 ># 33 "/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h" >extern "C" { > >typedef struct _GdkDisplayManager GdkDisplayManager; >typedef struct _GdkDisplayManagerClass GdkDisplayManagerClass; ># 45 "/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h" >struct _GdkDisplayManagerClass >{ > GObjectClass parent_class; > > void (*display_opened) (GdkDisplayManager *display_manager, > GdkDisplay *display); >}; > >GType gdk_display_manager_get_type (void) __attribute__((__const__)); > >GdkDisplayManager *gdk_display_manager_get (void); >GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *display_manager); >void gdk_display_manager_set_default_display (GdkDisplayManager *display_manager, > GdkDisplay *display); >GSList * gdk_display_manager_list_displays (GdkDisplayManager *display_manager); > >} ># 43 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkpango.h" 1 ># 26 "/usr/include/gtk-2.0/gdk/gdkpango.h" >extern "C" { > > > > >PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen); > >PangoContext *gdk_pango_context_get (void); > >void gdk_pango_context_set_colormap (PangoContext *context, > GdkColormap *colormap); ># 45 "/usr/include/gtk-2.0/gdk/gdkpango.h" >GdkRegion *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, > gint x_origin, > gint y_origin, > gint *index_ranges, > gint n_ranges); >GdkRegion *gdk_pango_layout_get_clip_region (PangoLayout *layout, > gint x_origin, > gint y_origin, > gint *index_ranges, > gint n_ranges); > > > > > >typedef struct _GdkPangoAttrStipple GdkPangoAttrStipple; >typedef struct _GdkPangoAttrEmbossed GdkPangoAttrEmbossed; > >struct _GdkPangoAttrStipple >{ > PangoAttribute attr; > GdkBitmap *stipple; >}; > >struct _GdkPangoAttrEmbossed >{ > PangoAttribute attr; > gboolean embossed; >}; > >PangoAttribute *gdk_pango_attr_stipple_new (GdkBitmap *stipple); >PangoAttribute *gdk_pango_attr_embossed_new (gboolean embossed); > > >} ># 44 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkpixbuf.h" 1 ># 9 "/usr/include/gtk-2.0/gdk/gdkpixbuf.h" >extern "C" { > > > > >void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf, > GdkBitmap *bitmap, > int src_x, > int src_y, > int dest_x, > int dest_y, > int width, > int height, > int alpha_threshold); > >void gdk_pixbuf_render_to_drawable (GdkPixbuf *pixbuf, > GdkDrawable *drawable, > GdkGC *gc, > int src_x, > int src_y, > int dest_x, > int dest_y, > int width, > int height, > GdkRgbDither dither, > int x_dither, > int y_dither); >void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf, > GdkDrawable *drawable, > int src_x, > int src_y, > int dest_x, > int dest_y, > int width, > int height, > GdkPixbufAlphaMode alpha_mode, > int alpha_threshold, > GdkRgbDither dither, > int x_dither, > int y_dither); > >void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf, > GdkColormap *colormap, > GdkPixmap **pixmap_return, > GdkBitmap **mask_return, > int alpha_threshold); > >void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf, > GdkPixmap **pixmap_return, > GdkBitmap **mask_return, > int alpha_threshold); > > > > >GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, > GdkDrawable *src, > GdkColormap *cmap, > int src_x, > int src_y, > int dest_x, > int dest_y, > int width, > int height); > >GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest, > GdkImage *src, > GdkColormap *cmap, > int src_x, > int src_y, > int dest_x, > int dest_y, > int width, > int height); > > >} ># 45 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkpixmap.h" 1 > > > > > > > >extern "C" { > > >typedef struct _GdkPixmapObject GdkPixmapObject; >typedef struct _GdkPixmapObjectClass GdkPixmapObjectClass; ># 22 "/usr/include/gtk-2.0/gdk/gdkpixmap.h" >struct _GdkPixmapObject >{ > GdkDrawable parent_instance; > > GdkDrawable *impl; > > gint depth; >}; > >struct _GdkPixmapObjectClass >{ > GdkDrawableClass parent_class; > >}; > >GType gdk_pixmap_get_type (void) __attribute__((__const__)); > > > >GdkPixmap* gdk_pixmap_new (GdkDrawable *drawable, > gint width, > gint height, > gint depth); >GdkBitmap* gdk_bitmap_create_from_data (GdkDrawable *drawable, > const gchar *data, > gint width, > gint height); >GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable, > const gchar *data, > gint width, > gint height, > gint depth, > const GdkColor *fg, > const GdkColor *bg); > >GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable, > GdkBitmap **mask, > const GdkColor *transparent_color, > const gchar *filename); >GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable, > GdkColormap *colormap, > GdkBitmap **mask, > const GdkColor *transparent_color, > const gchar *filename); >GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkDrawable *drawable, > GdkBitmap **mask, > const GdkColor *transparent_color, > gchar **data); >GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable, > GdkColormap *colormap, > GdkBitmap **mask, > const GdkColor *transparent_color, > gchar **data); > > > > >GdkPixmap* gdk_pixmap_foreign_new (GdkNativeWindow anid); >GdkPixmap* gdk_pixmap_lookup (GdkNativeWindow anid); > > >GdkPixmap* gdk_pixmap_foreign_new_for_display (GdkDisplay *display, > GdkNativeWindow anid); >GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display, > GdkNativeWindow anid); ># 96 "/usr/include/gtk-2.0/gdk/gdkpixmap.h" >} ># 46 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkproperty.h" 1 > > > > > > >extern "C" { > > >typedef enum >{ > GDK_PROP_MODE_REPLACE, > GDK_PROP_MODE_PREPEND, > GDK_PROP_MODE_APPEND >} GdkPropMode; > >GdkAtom gdk_atom_intern (const gchar *atom_name, > gboolean only_if_exists); >gchar* gdk_atom_name (GdkAtom atom); > >gboolean gdk_property_get (GdkWindow *window, > GdkAtom property, > GdkAtom type, > gulong offset, > gulong length, > gint pdelete, > GdkAtom *actual_property_type, > gint *actual_format, > gint *actual_length, > guchar **data); >void gdk_property_change (GdkWindow *window, > GdkAtom property, > GdkAtom type, > gint format, > GdkPropMode mode, > const guchar *data, > gint nelements); >void gdk_property_delete (GdkWindow *window, > GdkAtom property); > >gint gdk_text_property_to_text_list (GdkAtom encoding, > gint format, > const guchar *text, > gint length, > gchar ***list); >gint gdk_text_property_to_utf8_list (GdkAtom encoding, > gint format, > const guchar *text, > gint length, > gchar ***list); >gboolean gdk_utf8_to_compound_text (const gchar *str, > GdkAtom *encoding, > gint *format, > guchar **ctext, > gint *length); >gint gdk_string_to_compound_text (const gchar *str, > GdkAtom *encoding, > gint *format, > guchar **ctext, > gint *length); > > >gint gdk_text_property_to_text_list_for_display (GdkDisplay *display, > GdkAtom encoding, > gint format, > const guchar *text, > gint length, > gchar ***list); >gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display, > GdkAtom encoding, > gint format, > const guchar *text, > gint length, > gchar ***list); > >gchar *gdk_utf8_to_string_target (const gchar *str); >gint gdk_string_to_compound_text_for_display (GdkDisplay *display, > const gchar *str, > GdkAtom *encoding, > gint *format, > guchar **ctext, > gint *length); >gboolean gdk_utf8_to_compound_text_for_display (GdkDisplay *display, > const gchar *str, > GdkAtom *encoding, > gint *format, > guchar **ctext, > gint *length); > >void gdk_free_text_list (gchar **list); >void gdk_free_compound_text (guchar *ctext); > > >} ># 47 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkregion.h" 1 > > > > > > >extern "C" { > > > > > > >typedef enum >{ > GDK_EVEN_ODD_RULE, > GDK_WINDING_RULE >} GdkFillRule; > > > > > > >typedef enum >{ > GDK_OVERLAP_RECTANGLE_IN, > GDK_OVERLAP_RECTANGLE_OUT, > GDK_OVERLAP_RECTANGLE_PART >} GdkOverlapType; > >typedef void (*GdkSpanFunc) (GdkSpan *span, > gpointer data); > >GdkRegion *gdk_region_new (void); >GdkRegion *gdk_region_polygon (GdkPoint *points, > gint npoints, > GdkFillRule fill_rule); >GdkRegion *gdk_region_copy (GdkRegion *region); >GdkRegion *gdk_region_rectangle (GdkRectangle *rectangle); >void gdk_region_destroy (GdkRegion *region); > >void gdk_region_get_clipbox (GdkRegion *region, > GdkRectangle *rectangle); >void gdk_region_get_rectangles (GdkRegion *region, > GdkRectangle **rectangles, > gint *n_rectangles); > >gboolean gdk_region_empty (GdkRegion *region); >gboolean gdk_region_equal (GdkRegion *region1, > GdkRegion *region2); >gboolean gdk_region_point_in (GdkRegion *region, > int x, > int y); >GdkOverlapType gdk_region_rect_in (GdkRegion *region, > GdkRectangle *rect); > >void gdk_region_offset (GdkRegion *region, > gint dx, > gint dy); >void gdk_region_shrink (GdkRegion *region, > gint dx, > gint dy); >void gdk_region_union_with_rect (GdkRegion *region, > GdkRectangle *rect); >void gdk_region_intersect (GdkRegion *source1, > GdkRegion *source2); >void gdk_region_union (GdkRegion *source1, > GdkRegion *source2); >void gdk_region_subtract (GdkRegion *source1, > GdkRegion *source2); >void gdk_region_xor (GdkRegion *source1, > GdkRegion *source2); > >void gdk_region_spans_intersect_foreach (GdkRegion *region, > GdkSpan *spans, > int n_spans, > gboolean sorted, > GdkSpanFunc function, > gpointer data); > > >} ># 48 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkscreen.h" 1 ># 30 "/usr/include/gtk-2.0/gdk/gdkscreen.h" >extern "C" { > >typedef struct _GdkScreenClass GdkScreenClass; ># 41 "/usr/include/gtk-2.0/gdk/gdkscreen.h" >struct _GdkScreen >{ > GObject parent_instance; > > guint closed : 1; > > GdkGC *normal_gcs[32]; > GdkGC *exposure_gcs[32]; >}; > >struct _GdkScreenClass >{ > GObjectClass parent_class; > > void (*size_changed) (GdkScreen *screen); >}; > >GType gdk_screen_get_type (void); >GdkColormap *gdk_screen_get_default_colormap (GdkScreen *screen); >void gdk_screen_set_default_colormap (GdkScreen *screen, > GdkColormap *colormap); >GdkColormap* gdk_screen_get_system_colormap (GdkScreen *screen); >GdkVisual* gdk_screen_get_system_visual (GdkScreen *screen); >GdkColormap *gdk_screen_get_rgb_colormap (GdkScreen *screen); >GdkVisual * gdk_screen_get_rgb_visual (GdkScreen *screen); > >GdkWindow * gdk_screen_get_root_window (GdkScreen *screen); >GdkDisplay * gdk_screen_get_display (GdkScreen *screen); >gint gdk_screen_get_number (GdkScreen *screen); >gint gdk_screen_get_width (GdkScreen *screen); >gint gdk_screen_get_height (GdkScreen *screen); >gint gdk_screen_get_width_mm (GdkScreen *screen); >gint gdk_screen_get_height_mm (GdkScreen *screen); > >GList * gdk_screen_list_visuals (GdkScreen *screen); >GList * gdk_screen_get_toplevel_windows (GdkScreen *screen); >gchar * gdk_screen_make_display_name (GdkScreen *screen); > >gint gdk_screen_get_n_monitors (GdkScreen *screen); >void gdk_screen_get_monitor_geometry (GdkScreen *screen, > gint monitor_num, > GdkRectangle *dest); >gint gdk_screen_get_monitor_at_point (GdkScreen *screen, > gint x, > gint y); >gint gdk_screen_get_monitor_at_window (GdkScreen *screen, > GdkWindow *window); > >void gdk_screen_broadcast_client_message (GdkScreen *screen, > GdkEvent *event); > >GdkScreen *gdk_screen_get_default (void); > >gboolean gdk_screen_get_setting (GdkScreen *screen, > const gchar *name, > GValue *value); > >} ># 50 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkselection.h" 1 > > > > > > >extern "C" { ># 32 "/usr/include/gtk-2.0/gdk/gdkselection.h" >typedef GdkAtom GdkSelection; >typedef GdkAtom GdkTarget; >typedef GdkAtom GdkSelectionType; > > > > > > > >gboolean gdk_selection_owner_set (GdkWindow *owner, > GdkAtom selection, > guint32 time_, > gboolean send_event); >GdkWindow* gdk_selection_owner_get (GdkAtom selection); > > >gboolean gdk_selection_owner_set_for_display (GdkDisplay *display, > GdkWindow *owner, > GdkAtom selection, > guint32 time_, > gboolean send_event); >GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display, > GdkAtom selection); > >void gdk_selection_convert (GdkWindow *requestor, > GdkAtom selection, > GdkAtom target, > guint32 time_); >gboolean gdk_selection_property_get (GdkWindow *requestor, > guchar **data, > GdkAtom *prop_type, > gint *prop_format); > > >void gdk_selection_send_notify (guint32 requestor, > GdkAtom selection, > GdkAtom target, > GdkAtom property, > guint32 time_); > > >void gdk_selection_send_notify_for_display (GdkDisplay *display, > guint32 requestor, > GdkAtom selection, > GdkAtom target, > GdkAtom property, > guint32 time_); > > >} ># 51 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkspawn.h" 1 ># 28 "/usr/include/gtk-2.0/gdk/gdkspawn.h" >extern "C" { > >gboolean gdk_spawn_on_screen (GdkScreen *screen, > const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > gint *child_pid, > GError **error); > >gboolean gdk_spawn_on_screen_with_pipes (GdkScreen *screen, > const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > gint *child_pid, > gint *standard_input, > gint *standard_output, > gint *standard_error, > GError **error); > >gboolean gdk_spawn_command_line_on_screen (GdkScreen *screen, > const gchar *command_line, > GError **error); > >} ># 52 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > ># 1 "/usr/include/gtk-2.0/gdk/gdkvisual.h" 1 > > > > > >extern "C" { ># 15 "/usr/include/gtk-2.0/gdk/gdkvisual.h" >typedef struct _GdkVisualClass GdkVisualClass; ># 25 "/usr/include/gtk-2.0/gdk/gdkvisual.h" >typedef enum >{ > GDK_VISUAL_STATIC_GRAY, > GDK_VISUAL_GRAYSCALE, > GDK_VISUAL_STATIC_COLOR, > GDK_VISUAL_PSEUDO_COLOR, > GDK_VISUAL_TRUE_COLOR, > GDK_VISUAL_DIRECT_COLOR >} GdkVisualType; ># 47 "/usr/include/gtk-2.0/gdk/gdkvisual.h" >struct _GdkVisual >{ > GObject parent_instance; > > GdkVisualType type; > gint depth; > GdkByteOrder byte_order; > gint colormap_size; > gint bits_per_rgb; > > guint32 red_mask; > gint red_shift; > gint red_prec; > > guint32 green_mask; > gint green_shift; > gint green_prec; > > guint32 blue_mask; > gint blue_shift; > gint blue_prec; >}; > >GType gdk_visual_get_type (void); > > >gint gdk_visual_get_best_depth (void); >GdkVisualType gdk_visual_get_best_type (void); >GdkVisual* gdk_visual_get_system (void); >GdkVisual* gdk_visual_get_best (void); >GdkVisual* gdk_visual_get_best_with_depth (gint depth); >GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type); >GdkVisual* gdk_visual_get_best_with_both (gint depth, > GdkVisualType visual_type); > >void gdk_query_depths (gint **depths, > gint *count); >void gdk_query_visual_types (GdkVisualType **visual_types, > gint *count); > >GList* gdk_list_visuals (void); > > >GdkScreen *gdk_visual_get_screen (GdkVisual *visual); > > > > > > >} ># 54 "/usr/include/gtk-2.0/gdk/gdk.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkwindow.h" 1 ># 9 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >extern "C" { > > >typedef struct _GdkGeometry GdkGeometry; >typedef struct _GdkWindowAttr GdkWindowAttr; >typedef struct _GdkPointerHooks GdkPointerHooks; ># 25 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >typedef enum >{ > GDK_INPUT_OUTPUT, > GDK_INPUT_ONLY >} GdkWindowClass; ># 44 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >typedef enum >{ > GDK_WINDOW_ROOT, > GDK_WINDOW_TOPLEVEL, > GDK_WINDOW_CHILD, > GDK_WINDOW_DIALOG, > GDK_WINDOW_TEMP, > GDK_WINDOW_FOREIGN >} GdkWindowType; ># 62 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >typedef enum >{ > GDK_WA_TITLE = 1 << 1, > GDK_WA_X = 1 << 2, > GDK_WA_Y = 1 << 3, > GDK_WA_CURSOR = 1 << 4, > GDK_WA_COLORMAP = 1 << 5, > GDK_WA_VISUAL = 1 << 6, > GDK_WA_WMCLASS = 1 << 7, > GDK_WA_NOREDIR = 1 << 8 >} GdkWindowAttributesType; > > > >typedef enum >{ > GDK_HINT_POS = 1 << 0, > GDK_HINT_MIN_SIZE = 1 << 1, > GDK_HINT_MAX_SIZE = 1 << 2, > GDK_HINT_BASE_SIZE = 1 << 3, > GDK_HINT_ASPECT = 1 << 4, > GDK_HINT_RESIZE_INC = 1 << 5, > GDK_HINT_WIN_GRAVITY = 1 << 6, > GDK_HINT_USER_POS = 1 << 7, > GDK_HINT_USER_SIZE = 1 << 8 >} GdkWindowHints; ># 102 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >typedef enum >{ > GDK_WINDOW_TYPE_HINT_NORMAL, > GDK_WINDOW_TYPE_HINT_DIALOG, > GDK_WINDOW_TYPE_HINT_MENU, > GDK_WINDOW_TYPE_HINT_TOOLBAR, > GDK_WINDOW_TYPE_HINT_SPLASHSCREEN, > GDK_WINDOW_TYPE_HINT_UTILITY, > GDK_WINDOW_TYPE_HINT_DOCK, > GDK_WINDOW_TYPE_HINT_DESKTOP >} GdkWindowTypeHint; > > > > > > > >typedef enum >{ > GDK_DECOR_ALL = 1 << 0, > GDK_DECOR_BORDER = 1 << 1, > GDK_DECOR_RESIZEH = 1 << 2, > GDK_DECOR_TITLE = 1 << 3, > GDK_DECOR_MENU = 1 << 4, > GDK_DECOR_MINIMIZE = 1 << 5, > GDK_DECOR_MAXIMIZE = 1 << 6 >} GdkWMDecoration; > >typedef enum >{ > GDK_FUNC_ALL = 1 << 0, > GDK_FUNC_RESIZE = 1 << 1, > GDK_FUNC_MOVE = 1 << 2, > GDK_FUNC_MINIMIZE = 1 << 3, > GDK_FUNC_MAXIMIZE = 1 << 4, > GDK_FUNC_CLOSE = 1 << 5 >} GdkWMFunction; > > > > > >typedef enum >{ > GDK_GRAVITY_NORTH_WEST = 1, > GDK_GRAVITY_NORTH, > GDK_GRAVITY_NORTH_EAST, > GDK_GRAVITY_WEST, > GDK_GRAVITY_CENTER, > GDK_GRAVITY_EAST, > GDK_GRAVITY_SOUTH_WEST, > GDK_GRAVITY_SOUTH, > GDK_GRAVITY_SOUTH_EAST, > GDK_GRAVITY_STATIC >} GdkGravity; > > >typedef enum >{ > GDK_WINDOW_EDGE_NORTH_WEST, > GDK_WINDOW_EDGE_NORTH, > GDK_WINDOW_EDGE_NORTH_EAST, > GDK_WINDOW_EDGE_WEST, > GDK_WINDOW_EDGE_EAST, > GDK_WINDOW_EDGE_SOUTH_WEST, > GDK_WINDOW_EDGE_SOUTH, > GDK_WINDOW_EDGE_SOUTH_EAST >} GdkWindowEdge; > >struct _GdkWindowAttr >{ > gchar *title; > gint event_mask; > gint x, y; > gint width; > gint height; > GdkWindowClass wclass; > GdkVisual *visual; > GdkColormap *colormap; > GdkWindowType window_type; > GdkCursor *cursor; > gchar *wmclass_name; > gchar *wmclass_class; > gboolean override_redirect; >}; > >struct _GdkGeometry >{ > gint min_width; > gint min_height; > gint max_width; > gint max_height; > gint base_width; > gint base_height; > gint width_inc; > gint height_inc; > gdouble min_aspect; > gdouble max_aspect; > GdkGravity win_gravity; >}; > >struct _GdkPointerHooks >{ > GdkWindow* (*get_pointer) (GdkWindow *window, > gint *x, > gint *y, > GdkModifierType *mask); > GdkWindow* (*window_at_pointer) (GdkScreen *screen, > gint *win_x, > gint *win_y); >}; > >typedef struct _GdkWindowObject GdkWindowObject; >typedef struct _GdkWindowObjectClass GdkWindowObjectClass; ># 226 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >struct _GdkWindowObject >{ > GdkDrawable parent_instance; > > GdkDrawable *impl; > > GdkWindowObject *parent; > > gpointer user_data; > > gint x; > gint y; > > gint extension_events; > > GList *filters; > GList *children; > > GdkColor bg_color; > GdkPixmap *bg_pixmap; > > GSList *paint_stack; > > GdkRegion *update_area; > guint update_freeze_count; > > guint8 window_type; > guint8 depth; > guint8 resize_count; > > GdkWindowState state; > > guint guffaw_gravity : 1; > guint input_only : 1; > guint modal_hint : 1; > > guint destroyed : 2; > > guint accept_focus : 1; > > GdkEventMask event_mask; >}; > >struct _GdkWindowObjectClass >{ > GdkDrawableClass parent_class; >}; > > > >GType gdk_window_object_get_type (void) __attribute__((__const__)); >GdkWindow* gdk_window_new (GdkWindow *parent, > GdkWindowAttr *attributes, > gint attributes_mask); >void gdk_window_destroy (GdkWindow *window); >GdkWindowType gdk_window_get_window_type (GdkWindow *window); >GdkWindow* gdk_window_at_pointer (gint *win_x, > gint *win_y); >void gdk_window_show (GdkWindow *window); >void gdk_window_hide (GdkWindow *window); >void gdk_window_withdraw (GdkWindow *window); >void gdk_window_show_unraised (GdkWindow *window); >void gdk_window_move (GdkWindow *window, > gint x, > gint y); >void gdk_window_resize (GdkWindow *window, > gint width, > gint height); >void gdk_window_move_resize (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_reparent (GdkWindow *window, > GdkWindow *new_parent, > gint x, > gint y); >void gdk_window_clear (GdkWindow *window); >void gdk_window_clear_area (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_clear_area_e (GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gdk_window_raise (GdkWindow *window); >void gdk_window_lower (GdkWindow *window); >void gdk_window_focus (GdkWindow *window, > guint32 timestamp); >void gdk_window_set_user_data (GdkWindow *window, > gpointer user_data); >void gdk_window_set_override_redirect (GdkWindow *window, > gboolean override_redirect); >void gdk_window_set_accept_focus (GdkWindow *window, > gboolean accept_focus); >void gdk_window_add_filter (GdkWindow *window, > GdkFilterFunc function, > gpointer data); >void gdk_window_remove_filter (GdkWindow *window, > GdkFilterFunc function, > gpointer data); >void gdk_window_scroll (GdkWindow *window, > gint dx, > gint dy); > > > > > > > >void gdk_window_shape_combine_mask (GdkWindow *window, > GdkBitmap *mask, > gint x, > gint y); >void gdk_window_shape_combine_region (GdkWindow *window, > GdkRegion *shape_region, > gint offset_x, > gint offset_y); ># 356 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >void gdk_window_set_child_shapes (GdkWindow *window); ># 365 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >void gdk_window_merge_child_shapes (GdkWindow *window); > > > > > > > >gboolean gdk_window_is_visible (GdkWindow *window); >gboolean gdk_window_is_viewable (GdkWindow *window); > >GdkWindowState gdk_window_get_state (GdkWindow *window); > > > > >gboolean gdk_window_set_static_gravities (GdkWindow *window, > gboolean use_static); > > > >GdkWindow* gdk_window_foreign_new (GdkNativeWindow anid); >GdkWindow* gdk_window_lookup (GdkNativeWindow anid); > >GdkWindow *gdk_window_foreign_new_for_display (GdkDisplay *display, > GdkNativeWindow anid); >GdkWindow* gdk_window_lookup_for_display (GdkDisplay *display, > GdkNativeWindow anid); > > > > > >void gdk_window_set_hints (GdkWindow *window, > gint x, > gint y, > gint min_width, > gint min_height, > gint max_width, > gint max_height, > gint flags); > >void gdk_window_set_type_hint (GdkWindow *window, > GdkWindowTypeHint hint); >void gdk_window_set_modal_hint (GdkWindow *window, > gboolean modal); > >void gdk_window_set_skip_taskbar_hint (GdkWindow *window, > gboolean skips_taskbar); >void gdk_window_set_skip_pager_hint (GdkWindow *window, > gboolean skips_pager); > >void gdk_window_set_geometry_hints (GdkWindow *window, > GdkGeometry *geometry, > GdkWindowHints geom_mask); >void gdk_set_sm_client_id (const gchar *sm_client_id); > >void gdk_window_begin_paint_rect (GdkWindow *window, > GdkRectangle *rectangle); >void gdk_window_begin_paint_region (GdkWindow *window, > GdkRegion *region); >void gdk_window_end_paint (GdkWindow *window); > >void gdk_window_set_title (GdkWindow *window, > const gchar *title); >void gdk_window_set_role (GdkWindow *window, > const gchar *role); >void gdk_window_set_transient_for (GdkWindow *window, > GdkWindow *parent); >void gdk_window_set_background (GdkWindow *window, > const GdkColor *color); >void gdk_window_set_back_pixmap (GdkWindow *window, > GdkPixmap *pixmap, > gboolean parent_relative); >void gdk_window_set_cursor (GdkWindow *window, > GdkCursor *cursor); >void gdk_window_get_user_data (GdkWindow *window, > gpointer *data); >void gdk_window_get_geometry (GdkWindow *window, > gint *x, > gint *y, > gint *width, > gint *height, > gint *depth); >void gdk_window_get_position (GdkWindow *window, > gint *x, > gint *y); >gint gdk_window_get_origin (GdkWindow *window, > gint *x, > gint *y); > > > >gboolean gdk_window_get_deskrelative_origin (GdkWindow *window, > gint *x, > gint *y); > > >void gdk_window_get_root_origin (GdkWindow *window, > gint *x, > gint *y); >void gdk_window_get_frame_extents (GdkWindow *window, > GdkRectangle *rect); >GdkWindow* gdk_window_get_pointer (GdkWindow *window, > gint *x, > gint *y, > GdkModifierType *mask); >GdkWindow * gdk_window_get_parent (GdkWindow *window); >GdkWindow * gdk_window_get_toplevel (GdkWindow *window); > >GList * gdk_window_get_children (GdkWindow *window); >GList * gdk_window_peek_children (GdkWindow *window); >GdkEventMask gdk_window_get_events (GdkWindow *window); >void gdk_window_set_events (GdkWindow *window, > GdkEventMask event_mask); > >void gdk_window_set_icon_list (GdkWindow *window, > GList *pixbufs); >void gdk_window_set_icon (GdkWindow *window, > GdkWindow *icon_window, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gdk_window_set_icon_name (GdkWindow *window, > const gchar *name); >void gdk_window_set_group (GdkWindow *window, > GdkWindow *leader); >GdkWindow* gdk_window_get_group (GdkWindow *window); >void gdk_window_set_decorations (GdkWindow *window, > GdkWMDecoration decorations); >gboolean gdk_window_get_decorations (GdkWindow *window, > GdkWMDecoration *decorations); >void gdk_window_set_functions (GdkWindow *window, > GdkWMFunction functions); > >GList * gdk_window_get_toplevels (void); > > >void gdk_window_iconify (GdkWindow *window); >void gdk_window_deiconify (GdkWindow *window); >void gdk_window_stick (GdkWindow *window); >void gdk_window_unstick (GdkWindow *window); >void gdk_window_maximize (GdkWindow *window); >void gdk_window_unmaximize (GdkWindow *window); >void gdk_window_fullscreen (GdkWindow *window); >void gdk_window_unfullscreen (GdkWindow *window); >void gdk_window_set_keep_above (GdkWindow *window, > gboolean setting); >void gdk_window_set_keep_below (GdkWindow *window, > gboolean setting); > >void gdk_window_register_dnd (GdkWindow *window); > >void gdk_window_begin_resize_drag (GdkWindow *window, > GdkWindowEdge edge, > gint button, > gint root_x, > gint root_y, > guint32 timestamp); >void gdk_window_begin_move_drag (GdkWindow *window, > gint button, > gint root_x, > gint root_y, > guint32 timestamp); > > >void gdk_window_invalidate_rect (GdkWindow *window, > GdkRectangle *rect, > gboolean invalidate_children); >void gdk_window_invalidate_region (GdkWindow *window, > GdkRegion *region, > gboolean invalidate_children); >void gdk_window_invalidate_maybe_recurse (GdkWindow *window, > GdkRegion *region, > gboolean (*child_func) (GdkWindow *, gpointer), > gpointer user_data); >GdkRegion *gdk_window_get_update_area (GdkWindow *window); > >void gdk_window_freeze_updates (GdkWindow *window); >void gdk_window_thaw_updates (GdkWindow *window); > >void gdk_window_process_all_updates (void); >void gdk_window_process_updates (GdkWindow *window, > gboolean update_children); > > >void gdk_window_set_debug_updates (gboolean setting); > >void gdk_window_constrain_size (GdkGeometry *geometry, > guint flags, > gint width, > gint height, > gint *new_width, > gint *new_height); > >void gdk_window_get_internal_paint_info (GdkWindow *window, > GdkDrawable **real_drawable, > gint *x_offset, > gint *y_offset); > > >GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks); > > >GdkWindow *gdk_get_default_root_window (void); ># 585 "/usr/include/gtk-2.0/gdk/gdkwindow.h" >} ># 55 "/usr/include/gtk-2.0/gdk/gdk.h" 2 > > >extern "C" { > > > > > > >void gdk_parse_args (gint *argc, > gchar ***argv); >void gdk_init (gint *argc, > gchar ***argv); >gboolean gdk_init_check (gint *argc, > gchar ***argv); > > >void gdk_exit (gint error_code); > >gchar* gdk_set_locale (void); > >const char *gdk_get_program_class (void); >void gdk_set_program_class (const char *program_class); > > > >void gdk_error_trap_push (void); >gint gdk_error_trap_pop (void); > > >void gdk_set_use_xshm (gboolean use_xshm); >gboolean gdk_get_use_xshm (void); > > >gchar* gdk_get_display (void); >const gchar* gdk_get_display_arg_name (void); > > > >gint gdk_input_add_full (gint source, > GdkInputCondition condition, > GdkInputFunction function, > gpointer data, > GdkDestroyNotify destroy); > > >gint gdk_input_add (gint source, > GdkInputCondition condition, > GdkInputFunction function, > gpointer data); >void gdk_input_remove (gint tag); > > >GdkGrabStatus gdk_pointer_grab (GdkWindow *window, > gboolean owner_events, > GdkEventMask event_mask, > GdkWindow *confine_to, > GdkCursor *cursor, > guint32 time_); >GdkGrabStatus gdk_keyboard_grab (GdkWindow *window, > gboolean owner_events, > guint32 time_); > > >void gdk_pointer_ungrab (guint32 time_); >void gdk_keyboard_ungrab (guint32 time_); >gboolean gdk_pointer_is_grabbed (void); > >gint gdk_screen_width (void) __attribute__((__const__)); >gint gdk_screen_height (void) __attribute__((__const__)); > >gint gdk_screen_width_mm (void) __attribute__((__const__)); >gint gdk_screen_height_mm (void) __attribute__((__const__)); > >void gdk_beep (void); > > >void gdk_flush (void); > > >void gdk_set_double_click_time (guint msec); > > > > >gboolean gdk_rectangle_intersect (GdkRectangle *src1, > GdkRectangle *src2, > GdkRectangle *dest); >void gdk_rectangle_union (GdkRectangle *src1, > GdkRectangle *src2, > GdkRectangle *dest); > >GType gdk_rectangle_get_type (void); > > > > > > >gchar *gdk_wcstombs (const GdkWChar *src); >gint gdk_mbstowcs (GdkWChar *dest, > const gchar *src, > gint dest_max); > > > > >gboolean gdk_event_send_client_message (GdkEvent *event, > GdkNativeWindow winid); >void gdk_event_send_clientmessage_toall (GdkEvent *event); > >gboolean gdk_event_send_client_message_for_display (GdkDisplay *display, > GdkEvent *event, > GdkNativeWindow winid); > >void gdk_notify_startup_complete (void); > > > > > >extern GMutex *gdk_threads_mutex; > > >extern GCallback gdk_threads_lock; >extern GCallback gdk_threads_unlock; > >void gdk_threads_enter (void); >void gdk_threads_leave (void); >void gdk_threads_init (void); >void gdk_threads_set_lock_functions (GCallback enter_fn, > GCallback leave_fn); ># 203 "/usr/include/gtk-2.0/gdk/gdk.h" >} ># 45 "../x11shared/nsXFontAAScaledBitmap.h" 2 ># 1 "/usr/include/gtk-2.0/gdk/gdkx.h" 1 ># 30 "/usr/include/gtk-2.0/gdk/gdkx.h" ># 1 "/usr/include/gtk-2.0/gdk/gdkprivate.h" 1 ># 32 "/usr/include/gtk-2.0/gdk/gdkprivate.h" ># 1 "/usr/include/gtk-2.0/gdk/gdkfont.h" 1 ># 33 "/usr/include/gtk-2.0/gdk/gdkprivate.h" 2 > > > > > > >extern "C" { > > > > > > > >void gdk_window_destroy_notify (GdkWindow *window); > >void gdk_synthesize_window_state (GdkWindow *window, > GdkWindowState unset_flags, > GdkWindowState set_flags); > >} ># 31 "/usr/include/gtk-2.0/gdk/gdkx.h" 2 > > ># 1 "/usr/X11R6/include/X11/Xlib.h" 1 ># 55 "/usr/X11R6/include/X11/Xlib.h" ># 1 "/usr/X11R6/include/X11/X.h" 1 ># 71 "/usr/X11R6/include/X11/X.h" >typedef unsigned long XID; > > > >typedef unsigned long Mask; > > > >typedef unsigned long Atom; > >typedef unsigned long VisualID; >typedef unsigned long Time; ># 101 "/usr/X11R6/include/X11/X.h" >typedef XID Window; >typedef XID Drawable; > > >typedef XID Font; > >typedef XID Pixmap; >typedef XID Cursor; >typedef XID Colormap; >typedef XID GContext; >typedef XID KeySym; > >typedef unsigned char KeyCode; ># 56 "/usr/X11R6/include/X11/Xlib.h" 2 > > ># 1 "/usr/X11R6/include/X11/Xfuncproto.h" 1 ># 59 "/usr/X11R6/include/X11/Xlib.h" 2 ># 1 "/usr/X11R6/include/X11/Xosdefs.h" 1 ># 60 "/usr/X11R6/include/X11/Xlib.h" 2 ># 72 "/usr/X11R6/include/X11/Xlib.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 73 "/usr/X11R6/include/X11/Xlib.h" 2 ># 94 "/usr/X11R6/include/X11/Xlib.h" >typedef char *XPointer; ># 166 "/usr/X11R6/include/X11/Xlib.h" >typedef struct _XExtData { > int number; > struct _XExtData *next; > int (*free_private)( > > struct _XExtData *extension > > ); > XPointer private_data; >} XExtData; > > > > >typedef struct { > int extension; > int major_opcode; > int first_event; > int first_error; >} XExtCodes; > > > > > >typedef struct { > int depth; > int bits_per_pixel; > int scanline_pad; >} XPixmapFormatValues; > > > > > >typedef struct { > int function; > unsigned long plane_mask; > unsigned long foreground; > unsigned long background; > int line_width; > int line_style; > int cap_style; > > int join_style; > int fill_style; > > int fill_rule; > int arc_mode; > Pixmap tile; > Pixmap stipple; > int ts_x_origin; > int ts_y_origin; > Font font; > int subwindow_mode; > int graphics_exposures; > int clip_x_origin; > int clip_y_origin; > Pixmap clip_mask; > int dash_offset; > char dashes; >} XGCValues; > > > > > > >typedef struct _XGC > > > > > > > >*GC; > > > > >typedef struct { > XExtData *ext_data; > VisualID visualid; > > int c_class; > > > > unsigned long red_mask, green_mask, blue_mask; > int bits_per_rgb; > int map_entries; >} Visual; > > > > >typedef struct { > int depth; > int nvisuals; > Visual *visuals; >} Depth; > > > > > > > >struct _XDisplay; > >typedef struct { > XExtData *ext_data; > struct _XDisplay *display; > Window root; > int width, height; > int mwidth, mheight; > int ndepths; > Depth *depths; > int root_depth; > Visual *root_visual; > GC default_gc; > Colormap cmap; > unsigned long white_pixel; > unsigned long black_pixel; > int max_maps, min_maps; > int backing_store; > int save_unders; > long root_input_mask; >} Screen; > > > > >typedef struct { > XExtData *ext_data; > int depth; > int bits_per_pixel; > int scanline_pad; >} ScreenFormat; > > > > >typedef struct { > Pixmap background_pixmap; > unsigned long background_pixel; > Pixmap border_pixmap; > unsigned long border_pixel; > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > long event_mask; > long do_not_propagate_mask; > int override_redirect; > Colormap colormap; > Cursor cursor; >} XSetWindowAttributes; > >typedef struct { > int x, y; > int width, height; > int border_width; > int depth; > Visual *visual; > Window root; > > int c_class; > > > > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > Colormap colormap; > int map_installed; > int map_state; > long all_event_masks; > long your_event_mask; > long do_not_propagate_mask; > int override_redirect; > Screen *screen; >} XWindowAttributes; > > > > > > >typedef struct { > int family; > int length; > char *address; >} XHostAddress; > > > > >typedef struct _XImage { > int width, height; > int xoffset; > int format; > char *data; > int byte_order; > int bitmap_unit; > int bitmap_bit_order; > int bitmap_pad; > int depth; > int bytes_per_line; > int bits_per_pixel; > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > XPointer obdata; > struct funcs { > > struct _XImage *(*create_image)( > struct _XDisplay* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int ); > int (*destroy_image) (struct _XImage *); > unsigned long (*get_pixel) (struct _XImage *, int, int); > int (*put_pixel) (struct _XImage *, int, int, unsigned long); > struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); > int (*add_pixel) (struct _XImage *, long); ># 412 "/usr/X11R6/include/X11/Xlib.h" > } f; >} XImage; > > > > >typedef struct { > int x, y; > int width, height; > int border_width; > Window sibling; > int stack_mode; >} XWindowChanges; > > > > >typedef struct { > unsigned long pixel; > unsigned short red, green, blue; > char flags; > char pad; >} XColor; > > > > > > >typedef struct { > short x1, y1, x2, y2; >} XSegment; > >typedef struct { > short x, y; >} XPoint; > >typedef struct { > short x, y; > unsigned short width, height; >} XRectangle; > >typedef struct { > short x, y; > unsigned short width, height; > short angle1, angle2; >} XArc; > > > > >typedef struct { > int key_click_percent; > int bell_percent; > int bell_pitch; > int bell_duration; > int led; > int led_mode; > int key; > int auto_repeat_mode; >} XKeyboardControl; > > > >typedef struct { > int key_click_percent; > int bell_percent; > unsigned int bell_pitch, bell_duration; > unsigned long led_mask; > int global_auto_repeat; > char auto_repeats[32]; >} XKeyboardState; > > > >typedef struct { > Time time; > short x, y; >} XTimeCoord; > > > >typedef struct { > int max_keypermod; > KeyCode *modifiermap; >} XModifierKeymap; ># 506 "/usr/X11R6/include/X11/Xlib.h" >typedef struct _XDisplay Display; > > >struct _XPrivate; >struct _XrmHashBucketRec; > >typedef struct > > > >{ > XExtData *ext_data; > struct _XPrivate *private1; > int fd; > int private2; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID private3; > XID private4; > XID private5; > int private6; > XID (*resource_alloc)( > > struct _XDisplay* > > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int private8; > int release; > struct _XPrivate *private9, *private10; > int qlen; > unsigned long last_request_read; > unsigned long request; > XPointer private11; > XPointer private12; > XPointer private13; > XPointer private14; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*private15)( > > struct _XDisplay* > > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long private16; > int min_keycode; > int max_keycode; > XPointer private17; > XPointer private18; > int private19; > char *xdefaults; > >} > > > >*_XPrivDisplay; ># 582 "/usr/X11R6/include/X11/Xlib.h" >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int keycode; > int same_screen; >} XKeyEvent; >typedef XKeyEvent XKeyPressedEvent; >typedef XKeyEvent XKeyReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int button; > int same_screen; >} XButtonEvent; >typedef XButtonEvent XButtonPressedEvent; >typedef XButtonEvent XButtonReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > char is_hint; > int same_screen; >} XMotionEvent; >typedef XMotionEvent XPointerMovedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > int mode; > int detail; > > > > > int same_screen; > int focus; > unsigned int state; >} XCrossingEvent; >typedef XCrossingEvent XEnterWindowEvent; >typedef XCrossingEvent XLeaveWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int mode; > int detail; > > > > > >} XFocusChangeEvent; >typedef XFocusChangeEvent XFocusInEvent; >typedef XFocusChangeEvent XFocusOutEvent; > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > char key_vector[32]; >} XKeymapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int x, y; > int width, height; > int count; >} XExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int x, y; > int width, height; > int count; > int major_code; > int minor_code; >} XGraphicsExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int major_code; > int minor_code; >} XNoExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int state; >} XVisibilityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > int override_redirect; >} XCreateWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; >} XDestroyWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int from_configure; >} XUnmapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int override_redirect; >} XMapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; >} XMapRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > Window parent; > int x, y; > int override_redirect; >} XReparentEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int override_redirect; >} XConfigureEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; >} XGravityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int width, height; >} XResizeRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int detail; > unsigned long value_mask; >} XConfigureRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int place; >} XCirculateEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int place; >} XCirculateRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom atom; > Time time; > int state; >} XPropertyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom selection; > Time time; >} XSelectionClearEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window owner; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Colormap colormap; > > int c_new; > > > > int state; >} XColormapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom message_type; > int format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >} XClientMessageEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int request; > > int first_keycode; > int count; >} XMappingEvent; > >typedef struct { > int type; > Display *display; > XID resourceid; > unsigned long serial; > unsigned char error_code; > unsigned char request_code; > unsigned char minor_code; >} XErrorEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; >} XAnyEvent; > > > > > >typedef union _XEvent { > int type; > XAnyEvent xany; > XKeyEvent xkey; > XButtonEvent xbutton; > XMotionEvent xmotion; > XCrossingEvent xcrossing; > XFocusChangeEvent xfocus; > XExposeEvent xexpose; > XGraphicsExposeEvent xgraphicsexpose; > XNoExposeEvent xnoexpose; > XVisibilityEvent xvisibility; > XCreateWindowEvent xcreatewindow; > XDestroyWindowEvent xdestroywindow; > XUnmapEvent xunmap; > XMapEvent xmap; > XMapRequestEvent xmaprequest; > XReparentEvent xreparent; > XConfigureEvent xconfigure; > XGravityEvent xgravity; > XResizeRequestEvent xresizerequest; > XConfigureRequestEvent xconfigurerequest; > XCirculateEvent xcirculate; > XCirculateRequestEvent xcirculaterequest; > XPropertyEvent xproperty; > XSelectionClearEvent xselectionclear; > XSelectionRequestEvent xselectionrequest; > XSelectionEvent xselection; > XColormapEvent xcolormap; > XClientMessageEvent xclient; > XMappingEvent xmapping; > XErrorEvent xerror; > XKeymapEvent xkeymap; > long pad[24]; >} XEvent; > > > > > > > >typedef struct { > short lbearing; > short rbearing; > short width; > short ascent; > short descent; > unsigned short attributes; >} XCharStruct; > > > > > >typedef struct { > Atom name; > unsigned long card32; >} XFontProp; > >typedef struct { > XExtData *ext_data; > Font fid; > unsigned direction; > unsigned min_char_or_byte2; > unsigned max_char_or_byte2; > unsigned min_byte1; > unsigned max_byte1; > int all_chars_exist; > unsigned default_char; > int n_properties; > XFontProp *properties; > XCharStruct min_bounds; > XCharStruct max_bounds; > XCharStruct *per_char; > int ascent; > int descent; >} XFontStruct; > > > > >typedef struct { > char *chars; > int nchars; > int delta; > Font font; >} XTextItem; > >typedef struct { > unsigned char byte1; > unsigned char byte2; >} XChar2b; > >typedef struct { > XChar2b *chars; > int nchars; > int delta; > Font font; >} XTextItem16; > > >typedef union { Display *display; > GC gc; > Visual *visual; > Screen *screen; > ScreenFormat *pixmap_format; > XFontStruct *font; } XEDataObject; > >typedef struct { > XRectangle max_ink_extent; > XRectangle max_logical_extent; >} XFontSetExtents; > > > > > >typedef struct _XOM *XOM; >typedef struct _XOC *XOC, *XFontSet; > >typedef struct { > char *chars; > int nchars; > int delta; > XFontSet font_set; >} XmbTextItem; > >typedef struct { > wchar_t *chars; > int nchars; > int delta; > XFontSet font_set; >} XwcTextItem; ># 1116 "/usr/X11R6/include/X11/Xlib.h" >typedef struct { > int charset_count; > char **charset_list; >} XOMCharSetList; > >typedef enum { > XOMOrientation_LTR_TTB, > XOMOrientation_RTL_TTB, > XOMOrientation_TTB_LTR, > XOMOrientation_TTB_RTL, > XOMOrientation_Context >} XOrientation; > >typedef struct { > int num_orientation; > XOrientation *orientation; >} XOMOrientation; > >typedef struct { > int num_font; > XFontStruct **font_struct_list; > char **font_name_list; >} XOMFontInfo; > >typedef struct _XIM *XIM; >typedef struct _XIC *XIC; > >typedef void (*XIMProc)( > > XIM, > XPointer, > XPointer > >); > >typedef int (*XICProc)( > > XIC, > XPointer, > XPointer > >); > >typedef void (*XIDProc)( > > Display*, > XPointer, > XPointer > >); > >typedef unsigned long XIMStyle; > >typedef struct { > unsigned short count_styles; > XIMStyle *supported_styles; >} XIMStyles; ># 1235 "/usr/X11R6/include/X11/Xlib.h" >typedef void *XVaNestedList; > > > > >typedef struct { > XPointer client_data; > XIMProc callback; >} XIMCallback; > >typedef struct { > XPointer client_data; > XICProc callback; >} XICCallback; > >typedef unsigned long XIMFeedback; ># 1262 "/usr/X11R6/include/X11/Xlib.h" >typedef struct _XIMText { > unsigned short length; > XIMFeedback *feedback; > int encoding_is_wchar; > union { > char *multi_byte; > wchar_t *wide_char; > } string; >} XIMText; > >typedef unsigned long XIMPreeditState; > > > > > >typedef struct _XIMPreeditStateNotifyCallbackStruct { > XIMPreeditState state; >} XIMPreeditStateNotifyCallbackStruct; > >typedef unsigned long XIMResetState; > > > > >typedef unsigned long XIMStringConversionFeedback; ># 1296 "/usr/X11R6/include/X11/Xlib.h" >typedef struct _XIMStringConversionText { > unsigned short length; > XIMStringConversionFeedback *feedback; > int encoding_is_wchar; > union { > char *mbs; > wchar_t *wcs; > } string; >} XIMStringConversionText; > >typedef unsigned short XIMStringConversionPosition; > >typedef unsigned short XIMStringConversionType; > > > > > > >typedef unsigned short XIMStringConversionOperation; > > > > >typedef enum { > XIMForwardChar, XIMBackwardChar, > XIMForwardWord, XIMBackwardWord, > XIMCaretUp, XIMCaretDown, > XIMNextLine, XIMPreviousLine, > XIMLineStart, XIMLineEnd, > XIMAbsolutePosition, > XIMDontChange >} XIMCaretDirection; > >typedef struct _XIMStringConversionCallbackStruct { > XIMStringConversionPosition position; > XIMCaretDirection direction; > XIMStringConversionOperation operation; > unsigned short factor; > XIMStringConversionText *text; >} XIMStringConversionCallbackStruct; > >typedef struct _XIMPreeditDrawCallbackStruct { > int caret; > int chg_first; > int chg_length; > XIMText *text; >} XIMPreeditDrawCallbackStruct; > >typedef enum { > XIMIsInvisible, > XIMIsPrimary, > XIMIsSecondary >} XIMCaretStyle; > >typedef struct _XIMPreeditCaretCallbackStruct { > int position; > XIMCaretDirection direction; > XIMCaretStyle style; >} XIMPreeditCaretCallbackStruct; > >typedef enum { > XIMTextType, > XIMBitmapType >} XIMStatusDataType; > >typedef struct _XIMStatusDrawCallbackStruct { > XIMStatusDataType type; > union { > XIMText *text; > Pixmap bitmap; > } data; >} XIMStatusDrawCallbackStruct; > >typedef struct _XIMHotKeyTrigger { > KeySym keysym; > int modifier; > int modifier_mask; >} XIMHotKeyTrigger; > >typedef struct _XIMHotKeyTriggers { > int num_hot_key; > XIMHotKeyTrigger *key; >} XIMHotKeyTriggers; > >typedef unsigned long XIMHotKeyState; > > > > >typedef struct { > unsigned short count_values; > char **supported_values; >} XIMValuesList; > >extern "C" { > > > > > >extern int _Xdebug; > >extern XFontStruct *XLoadQueryFont( > > Display* , > const char* > >); > >extern XFontStruct *XQueryFont( > > Display* , > XID > >); > > >extern XTimeCoord *XGetMotionEvents( > > Display* , > Window , > Time , > Time , > int* > >); > >extern XModifierKeymap *XDeleteModifiermapEntry( > > XModifierKeymap* , > > unsigned int , > > > > int > >); > >extern XModifierKeymap *XGetModifierMapping( > > Display* > >); > >extern XModifierKeymap *XInsertModifiermapEntry( > > XModifierKeymap* , > > unsigned int , > > > > int > >); > >extern XModifierKeymap *XNewModifiermap( > > int > >); > >extern XImage *XCreateImage( > > Display* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int > >); >extern int XInitImage( > > XImage* > >); >extern XImage *XGetImage( > > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int > >); >extern XImage *XGetSubImage( > > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int , > XImage* , > int , > int > >); > > > > >extern Display *XOpenDisplay( > > const char* > >); > >extern void XrmInitialize( > > void > >); > >extern char *XFetchBytes( > > Display* , > int* > >); >extern char *XFetchBuffer( > > Display* , > int* , > int > >); >extern char *XGetAtomName( > > Display* , > Atom > >); >extern int XGetAtomNames( > > Display* , > Atom* , > int , > char** > >); >extern char *XGetDefault( > > Display* , > const char* , > const char* > >); >extern char *XDisplayName( > > const char* > >); >extern char *XKeysymToString( > > KeySym > >); > >extern int (*XSynchronize( > > Display* , > int > >))( > > Display* > >); >extern int (*XSetAfterFunction( > > Display* , > int (*) ( > > Display* > > ) > >))( > > Display* > >); >extern Atom XInternAtom( > > Display* , > const char* , > int > >); >extern int XInternAtoms( > > Display* , > char** , > int , > int , > Atom* > >); >extern Colormap XCopyColormapAndFree( > > Display* , > Colormap > >); >extern Colormap XCreateColormap( > > Display* , > Window , > Visual* , > int > >); >extern Cursor XCreatePixmapCursor( > > Display* , > Pixmap , > Pixmap , > XColor* , > XColor* , > unsigned int , > unsigned int > >); >extern Cursor XCreateGlyphCursor( > > Display* , > Font , > Font , > unsigned int , > unsigned int , > XColor const * , > XColor const * > >); >extern Cursor XCreateFontCursor( > > Display* , > unsigned int > >); >extern Font XLoadFont( > > Display* , > const char* > >); >extern GC XCreateGC( > > Display* , > Drawable , > unsigned long , > XGCValues* > >); >extern GContext XGContextFromGC( > > GC > >); >extern void XFlushGC( > > Display* , > GC > >); >extern Pixmap XCreatePixmap( > > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int > >); >extern Pixmap XCreateBitmapFromData( > > Display* , > Drawable , > const char* , > unsigned int , > unsigned int > >); >extern Pixmap XCreatePixmapFromBitmapData( > > Display* , > Drawable , > char* , > unsigned int , > unsigned int , > unsigned long , > unsigned long , > unsigned int > >); >extern Window XCreateSimpleWindow( > > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > unsigned long , > unsigned long > >); >extern Window XGetSelectionOwner( > > Display* , > Atom > >); >extern Window XCreateWindow( > > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > int , > unsigned int , > Visual* , > unsigned long , > XSetWindowAttributes* > >); >extern Colormap *XListInstalledColormaps( > > Display* , > Window , > int* > >); >extern char **XListFonts( > > Display* , > const char* , > int , > int* > >); >extern char **XListFontsWithInfo( > > Display* , > const char* , > int , > int* , > XFontStruct** > >); >extern char **XGetFontPath( > > Display* , > int* > >); >extern char **XListExtensions( > > Display* , > int* > >); >extern Atom *XListProperties( > > Display* , > Window , > int* > >); >extern XHostAddress *XListHosts( > > Display* , > int* , > int* > >); >extern KeySym XKeycodeToKeysym( > > Display* , > > unsigned int , > > > > int > >); >extern KeySym XLookupKeysym( > > XKeyEvent* , > int > >); >extern KeySym *XGetKeyboardMapping( > > Display* , > > unsigned int , > > > > int , > int* > >); >extern KeySym XStringToKeysym( > > const char* > >); >extern long XMaxRequestSize( > > Display* > >); >extern long XExtendedMaxRequestSize( > > Display* > >); >extern char *XResourceManagerString( > > Display* > >); >extern char *XScreenResourceString( > > Screen* > >); >extern unsigned long XDisplayMotionBufferSize( > > Display* > >); >extern VisualID XVisualIDFromVisual( > > Visual* > >); > > > >extern int XInitThreads( > > void > >); > >extern void XLockDisplay( > > Display* > >); > >extern void XUnlockDisplay( > > Display* > >); > > > >extern XExtCodes *XInitExtension( > > Display* , > const char* > >); > >extern XExtCodes *XAddExtension( > > Display* > >); >extern XExtData *XFindOnExtensionList( > > XExtData** , > int > >); >extern XExtData **XEHeadOfExtensionList( > > XEDataObject > >); > > >extern Window XRootWindow( > > Display* , > int > >); >extern Window XDefaultRootWindow( > > Display* > >); >extern Window XRootWindowOfScreen( > > Screen* > >); >extern Visual *XDefaultVisual( > > Display* , > int > >); >extern Visual *XDefaultVisualOfScreen( > > Screen* > >); >extern GC XDefaultGC( > > Display* , > int > >); >extern GC XDefaultGCOfScreen( > > Screen* > >); >extern unsigned long XBlackPixel( > > Display* , > int > >); >extern unsigned long XWhitePixel( > > Display* , > int > >); >extern unsigned long XAllPlanes( > > void > >); >extern unsigned long XBlackPixelOfScreen( > > Screen* > >); >extern unsigned long XWhitePixelOfScreen( > > Screen* > >); >extern unsigned long XNextRequest( > > Display* > >); >extern unsigned long XLastKnownRequestProcessed( > > Display* > >); >extern char *XServerVendor( > > Display* > >); >extern char *XDisplayString( > > Display* > >); >extern Colormap XDefaultColormap( > > Display* , > int > >); >extern Colormap XDefaultColormapOfScreen( > > Screen* > >); >extern Display *XDisplayOfScreen( > > Screen* > >); >extern Screen *XScreenOfDisplay( > > Display* , > int > >); >extern Screen *XDefaultScreenOfDisplay( > > Display* > >); >extern long XEventMaskOfScreen( > > Screen* > >); > >extern int XScreenNumberOfScreen( > > Screen* > >); > >typedef int (*XErrorHandler) ( > > Display* , > XErrorEvent* > >); > >extern XErrorHandler XSetErrorHandler ( > > XErrorHandler > >); > > >typedef int (*XIOErrorHandler) ( > > Display* > >); > >extern XIOErrorHandler XSetIOErrorHandler ( > > XIOErrorHandler > >); > > >extern XPixmapFormatValues *XListPixmapFormats( > > Display* , > int* > >); >extern int *XListDepths( > > Display* , > int , > int* > >); > > > >extern int XReconfigureWMWindow( > > Display* , > Window , > int , > unsigned int , > XWindowChanges* > >); > >extern int XGetWMProtocols( > > Display* , > Window , > Atom** , > int* > >); >extern int XSetWMProtocols( > > Display* , > Window , > Atom* , > int > >); >extern int XIconifyWindow( > > Display* , > Window , > int > >); >extern int XWithdrawWindow( > > Display* , > Window , > int > >); >extern int XGetCommand( > > Display* , > Window , > char*** , > int* > >); >extern int XGetWMColormapWindows( > > Display* , > Window , > Window** , > int* > >); >extern int XSetWMColormapWindows( > > Display* , > Window , > Window* , > int > >); >extern void XFreeStringList( > > char** > >); >extern int XSetTransientForHint( > > Display* , > Window , > Window > >); > > > >extern int XActivateScreenSaver( > > Display* > >); > >extern int XAddHost( > > Display* , > XHostAddress* > >); > >extern int XAddHosts( > > Display* , > XHostAddress* , > int > >); > >extern int XAddToExtensionList( > > struct _XExtData** , > XExtData* > >); > >extern int XAddToSaveSet( > > Display* , > Window > >); > >extern int XAllocColor( > > Display* , > Colormap , > XColor* > >); > >extern int XAllocColorCells( > > Display* , > Colormap , > int , > unsigned long* , > unsigned int , > unsigned long* , > unsigned int > >); > >extern int XAllocColorPlanes( > > Display* , > Colormap , > int , > unsigned long* , > int , > int , > int , > int , > unsigned long* , > unsigned long* , > unsigned long* > >); > >extern int XAllocNamedColor( > > Display* , > Colormap , > const char* , > XColor* , > XColor* > >); > >extern int XAllowEvents( > > Display* , > int , > Time > >); > >extern int XAutoRepeatOff( > > Display* > >); > >extern int XAutoRepeatOn( > > Display* > >); > >extern int XBell( > > Display* , > int > >); > >extern int XBitmapBitOrder( > > Display* > >); > >extern int XBitmapPad( > > Display* > >); > >extern int XBitmapUnit( > > Display* > >); > >extern int XCellsOfScreen( > > Screen* > >); > >extern int XChangeActivePointerGrab( > > Display* , > unsigned int , > Cursor , > Time > >); > >extern int XChangeGC( > > Display* , > GC , > unsigned long , > XGCValues* > >); > >extern int XChangeKeyboardControl( > > Display* , > unsigned long , > XKeyboardControl* > >); > >extern int XChangeKeyboardMapping( > > Display* , > int , > int , > KeySym* , > int > >); > >extern int XChangePointerControl( > > Display* , > int , > int , > int , > int , > int > >); > >extern int XChangeProperty( > > Display* , > Window , > Atom , > Atom , > int , > int , > const unsigned char* , > int > >); > >extern int XChangeSaveSet( > > Display* , > Window , > int > >); > >extern int XChangeWindowAttributes( > > Display* , > Window , > unsigned long , > XSetWindowAttributes* > >); > >extern int XCheckIfEvent( > > Display* , > XEvent* , > int (*) ( > > Display* , > XEvent* , > XPointer > > ) , > XPointer > >); > >extern int XCheckMaskEvent( > > Display* , > long , > XEvent* > >); > >extern int XCheckTypedEvent( > > Display* , > int , > XEvent* > >); > >extern int XCheckTypedWindowEvent( > > Display* , > Window , > int , > XEvent* > >); > >extern int XCheckWindowEvent( > > Display* , > Window , > long , > XEvent* > >); > >extern int XCirculateSubwindows( > > Display* , > Window , > int > >); > >extern int XCirculateSubwindowsDown( > > Display* , > Window > >); > >extern int XCirculateSubwindowsUp( > > Display* , > Window > >); > >extern int XClearArea( > > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > int > >); > >extern int XClearWindow( > > Display* , > Window > >); > >extern int XCloseDisplay( > > Display* > >); > >extern int XConfigureWindow( > > Display* , > Window , > unsigned int , > XWindowChanges* > >); > >extern int XConnectionNumber( > > Display* > >); > >extern int XConvertSelection( > > Display* , > Atom , > Atom , > Atom , > Window , > Time > >); > >extern int XCopyArea( > > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int > >); > >extern int XCopyGC( > > Display* , > GC , > unsigned long , > GC > >); > >extern int XCopyPlane( > > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int , > unsigned long > >); > >extern int XDefaultDepth( > > Display* , > int > >); > >extern int XDefaultDepthOfScreen( > > Screen* > >); > >extern int XDefaultScreen( > > Display* > >); > >extern int XDefineCursor( > > Display* , > Window , > Cursor > >); > >extern int XDeleteProperty( > > Display* , > Window , > Atom > >); > >extern int XDestroyWindow( > > Display* , > Window > >); > >extern int XDestroySubwindows( > > Display* , > Window > >); > >extern int XDoesBackingStore( > > Screen* > >); > >extern int XDoesSaveUnders( > > Screen* > >); > >extern int XDisableAccessControl( > > Display* > >); > > >extern int XDisplayCells( > > Display* , > int > >); > >extern int XDisplayHeight( > > Display* , > int > >); > >extern int XDisplayHeightMM( > > Display* , > int > >); > >extern int XDisplayKeycodes( > > Display* , > int* , > int* > >); > >extern int XDisplayPlanes( > > Display* , > int > >); > >extern int XDisplayWidth( > > Display* , > int > >); > >extern int XDisplayWidthMM( > > Display* , > int > >); > >extern int XDrawArc( > > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int > >); > >extern int XDrawArcs( > > Display* , > Drawable , > GC , > XArc* , > int > >); > >extern int XDrawImageString( > > Display* , > Drawable , > GC , > int , > int , > const char* , > int > >); > >extern int XDrawImageString16( > > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int > >); > >extern int XDrawLine( > > Display* , > Drawable , > GC , > int , > int , > int , > int > >); > >extern int XDrawLines( > > Display* , > Drawable , > GC , > XPoint* , > int , > int > >); > >extern int XDrawPoint( > > Display* , > Drawable , > GC , > int , > int > >); > >extern int XDrawPoints( > > Display* , > Drawable , > GC , > XPoint* , > int , > int > >); > >extern int XDrawRectangle( > > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int > >); > >extern int XDrawRectangles( > > Display* , > Drawable , > GC , > XRectangle* , > int > >); > >extern int XDrawSegments( > > Display* , > Drawable , > GC , > XSegment* , > int > >); > >extern int XDrawString( > > Display* , > Drawable , > GC , > int , > int , > const char* , > int > >); > >extern int XDrawString16( > > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int > >); > >extern int XDrawText( > > Display* , > Drawable , > GC , > int , > int , > XTextItem* , > int > >); > >extern int XDrawText16( > > Display* , > Drawable , > GC , > int , > int , > XTextItem16* , > int > >); > >extern int XEnableAccessControl( > > Display* > >); > >extern int XEventsQueued( > > Display* , > int > >); > >extern int XFetchName( > > Display* , > Window , > char** > >); > >extern int XFillArc( > > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int > >); > >extern int XFillArcs( > > Display* , > Drawable , > GC , > XArc* , > int > >); > >extern int XFillPolygon( > > Display* , > Drawable , > GC , > XPoint* , > int , > int , > int > >); > >extern int XFillRectangle( > > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int > >); > >extern int XFillRectangles( > > Display* , > Drawable , > GC , > XRectangle* , > int > >); > >extern int XFlush( > > Display* > >); > >extern int XForceScreenSaver( > > Display* , > int > >); > >extern int XFree( > > void* > >); > >extern int XFreeColormap( > > Display* , > Colormap > >); > >extern int XFreeColors( > > Display* , > Colormap , > unsigned long* , > int , > unsigned long > >); > >extern int XFreeCursor( > > Display* , > Cursor > >); > >extern int XFreeExtensionList( > > char** > >); > >extern int XFreeFont( > > Display* , > XFontStruct* > >); > >extern int XFreeFontInfo( > > char** , > XFontStruct* , > int > >); > >extern int XFreeFontNames( > > char** > >); > >extern int XFreeFontPath( > > char** > >); > >extern int XFreeGC( > > Display* , > GC > >); > >extern int XFreeModifiermap( > > XModifierKeymap* > >); > >extern int XFreePixmap( > > Display* , > Pixmap > >); > >extern int XGeometry( > > Display* , > int , > const char* , > const char* , > unsigned int , > unsigned int , > unsigned int , > int , > int , > int* , > int* , > int* , > int* > >); > >extern int XGetErrorDatabaseText( > > Display* , > const char* , > const char* , > const char* , > char* , > int > >); > >extern int XGetErrorText( > > Display* , > int , > char* , > int > >); > >extern int XGetFontProperty( > > XFontStruct* , > Atom , > unsigned long* > >); > >extern int XGetGCValues( > > Display* , > GC , > unsigned long , > XGCValues* > >); > >extern int XGetGeometry( > > Display* , > Drawable , > Window* , > int* , > int* , > unsigned int* , > unsigned int* , > unsigned int* , > unsigned int* > >); > >extern int XGetIconName( > > Display* , > Window , > char** > >); > >extern int XGetInputFocus( > > Display* , > Window* , > int* > >); > >extern int XGetKeyboardControl( > > Display* , > XKeyboardState* > >); > >extern int XGetPointerControl( > > Display* , > int* , > int* , > int* > >); > >extern int XGetPointerMapping( > > Display* , > unsigned char* , > int > >); > >extern int XGetScreenSaver( > > Display* , > int* , > int* , > int* , > int* > >); > >extern int XGetTransientForHint( > > Display* , > Window , > Window* > >); > >extern int XGetWindowProperty( > > Display* , > Window , > Atom , > long , > long , > int , > Atom , > Atom* , > int* , > unsigned long* , > unsigned long* , > unsigned char** > >); > >extern int XGetWindowAttributes( > > Display* , > Window , > XWindowAttributes* > >); > >extern int XGrabButton( > > Display* , > unsigned int , > unsigned int , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor > >); > >extern int XGrabKey( > > Display* , > int , > unsigned int , > Window , > int , > int , > int > >); > >extern int XGrabKeyboard( > > Display* , > Window , > int , > int , > int , > Time > >); > >extern int XGrabPointer( > > Display* , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor , > Time > >); > >extern int XGrabServer( > > Display* > >); > >extern int XHeightMMOfScreen( > > Screen* > >); > >extern int XHeightOfScreen( > > Screen* > >); > >extern int XIfEvent( > > Display* , > XEvent* , > int (*) ( > > Display* , > XEvent* , > XPointer > > ) , > XPointer > >); > >extern int XImageByteOrder( > > Display* > >); > >extern int XInstallColormap( > > Display* , > Colormap > >); > >extern KeyCode XKeysymToKeycode( > > Display* , > KeySym > >); > >extern int XKillClient( > > Display* , > XID > >); > >extern int XLookupColor( > > Display* , > Colormap , > const char* , > XColor* , > XColor* > >); > >extern int XLowerWindow( > > Display* , > Window > >); > >extern int XMapRaised( > > Display* , > Window > >); > >extern int XMapSubwindows( > > Display* , > Window > >); > >extern int XMapWindow( > > Display* , > Window > >); > >extern int XMaskEvent( > > Display* , > long , > XEvent* > >); > >extern int XMaxCmapsOfScreen( > > Screen* > >); > >extern int XMinCmapsOfScreen( > > Screen* > >); > >extern int XMoveResizeWindow( > > Display* , > Window , > int , > int , > unsigned int , > unsigned int > >); > >extern int XMoveWindow( > > Display* , > Window , > int , > int > >); > >extern int XNextEvent( > > Display* , > XEvent* > >); > >extern int XNoOp( > > Display* > >); > >extern int XParseColor( > > Display* , > Colormap , > const char* , > XColor* > >); > >extern int XParseGeometry( > > const char* , > int* , > int* , > unsigned int* , > unsigned int* > >); > >extern int XPeekEvent( > > Display* , > XEvent* > >); > >extern int XPeekIfEvent( > > Display* , > XEvent* , > int (*) ( > > Display* , > XEvent* , > XPointer > > ) , > XPointer > >); > >extern int XPending( > > Display* > >); > >extern int XPlanesOfScreen( > > Screen* > > >); > >extern int XProtocolRevision( > > Display* > >); > >extern int XProtocolVersion( > > Display* > >); > > >extern int XPutBackEvent( > > Display* , > XEvent* > >); > >extern int XPutImage( > > Display* , > Drawable , > GC , > XImage* , > int , > int , > int , > int , > unsigned int , > unsigned int > >); > >extern int XQLength( > > Display* > >); > >extern int XQueryBestCursor( > > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* > >); > >extern int XQueryBestSize( > > Display* , > int , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* > >); > >extern int XQueryBestStipple( > > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* > >); > >extern int XQueryBestTile( > > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* > >); > >extern int XQueryColor( > > Display* , > Colormap , > XColor* > >); > >extern int XQueryColors( > > Display* , > Colormap , > XColor* , > int > >); > >extern int XQueryExtension( > > Display* , > const char* , > int* , > int* , > int* > >); > >extern int XQueryKeymap( > > Display* , > char [32] > >); > >extern int XQueryPointer( > > Display* , > Window , > Window* , > Window* , > int* , > int* , > int* , > int* , > unsigned int* > >); > >extern int XQueryTextExtents( > > Display* , > XID , > const char* , > int , > int* , > int* , > int* , > XCharStruct* > >); > >extern int XQueryTextExtents16( > > Display* , > XID , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* > >); > >extern int XQueryTree( > > Display* , > Window , > Window* , > Window* , > Window** , > unsigned int* > >); > >extern int XRaiseWindow( > > Display* , > Window > >); > >extern int XReadBitmapFile( > > Display* , > Drawable , > const char* , > unsigned int* , > unsigned int* , > Pixmap* , > int* , > int* > >); > >extern int XReadBitmapFileData( > > const char* , > unsigned int* , > unsigned int* , > unsigned char** , > int* , > int* > >); > >extern int XRebindKeysym( > > Display* , > KeySym , > KeySym* , > int , > const unsigned char* , > int > >); > >extern int XRecolorCursor( > > Display* , > Cursor , > XColor* , > XColor* > >); > >extern int XRefreshKeyboardMapping( > > XMappingEvent* > >); > >extern int XRemoveFromSaveSet( > > Display* , > Window > >); > >extern int XRemoveHost( > > Display* , > XHostAddress* > >); > >extern int XRemoveHosts( > > Display* , > XHostAddress* , > int > >); > >extern int XReparentWindow( > > Display* , > Window , > Window , > int , > int > >); > >extern int XResetScreenSaver( > > Display* > >); > >extern int XResizeWindow( > > Display* , > Window , > unsigned int , > unsigned int > >); > >extern int XRestackWindows( > > Display* , > Window* , > int > >); > >extern int XRotateBuffers( > > Display* , > int > >); > >extern int XRotateWindowProperties( > > Display* , > Window , > Atom* , > int , > int > >); > >extern int XScreenCount( > > Display* > >); > >extern int XSelectInput( > > Display* , > Window , > long > >); > >extern int XSendEvent( > > Display* , > Window , > int , > long , > XEvent* > >); > >extern int XSetAccessControl( > > Display* , > int > >); > >extern int XSetArcMode( > > Display* , > GC , > int > >); > >extern int XSetBackground( > > Display* , > GC , > unsigned long > >); > >extern int XSetClipMask( > > Display* , > GC , > Pixmap > >); > >extern int XSetClipOrigin( > > Display* , > GC , > int , > int > >); > >extern int XSetClipRectangles( > > Display* , > GC , > int , > int , > XRectangle* , > int , > int > >); > >extern int XSetCloseDownMode( > > Display* , > int > >); > >extern int XSetCommand( > > Display* , > Window , > char** , > int > >); > >extern int XSetDashes( > > Display* , > GC , > int , > const char* , > int > >); > >extern int XSetFillRule( > > Display* , > GC , > int > >); > >extern int XSetFillStyle( > > Display* , > GC , > int > >); > >extern int XSetFont( > > Display* , > GC , > Font > >); > >extern int XSetFontPath( > > Display* , > char** , > int > >); > >extern int XSetForeground( > > Display* , > GC , > unsigned long > >); > >extern int XSetFunction( > > Display* , > GC , > int > >); > >extern int XSetGraphicsExposures( > > Display* , > GC , > int > >); > >extern int XSetIconName( > > Display* , > Window , > const char* > >); > >extern int XSetInputFocus( > > Display* , > Window , > int , > Time > >); > >extern int XSetLineAttributes( > > Display* , > GC , > unsigned int , > int , > int , > int > >); > >extern int XSetModifierMapping( > > Display* , > XModifierKeymap* > >); > >extern int XSetPlaneMask( > > Display* , > GC , > unsigned long > >); > >extern int XSetPointerMapping( > > Display* , > const unsigned char* , > int > >); > >extern int XSetScreenSaver( > > Display* , > int , > int , > int , > int > >); > >extern int XSetSelectionOwner( > > Display* , > Atom , > Window , > Time > >); > >extern int XSetState( > > Display* , > GC , > unsigned long , > unsigned long , > int , > unsigned long > >); > >extern int XSetStipple( > > Display* , > GC , > Pixmap > >); > >extern int XSetSubwindowMode( > > Display* , > GC , > int > >); > >extern int XSetTSOrigin( > > Display* , > GC , > int , > int > >); > >extern int XSetTile( > > Display* , > GC , > Pixmap > >); > >extern int XSetWindowBackground( > > Display* , > Window , > unsigned long > >); > >extern int XSetWindowBackgroundPixmap( > > Display* , > Window , > Pixmap > >); > >extern int XSetWindowBorder( > > Display* , > Window , > unsigned long > >); > >extern int XSetWindowBorderPixmap( > > Display* , > Window , > Pixmap > >); > >extern int XSetWindowBorderWidth( > > Display* , > Window , > unsigned int > >); > >extern int XSetWindowColormap( > > Display* , > Window , > Colormap > >); > >extern int XStoreBuffer( > > Display* , > const char* , > int , > int > >); > >extern int XStoreBytes( > > Display* , > const char* , > int > >); > >extern int XStoreColor( > > Display* , > Colormap , > XColor* > >); > >extern int XStoreColors( > > Display* , > Colormap , > XColor* , > int > >); > >extern int XStoreName( > > Display* , > Window , > const char* > >); > >extern int XStoreNamedColor( > > Display* , > Colormap , > const char* , > unsigned long , > int > >); > >extern int XSync( > > Display* , > int > >); > >extern int XTextExtents( > > XFontStruct* , > const char* , > int , > int* , > int* , > int* , > XCharStruct* > >); > >extern int XTextExtents16( > > XFontStruct* , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* > >); > >extern int XTextWidth( > > XFontStruct* , > const char* , > int > >); > >extern int XTextWidth16( > > XFontStruct* , > const XChar2b* , > int > >); > >extern int XTranslateCoordinates( > > Display* , > Window , > Window , > int , > int , > int* , > int* , > Window* > >); > >extern int XUndefineCursor( > > Display* , > Window > >); > >extern int XUngrabButton( > > Display* , > unsigned int , > unsigned int , > Window > >); > >extern int XUngrabKey( > > Display* , > int , > unsigned int , > Window > >); > >extern int XUngrabKeyboard( > > Display* , > Time > >); > >extern int XUngrabPointer( > > Display* , > Time > >); > >extern int XUngrabServer( > > Display* > >); > >extern int XUninstallColormap( > > Display* , > Colormap > >); > >extern int XUnloadFont( > > Display* , > Font > >); > >extern int XUnmapSubwindows( > > Display* , > Window > >); > >extern int XUnmapWindow( > > Display* , > Window > >); > >extern int XVendorRelease( > > Display* > >); > >extern int XWarpPointer( > > Display* , > Window , > Window , > int , > int , > unsigned int , > unsigned int , > int , > int > >); > >extern int XWidthMMOfScreen( > > Screen* > >); > >extern int XWidthOfScreen( > > Screen* > >); > >extern int XWindowEvent( > > Display* , > Window , > long , > XEvent* > >); > >extern int XWriteBitmapFile( > > Display* , > const char* , > Pixmap , > unsigned int , > unsigned int , > int , > int > >); > >extern int XSupportsLocale (void); > >extern char *XSetLocaleModifiers( > const char* >); > >extern XOM XOpenOM( > > Display* , > struct _XrmHashBucketRec* , > const char* , > const char* > >); > >extern int XCloseOM( > > XOM > >); > >extern char *XSetOMValues( > > XOM , > ... > >); > >extern char *XGetOMValues( > > XOM , > ... > >); > >extern Display *XDisplayOfOM( > > XOM > >); > >extern char *XLocaleOfOM( > > XOM > >); > >extern XOC XCreateOC( > > XOM , > ... > >); > >extern void XDestroyOC( > > XOC > >); > >extern XOM XOMOfOC( > > XOC > >); > >extern char *XSetOCValues( > > XOC , > ... > >); > >extern char *XGetOCValues( > > XOC , > ... > >); > >extern XFontSet XCreateFontSet( > > Display* , > const char* , > char*** , > int* , > char** > >); > >extern void XFreeFontSet( > > Display* , > XFontSet > >); > >extern int XFontsOfFontSet( > > XFontSet , > XFontStruct*** , > char*** > >); > >extern char *XBaseFontNameListOfFontSet( > > XFontSet > >); > >extern char *XLocaleOfFontSet( > > XFontSet > >); > >extern int XContextDependentDrawing( > > XFontSet > >); > >extern int XDirectionalDependentDrawing( > > XFontSet > >); > >extern int XContextualDrawing( > > XFontSet > >); > >extern XFontSetExtents *XExtentsOfFontSet( > > XFontSet > >); > >extern int XmbTextEscapement( > > XFontSet , > const char* , > int > >); > >extern int XwcTextEscapement( > > XFontSet , > const wchar_t* , > int > >); > >extern int Xutf8TextEscapement( > > XFontSet , > const char* , > int > >); > >extern int XmbTextExtents( > > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* > >); > >extern int XwcTextExtents( > > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* > >); > >extern int Xutf8TextExtents( > > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* > >); > >extern int XmbTextPerCharExtents( > > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* > >); > >extern int XwcTextPerCharExtents( > > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* > >); > >extern int Xutf8TextPerCharExtents( > > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* > >); > >extern void XmbDrawText( > > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int > >); > >extern void XwcDrawText( > > Display* , > Drawable , > GC , > int , > int , > XwcTextItem* , > int > >); > >extern void Xutf8DrawText( > > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int > >); > >extern void XmbDrawString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int > >); > >extern void XwcDrawString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int > >); > >extern void Xutf8DrawString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int > >); > >extern void XmbDrawImageString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int > >); > >extern void XwcDrawImageString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int > >); > >extern void Xutf8DrawImageString( > > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int > >); > >extern XIM XOpenIM( > > Display* , > struct _XrmHashBucketRec* , > char* , > char* > >); > >extern int XCloseIM( > > XIM > >); > >extern char *XGetIMValues( > > XIM , ... > >); > >extern char *XSetIMValues( > > XIM , ... > >); > >extern Display *XDisplayOfIM( > > XIM > >); > >extern char *XLocaleOfIM( > > XIM > >); > >extern XIC XCreateIC( > > XIM , ... > >); > >extern void XDestroyIC( > > XIC > >); > >extern void XSetICFocus( > > XIC > >); > >extern void XUnsetICFocus( > > XIC > >); > >extern wchar_t *XwcResetIC( > > XIC > >); > >extern char *XmbResetIC( > > XIC > >); > >extern char *Xutf8ResetIC( > > XIC > >); > >extern char *XSetICValues( > > XIC , ... > >); > >extern char *XGetICValues( > > XIC , ... > >); > >extern XIM XIMOfIC( > > XIC > >); > >extern int XFilterEvent( > > XEvent* , > Window > >); > >extern int XmbLookupString( > > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* > >); > >extern int XwcLookupString( > > XIC , > XKeyPressedEvent* , > wchar_t* , > int , > KeySym* , > int* > >); > >extern int Xutf8LookupString( > > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* > >); > >extern XVaNestedList XVaCreateNestedList( > > int , ... > >); > > > >extern int XRegisterIMInstantiateCallback( > > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer > >); > >extern int XUnregisterIMInstantiateCallback( > > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer > >); > >typedef void (*XConnectionWatchProc)( > > Display* , > XPointer , > int , > int , > XPointer* > >); > > >extern int XInternalConnectionNumbers( > > Display* , > int** , > int* > >); > >extern void XProcessInternalConnection( > > Display* , > int > >); > >extern int XAddConnectionWatch( > > Display* , > XConnectionWatchProc , > XPointer > >); > >extern void XRemoveConnectionWatch( > > Display* , > XConnectionWatchProc , > XPointer > >); > >extern void XSetAuthorization( > > char * , > int , > char * , > int > >); > >extern int _Xmbtowc( > > wchar_t * , > > > > > char * , > int > > >); > >extern int _Xwctomb( > > char * , > wchar_t > >); > >} ># 34 "/usr/include/gtk-2.0/gdk/gdkx.h" 2 ># 1 "/usr/X11R6/include/X11/Xutil.h" 1 ># 74 "/usr/X11R6/include/X11/Xutil.h" >typedef struct { > long flags; > int x, y; > int width, height; > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; > struct { > int x; > int y; > } min_aspect, max_aspect; > int base_width, base_height; > int win_gravity; >} XSizeHints; ># 112 "/usr/X11R6/include/X11/Xutil.h" >typedef struct { > long flags; > int input; > > int initial_state; > Pixmap icon_pixmap; > Window icon_window; > int icon_x, icon_y; > Pixmap icon_mask; > XID window_group; > >} XWMHints; ># 156 "/usr/X11R6/include/X11/Xutil.h" >typedef struct { > unsigned char *value; > Atom encoding; > int format; > unsigned long nitems; >} XTextProperty; > > > > > >typedef enum { > XStringStyle, > XCompoundTextStyle, > XTextStyle, > XStdICCTextStyle, > > XUTF8StringStyle >} XICCEncodingStyle; > >typedef struct { > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; >} XIconSize; > >typedef struct { > char *res_name; > char *res_class; >} XClassHint; ># 205 "/usr/X11R6/include/X11/Xutil.h" >typedef struct _XComposeStatus { > XPointer compose_ptr; > int chars_matched; >} XComposeStatus; ># 240 "/usr/X11R6/include/X11/Xutil.h" >typedef struct _XRegion *Region; ># 254 "/usr/X11R6/include/X11/Xutil.h" >typedef struct { > Visual *visual; > VisualID visualid; > int screen; > int depth; > > int c_class; > > > > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > int colormap_size; > int bits_per_rgb; >} XVisualInfo; ># 287 "/usr/X11R6/include/X11/Xutil.h" >typedef struct { > Colormap colormap; > unsigned long red_max; > unsigned long red_mult; > unsigned long green_max; > unsigned long green_mult; > unsigned long blue_max; > unsigned long blue_mult; > unsigned long base_pixel; > VisualID visualid; > XID killid; >} XStandardColormap; ># 324 "/usr/X11R6/include/X11/Xutil.h" >typedef int XContext; > > > > >extern "C" { > > > >extern XClassHint *XAllocClassHint ( > > void > >); > >extern XIconSize *XAllocIconSize ( > > void > >); > >extern XSizeHints *XAllocSizeHints ( > > void > >); > >extern XStandardColormap *XAllocStandardColormap ( > > void > >); > >extern XWMHints *XAllocWMHints ( > > void > >); > >extern int XClipBox( > > Region , > XRectangle* > >); > >extern Region XCreateRegion( > > void > >); > >extern const char *XDefaultString (void); > >extern int XDeleteContext( > > Display* , > XID , > XContext > >); > >extern int XDestroyRegion( > > Region > >); > >extern int XEmptyRegion( > > Region > >); > >extern int XEqualRegion( > > Region , > Region > >); > >extern int XFindContext( > > Display* , > XID , > XContext , > XPointer* > >); > >extern int XGetClassHint( > > Display* , > Window , > XClassHint* > >); > >extern int XGetIconSizes( > > Display* , > Window , > XIconSize** , > int* > >); > >extern int XGetNormalHints( > > Display* , > Window , > XSizeHints* > >); > >extern int XGetRGBColormaps( > > Display* , > Window , > XStandardColormap** , > int* , > Atom > >); > >extern int XGetSizeHints( > > Display* , > Window , > XSizeHints* , > Atom > >); > >extern int XGetStandardColormap( > > Display* , > Window , > XStandardColormap* , > Atom > >); > >extern int XGetTextProperty( > > Display* , > Window , > XTextProperty* , > Atom > >); > >extern XVisualInfo *XGetVisualInfo( > > Display* , > long , > XVisualInfo* , > int* > >); > >extern int XGetWMClientMachine( > > Display* , > Window , > XTextProperty* > >); > >extern XWMHints *XGetWMHints( > > Display* , > Window > >); > >extern int XGetWMIconName( > > Display* , > Window , > XTextProperty* > >); > >extern int XGetWMName( > > Display* , > Window , > XTextProperty* > >); > >extern int XGetWMNormalHints( > > Display* , > Window , > XSizeHints* , > long* > >); > >extern int XGetWMSizeHints( > > Display* , > Window , > XSizeHints* , > long* , > Atom > >); > >extern int XGetZoomHints( > > Display* , > Window , > XSizeHints* > >); > >extern int XIntersectRegion( > > Region , > Region , > Region > >); > >extern void XConvertCase( > > KeySym , > KeySym* , > KeySym* > >); > >extern int XLookupString( > > XKeyEvent* , > char* , > int , > KeySym* , > XComposeStatus* > >); > >extern int XMatchVisualInfo( > > Display* , > int , > int , > int , > XVisualInfo* > >); > >extern int XOffsetRegion( > > Region , > int , > int > >); > >extern int XPointInRegion( > > Region , > int , > int > >); > >extern Region XPolygonRegion( > > XPoint* , > int , > int > >); > >extern int XRectInRegion( > > Region , > int , > int , > unsigned int , > unsigned int > >); > >extern int XSaveContext( > > Display* , > XID , > XContext , > const char* > >); > >extern int XSetClassHint( > > Display* , > Window , > XClassHint* > >); > >extern int XSetIconSizes( > > Display* , > Window , > XIconSize* , > int > >); > >extern int XSetNormalHints( > > Display* , > Window , > XSizeHints* > >); > >extern void XSetRGBColormaps( > > Display* , > Window , > XStandardColormap* , > int , > Atom > >); > >extern int XSetSizeHints( > > Display* , > Window , > XSizeHints* , > Atom > >); > >extern int XSetStandardProperties( > > Display* , > Window , > const char* , > const char* , > Pixmap , > char** , > int , > XSizeHints* > >); > >extern void XSetTextProperty( > > Display* , > Window , > XTextProperty* , > Atom > >); > >extern void XSetWMClientMachine( > > Display* , > Window , > XTextProperty* > >); > >extern int XSetWMHints( > > Display* , > Window , > XWMHints* > >); > >extern void XSetWMIconName( > > Display* , > Window , > XTextProperty* > >); > >extern void XSetWMName( > > Display* , > Window , > XTextProperty* > >); > >extern void XSetWMNormalHints( > > Display* , > Window , > XSizeHints* > >); > >extern void XSetWMProperties( > > Display* , > Window , > XTextProperty* , > XTextProperty* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* > >); > >extern void XmbSetWMProperties( > > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* > >); > >extern void Xutf8SetWMProperties( > > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* > >); > >extern void XSetWMSizeHints( > > Display* , > Window , > XSizeHints* , > Atom > >); > >extern int XSetRegion( > > Display* , > GC , > Region > >); > >extern void XSetStandardColormap( > > Display* , > Window , > XStandardColormap* , > Atom > >); > >extern int XSetZoomHints( > > Display* , > Window , > XSizeHints* > >); > >extern int XShrinkRegion( > > Region , > int , > int > >); > >extern int XStringListToTextProperty( > > char** , > int , > XTextProperty* > >); > >extern int XSubtractRegion( > > Region , > Region , > Region > >); > >extern int XmbTextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int XwcTextListToTextProperty( > Display* display, > wchar_t** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int Xutf8TextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern void XwcFreeStringList( > wchar_t** list >); > >extern int XTextPropertyToStringList( > > XTextProperty* , > char*** , > int* > >); > >extern int XmbTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XwcTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > wchar_t*** list_return, > int* count_return >); > >extern int Xutf8TextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XUnionRectWithRegion( > > XRectangle* , > Region , > Region > >); > >extern int XUnionRegion( > > Region , > Region , > Region > >); > >extern int XWMGeometry( > > Display* , > int , > const char* , > const char* , > unsigned int , > XSizeHints* , > int* , > int* , > int* , > int* , > int* > >); > >extern int XXorRegion( > > Region , > Region , > Region > >); > >} ># 35 "/usr/include/gtk-2.0/gdk/gdkx.h" 2 > >extern "C" { > > >extern Display *gdk_display; > > >Display *gdk_x11_drawable_get_xdisplay (GdkDrawable *drawable); >XID gdk_x11_drawable_get_xid (GdkDrawable *drawable); >Display *gdk_x11_image_get_xdisplay (GdkImage *image); >XImage *gdk_x11_image_get_ximage (GdkImage *image); >Display *gdk_x11_colormap_get_xdisplay (GdkColormap *colormap); >Colormap gdk_x11_colormap_get_xcolormap (GdkColormap *colormap); >Display *gdk_x11_cursor_get_xdisplay (GdkCursor *cursor); >Cursor gdk_x11_cursor_get_xcursor (GdkCursor *cursor); >Display *gdk_x11_display_get_xdisplay (GdkDisplay *display); >Visual * gdk_x11_visual_get_xvisual (GdkVisual *visual); >Display *gdk_x11_gc_get_xdisplay (GdkGC *gc); >GC gdk_x11_gc_get_xgc (GdkGC *gc); >Screen * gdk_x11_screen_get_xscreen (GdkScreen *screen); >int gdk_x11_screen_get_screen_number (GdkScreen *screen); > >const char* gdk_x11_screen_get_window_manager_name (GdkScreen *screen); > > >Window gdk_x11_get_default_root_xwindow (void); >Display *gdk_x11_get_default_xdisplay (void); >gint gdk_x11_get_default_screen (void); ># 122 "/usr/include/gtk-2.0/gdk/gdkx.h" >GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen, > VisualID xvisualid); > >GdkVisual* gdkx_visual_get (VisualID xvisualid); > > > > > > > >GdkColormap *gdk_x11_colormap_foreign_new (GdkVisual *visual, > Colormap xcolormap); > > >gpointer gdk_xid_table_lookup_for_display (GdkDisplay *display, > XID xid); >guint32 gdk_x11_get_server_time (GdkWindow *window); > > >gboolean gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen, > GdkAtom property); > > >gpointer gdk_xid_table_lookup (XID xid); >gboolean gdk_net_wm_supports (GdkAtom property); >void gdk_x11_grab_server (void); >void gdk_x11_ungrab_server (void); > > > >GdkDisplay *gdk_x11_lookup_xdisplay (Display *xdisplay); > > > >Atom gdk_x11_atom_to_xatom_for_display (GdkDisplay *display, > GdkAtom atom); >GdkAtom gdk_x11_xatom_to_atom_for_display (GdkDisplay *display, > Atom xatom); >Atom gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display, > const gchar *atom_name); >const gchar *gdk_x11_get_xatom_name_for_display (GdkDisplay *display, > Atom xatom); > >Atom gdk_x11_atom_to_xatom (GdkAtom atom); >GdkAtom gdk_x11_xatom_to_atom (Atom xatom); >Atom gdk_x11_get_xatom_by_name (const gchar *atom_name); >const gchar *gdk_x11_get_xatom_name (Atom xatom); > > >void gdk_x11_display_grab (GdkDisplay *display); >void gdk_x11_display_ungrab (GdkDisplay *display); >void gdk_x11_register_standard_event_type (GdkDisplay *display, > gint event_base, > gint n_events); > > > >gpointer gdk_x11_font_get_xfont (GdkFont *font); ># 189 "/usr/include/gtk-2.0/gdk/gdkx.h" >Display * gdk_x11_font_get_xdisplay (GdkFont *font); >const char *gdk_x11_font_get_name (GdkFont *font); ># 201 "/usr/include/gtk-2.0/gdk/gdkx.h" >} ># 46 "../x11shared/nsXFontAAScaledBitmap.h" 2 > > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 1 ># 38 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" 1 ># 44 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" 1 ># 50 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >extern "C" { ># 63 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >typedef struct PRLock PRLock; ># 80 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >extern PRLock* PR_NewLock(void); ># 91 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >extern void PR_DestroyLock(PRLock *lock); ># 102 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >extern void PR_Lock(PRLock *lock); ># 114 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlock.h" >extern PRStatus PR_Unlock(PRLock *lock); > >} ># 45 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" 2 > >extern "C" { ># 57 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRInt32 PR_AtomicIncrement(PRInt32 *val); ># 68 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRInt32 PR_AtomicDecrement(PRInt32 *val); ># 80 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRInt32 PR_AtomicSet(PRInt32 *val, PRInt32 newval); ># 92 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRInt32 PR_AtomicAdd(PRInt32 *ptr, PRInt32 val); > > > > >typedef struct PRStackElemStr PRStackElem; > >struct PRStackElemStr { > PRStackElem *prstk_elem_next; > >}; > >typedef struct PRStackStr PRStack; ># 115 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRStack * PR_CreateStack(const char *stack_name); ># 127 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern void PR_StackPush(PRStack *stack, PRStackElem *stack_elem); ># 140 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRStackElem * PR_StackPop(PRStack *stack); ># 154 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pratom.h" >extern PRStatus PR_DestroyStack(PRStack *stack); > >} ># 39 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prbit.h" 1 ># 39 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prbit.h" >extern "C" { > > > > >typedef unsigned long prbitmap_t; ># 56 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prbit.h" >extern PRIntn PR_CeilingLog2(PRUint32 i); > > > > >extern PRIntn PR_FloorLog2(PRUint32 i); ># 107 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prbit.h" >} ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prclist.h" 1 ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prclist.h" >typedef struct PRCListStr PRCList; > > > > >struct PRCListStr { > PRCList *next; > PRCList *prev; >}; ># 41 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcmon.h" 1 ># 48 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcmon.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmon.h" 1 ># 39 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmon.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" 1 ># 52 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" >extern "C" { > > > > > >typedef PRUint32 PRIntervalTime; ># 105 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" >extern PRIntervalTime PR_IntervalNow(void); ># 123 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" >extern PRUint32 PR_TicksPerSecond(void); ># 142 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" >extern PRIntervalTime PR_SecondsToInterval(PRUint32 seconds); >extern PRIntervalTime PR_MillisecondsToInterval(PRUint32 milli); >extern PRIntervalTime PR_MicrosecondsToInterval(PRUint32 micro); ># 163 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinrval.h" >extern PRUint32 PR_IntervalToSeconds(PRIntervalTime ticks); >extern PRUint32 PR_IntervalToMilliseconds(PRIntervalTime ticks); >extern PRUint32 PR_IntervalToMicroseconds(PRIntervalTime ticks); > >} ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmon.h" 2 > >extern "C" { > >typedef struct PRMonitor PRMonitor; ># 52 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmon.h" >extern PRMonitor* PR_NewMonitor(void); > > > > > > > >extern void PR_DestroyMonitor(PRMonitor *mon); > > > > > > >extern void PR_EnterMonitor(PRMonitor *mon); > > > > > > >extern PRStatus PR_ExitMonitor(PRMonitor *mon); ># 92 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmon.h" >extern PRStatus PR_Wait(PRMonitor *mon, PRIntervalTime ticks); > > > > > > >extern PRStatus PR_Notify(PRMonitor *mon); > > > > > > >extern PRStatus PR_NotifyAll(PRMonitor *mon); > >} ># 49 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcmon.h" 2 > > >extern "C" { ># 61 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcmon.h" >extern PRMonitor* PR_CEnterMonitor(void *address); > > > > > >extern PRStatus PR_CExitMonitor(void *address); > > > > > >extern PRStatus PR_CWait(void *address, PRIntervalTime timeout); > > > > > >extern PRStatus PR_CNotify(void *address); > > > > > >extern PRStatus PR_CNotifyAll(void *address); > > > > > >extern void PR_CSetOnMonitorRecycle(void ( *callback)(void *address)); > >} ># 42 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" 1 ># 41 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" >extern "C" { > >typedef struct PRCondVar PRCondVar; ># 56 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" >extern PRCondVar* PR_NewCondVar(PRLock *lock); > > > > > > > >extern void PR_DestroyCondVar(PRCondVar *cvar); ># 94 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" >extern PRStatus PR_WaitCondVar(PRCondVar *cvar, PRIntervalTime timeout); ># 109 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" >extern PRStatus PR_NotifyCondVar(PRCondVar *cvar); ># 119 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prcvar.h" >extern PRStatus PR_NotifyAllCondVar(PRCondVar *cvar); > >} ># 43 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prdtoa.h" 1 ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prdtoa.h" >extern "C" { ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prdtoa.h" >extern PRFloat64 > >PR_strtod(const char *s00, char **se); > > > > > > > >extern void PR_cnvtf(char *buf, PRIntn bufsz, PRIntn prcsn, PRFloat64 fval); ># 82 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prdtoa.h" >extern PRStatus PR_dtoa(PRFloat64 d, PRIntn mode, PRIntn ndigits, > PRIntn *decpt, PRIntn *sign, char **rve, char *buf, PRSize bufsize); > >} ># 44 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prenv.h" 1 ># 46 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prenv.h" >extern "C" { ># 120 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prenv.h" >extern char* PR_GetEnv(const char *var); ># 143 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prenv.h" >extern PRStatus PR_SetEnv(const char *string); ># 152 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prenv.h" >} ># 45 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" 1 ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern "C" { > >typedef PRInt32 PRErrorCode; > > > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerr.h" 1 ># 272 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerr.h" >extern void nspr_InitializePRErrorTable(void); ># 47 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" 2 > > > > > > > >extern void PR_SetError(PRErrorCode errorCode, PRInt32 oserr); ># 65 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern void PR_SetErrorText( > PRIntn textLength, const char *text); > > > > >extern PRErrorCode PR_GetError(void); > > > > > >extern PRInt32 PR_GetOSError(void); > > > > > > >extern PRInt32 PR_GetErrorTextLength(void); > > > > > > >extern PRInt32 PR_GetErrorText(char *text); ># 174 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >typedef PRUint32 PRLanguageCode; ># 183 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >struct PRErrorMessage { > const char * name; > const char * en_text; >}; > > > > > > >struct PRErrorTable { > const struct PRErrorMessage * msgs; > const char *name; > PRErrorCode base; > int n_msgs; >}; > > > > > > >struct PRErrorCallbackPrivate; > > > > > > > >struct PRErrorCallbackTablePrivate; ># 225 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >typedef const char * >PRErrorCallbackLookupFn(PRErrorCode code, PRLanguageCode language, > const struct PRErrorTable *table, > struct PRErrorCallbackPrivate *cb_private, > struct PRErrorCallbackTablePrivate *table_private); ># 241 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >typedef struct PRErrorCallbackTablePrivate * >PRErrorCallbackNewTableFn(const struct PRErrorTable *table, > struct PRErrorCallbackPrivate *cb_private); ># 259 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern const char * PR_ErrorToString(PRErrorCode code, > PRLanguageCode language); ># 273 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern const char * PR_ErrorToName(PRErrorCode code); ># 287 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern const char * const * PR_ErrorLanguages(void); ># 300 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern PRErrorCode PR_ErrorInstallTable(const struct PRErrorTable *table); ># 316 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prerror.h" >extern void PR_ErrorInstallCallback(const char * const * languages, > PRErrorCallbackLookupFn *lookup, > PRErrorCallbackNewTableFn *newtable, > struct PRErrorCallbackPrivate *cb_private); > >} ># 46 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" 1 ># 65 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 25 "/usr/include/sys/socket.h" 3 4 >extern "C" { > ># 1 "/usr/include/sys/uio.h" 1 3 4 ># 26 "/usr/include/sys/uio.h" 3 4 >extern "C" { > > ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 42 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 30 "/usr/include/sys/uio.h" 2 3 4 ># 40 "/usr/include/sys/uio.h" 3 4 >extern ssize_t readv (int __fd, __const struct iovec *__vector, int __count); ># 50 "/usr/include/sys/uio.h" 3 4 >extern ssize_t writev (int __fd, __const struct iovec *__vector, int __count); > >} ># 28 "/usr/include/sys/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 30 "/usr/include/sys/socket.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 29 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 30 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 1 3 4 ># 32 "/usr/include/bits/socket.h" 2 3 4 > > > > >typedef __socklen_t socklen_t; > > > > >enum __socket_type >{ > SOCK_STREAM = 1, > > > SOCK_DGRAM = 2, > > > SOCK_RAW = 3, > > SOCK_RDM = 4, > > SOCK_SEQPACKET = 5, > > > SOCK_PACKET = 10 > > > >}; ># 142 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/sockaddr.h" 1 3 4 ># 29 "/usr/include/bits/sockaddr.h" 3 4 >typedef unsigned short int sa_family_t; ># 143 "/usr/include/bits/socket.h" 2 3 4 > > >struct sockaddr > { > sa_family_t sa_family; > char sa_data[14]; > }; ># 162 "/usr/include/bits/socket.h" 3 4 >struct sockaddr_storage > { > sa_family_t ss_family; > __uint32_t __ss_align; > char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; > }; > > > >enum > { > MSG_OOB = 0x01, > > MSG_PEEK = 0x02, > > MSG_DONTROUTE = 0x04, > > > > MSG_TRYHARD = MSG_DONTROUTE, > > > MSG_CTRUNC = 0x08, > > MSG_PROXY = 0x10, > > MSG_TRUNC = 0x20, > > MSG_DONTWAIT = 0x40, > > MSG_EOR = 0x80, > > MSG_WAITALL = 0x100, > > MSG_FIN = 0x200, > > MSG_SYN = 0x400, > > MSG_CONFIRM = 0x800, > > MSG_RST = 0x1000, > > MSG_ERRQUEUE = 0x2000, > > MSG_NOSIGNAL = 0x4000, > > MSG_MORE = 0x8000 > > }; > > > > >struct msghdr > { > void *msg_name; > socklen_t msg_namelen; > > struct iovec *msg_iov; > size_t msg_iovlen; > > void *msg_control; > size_t msg_controllen; > > int msg_flags; > }; > > >struct cmsghdr > { > size_t cmsg_len; > > int cmsg_level; > int cmsg_type; > > > > }; ># 257 "/usr/include/bits/socket.h" 3 4 >extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, > struct cmsghdr *__cmsg) throw (); > > > > >extern __inline struct cmsghdr * >__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) throw () >{ > if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) > > return 0; > > __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg > + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); > if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control > + __mhdr->msg_controllen) > || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) > > return 0; > return __cmsg; >} > > > > >enum > { > SCM_RIGHTS = 0x01, > > > SCM_CREDENTIALS = 0x02, > > > __SCM_CONNECT = 0x03 > }; > > > >struct ucred >{ > pid_t pid; > uid_t uid; > gid_t gid; >}; > > ># 1 "/usr/include/asm/socket.h" 1 3 4 > > > > ># 1 "/usr/include/asm/sockios.h" 1 3 4 ># 6 "/usr/include/asm/socket.h" 2 3 4 ># 306 "/usr/include/bits/socket.h" 2 3 4 > > > >struct linger > { > int l_onoff; > int l_linger; > }; ># 36 "/usr/include/sys/socket.h" 2 3 4 > > > > >struct osockaddr > { > unsigned short int sa_family; > unsigned char sa_data[14]; > }; > > > > >enum >{ > SHUT_RD = 0, > > SHUT_WR, > > SHUT_RDWR > >}; ># 100 "/usr/include/sys/socket.h" 3 4 >extern int socket (int __domain, int __type, int __protocol) throw (); > > > > > >extern int socketpair (int __domain, int __type, int __protocol, > int __fds[2]) throw (); > > >extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) > throw (); > > >extern int getsockname (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) throw (); ># 124 "/usr/include/sys/socket.h" 3 4 >extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); > > > >extern int getpeername (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) throw (); > > > > > > >extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, > int __flags, __const struct sockaddr * __addr, > socklen_t __addr_len); ># 161 "/usr/include/sys/socket.h" 3 4 >extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, > int __flags, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, > int __flags); > > > > > > >extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); > > > > > >extern int getsockopt (int __fd, int __level, int __optname, > void *__restrict __optval, > socklen_t *__restrict __optlen) throw (); > > > > >extern int setsockopt (int __fd, int __level, int __optname, > __const void *__optval, socklen_t __optlen) throw (); > > > > > >extern int listen (int __fd, int __n) throw (); ># 209 "/usr/include/sys/socket.h" 3 4 >extern int accept (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern int shutdown (int __fd, int __how) throw (); > > > > >extern int sockatmark (int __fd) throw (); > > > > > > > >extern int isfdtype (int __fd, int __fdtype) throw (); > > >} ># 66 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" 2 ># 1 "/usr/include/netinet/in.h" 1 3 4 ># 23 "/usr/include/netinet/in.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 24 "/usr/include/netinet/in.h" 2 3 4 > > > > >extern "C" { > > >enum > { > IPPROTO_IP = 0, > > IPPROTO_HOPOPTS = 0, > > IPPROTO_ICMP = 1, > > IPPROTO_IGMP = 2, > > IPPROTO_IPIP = 4, > > IPPROTO_TCP = 6, > > IPPROTO_EGP = 8, > > IPPROTO_PUP = 12, > > IPPROTO_UDP = 17, > > IPPROTO_IDP = 22, > > IPPROTO_TP = 29, > > IPPROTO_IPV6 = 41, > > IPPROTO_ROUTING = 43, > > IPPROTO_FRAGMENT = 44, > > IPPROTO_RSVP = 46, > > IPPROTO_GRE = 47, > > IPPROTO_ESP = 50, > > IPPROTO_AH = 51, > > IPPROTO_ICMPV6 = 58, > > IPPROTO_NONE = 59, > > IPPROTO_DSTOPTS = 60, > > IPPROTO_MTP = 92, > > IPPROTO_ENCAP = 98, > > IPPROTO_PIM = 103, > > IPPROTO_COMP = 108, > > IPPROTO_SCTP = 132, > > IPPROTO_RAW = 255, > > IPPROTO_MAX > }; > > > >typedef uint16_t in_port_t; > > >enum > { > IPPORT_ECHO = 7, > IPPORT_DISCARD = 9, > IPPORT_SYSTAT = 11, > IPPORT_DAYTIME = 13, > IPPORT_NETSTAT = 15, > IPPORT_FTP = 21, > IPPORT_TELNET = 23, > IPPORT_SMTP = 25, > IPPORT_TIMESERVER = 37, > IPPORT_NAMESERVER = 42, > IPPORT_WHOIS = 43, > IPPORT_MTP = 57, > > IPPORT_TFTP = 69, > IPPORT_RJE = 77, > IPPORT_FINGER = 79, > IPPORT_TTYLINK = 87, > IPPORT_SUPDUP = 95, > > > IPPORT_EXECSERVER = 512, > IPPORT_LOGINSERVER = 513, > IPPORT_CMDSERVER = 514, > IPPORT_EFSSERVER = 520, > > > IPPORT_BIFFUDP = 512, > IPPORT_WHOSERVER = 513, > IPPORT_ROUTESERVER = 520, > > > IPPORT_RESERVED = 1024, > > > IPPORT_USERRESERVED = 5000 > }; > > > >typedef uint32_t in_addr_t; >struct in_addr > { > in_addr_t s_addr; > }; ># 193 "/usr/include/netinet/in.h" 3 4 >struct in6_addr > { > union > { > uint8_t u6_addr8[16]; > uint16_t u6_addr16[8]; > uint32_t u6_addr32[4]; > } in6_u; > > > > }; > >extern const struct in6_addr in6addr_any; >extern const struct in6_addr in6addr_loopback; ># 219 "/usr/include/netinet/in.h" 3 4 >struct sockaddr_in > { > sa_family_t sin_family; > in_port_t sin_port; > struct in_addr sin_addr; > > > unsigned char sin_zero[sizeof (struct sockaddr) - > (sizeof (unsigned short int)) - > sizeof (in_port_t) - > sizeof (struct in_addr)]; > }; > > >struct sockaddr_in6 > { > sa_family_t sin6_family; > in_port_t sin6_port; > uint32_t sin6_flowinfo; > struct in6_addr sin6_addr; > uint32_t sin6_scope_id; > }; > > >struct ipv6_mreq > { > > struct in6_addr ipv6mr_multiaddr; > > > unsigned int ipv6mr_interface; > }; > > ># 1 "/usr/include/bits/in.h" 1 3 4 ># 66 "/usr/include/bits/in.h" 3 4 >struct ip_opts > { > struct in_addr ip_dst; > char ip_opts[40]; > }; > > >struct ip_mreq > { > struct in_addr imr_multiaddr; > struct in_addr imr_interface; > }; > > >struct ip_mreqn > { > struct in_addr imr_multiaddr; > struct in_addr imr_address; > int imr_ifindex; > }; > > >struct in_pktinfo > { > int ipi_ifindex; > struct in_addr ipi_spec_dst; > struct in_addr ipi_addr; > }; ># 254 "/usr/include/netinet/in.h" 2 3 4 ># 262 "/usr/include/netinet/in.h" 3 4 >extern uint32_t ntohl (uint32_t __netlong) throw () __attribute__ ((__const__)); >extern uint16_t ntohs (uint16_t __netshort) > throw () __attribute__ ((__const__)); >extern uint32_t htonl (uint32_t __hostlong) > throw () __attribute__ ((__const__)); >extern uint16_t htons (uint16_t __hostshort) > throw () __attribute__ ((__const__)); > > > > ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 274 "/usr/include/netinet/in.h" 2 3 4 ># 336 "/usr/include/netinet/in.h" 3 4 >extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) throw (); > > >extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) > throw (); ># 364 "/usr/include/netinet/in.h" 3 4 >struct in6_pktinfo > { > struct in6_addr ipi6_addr; > unsigned int ipi6_ifindex; > }; > > > > >extern int inet6_option_space (int __nbytes); >extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp, > int __type); >extern int inet6_option_append (struct cmsghdr *__cmsg, > __const uint8_t *__typep, int __multx, > int __plusy); >extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen, > int __multx, int __plusy); >extern int inet6_option_next (__const struct cmsghdr *__cmsg, > uint8_t **__tptrp); >extern int inet6_option_find (__const struct cmsghdr *__cmsg, > uint8_t **__tptrp, int __type); > > >} ># 67 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" 2 ># 81 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" ># 1 "/usr/include/arpa/inet.h" 1 3 4 ># 31 "/usr/include/arpa/inet.h" 3 4 >extern "C" { > > > >extern in_addr_t inet_addr (__const char *__cp) throw (); > > >extern in_addr_t inet_lnaof (struct in_addr __in) throw (); > > > >extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) > throw (); > > >extern in_addr_t inet_netof (struct in_addr __in) throw (); > > > >extern in_addr_t inet_network (__const char *__cp) throw (); > > > >extern char *inet_ntoa (struct in_addr __in) throw (); > > > > >extern int inet_pton (int __af, __const char *__restrict __cp, > void *__restrict __buf) throw (); > > > > >extern __const char *inet_ntop (int __af, __const void *__restrict __cp, > char *__restrict __buf, socklen_t __len) > throw (); > > > > > > >extern in_addr_t inet_aton (__const char *__cp, struct in_addr *__inp) throw (); > > > >extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) throw (); > > > > >extern char *inet_net_ntop (int __af, __const void *__cp, int __bits, > char *__buf, size_t __len) throw (); > > > > >extern int inet_net_pton (int __af, __const char *__cp, > void *__buf, size_t __len) throw (); > > > > >extern unsigned int inet_nsap_addr (__const char *__cp, > unsigned char *__buf, int __len) throw (); > > > >extern char *inet_nsap_ntoa (int __len, __const unsigned char *__cp, > char *__buf) throw (); > > >} ># 82 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" 2 > ># 1 "/usr/include/netdb.h" 1 3 4 ># 33 "/usr/include/netdb.h" 3 4 ># 1 "/usr/include/rpc/netdb.h" 1 3 4 ># 42 "/usr/include/rpc/netdb.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 43 "/usr/include/rpc/netdb.h" 2 3 4 > >extern "C" { > >struct rpcent >{ > char *r_name; > char **r_aliases; > int r_number; >}; > >extern void setrpcent (int __stayopen) throw (); >extern void endrpcent (void) throw (); >extern struct rpcent *getrpcbyname (__const char *__name) throw (); >extern struct rpcent *getrpcbynumber (int __number) throw (); >extern struct rpcent *getrpcent (void) throw (); > > >extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) throw (); > >extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) throw (); > >extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, > size_t __buflen, struct rpcent **__result) throw (); > > >} ># 34 "/usr/include/netdb.h" 2 3 4 > > > > ># 1 "/usr/include/bits/siginfo.h" 1 3 4 ># 25 "/usr/include/bits/siginfo.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/siginfo.h" 2 3 4 > > > > > > > >typedef union sigval > { > int sival_int; > void *sival_ptr; > } sigval_t; ># 282 "/usr/include/bits/siginfo.h" 3 4 >typedef struct sigevent > { > sigval_t sigev_value; > int sigev_signo; > int sigev_notify; > > union > { > int _pad[((64 / sizeof (int)) - 3)]; > > struct > { > void (*_function) (sigval_t); > void *_attribute; > } _sigev_thread; > } _sigev_un; > } sigevent_t; > > > > > > >enum >{ > SIGEV_SIGNAL = 0, > > SIGEV_NONE, > > SIGEV_THREAD, > > > SIGEV_THREAD_ID = 4 > >}; ># 39 "/usr/include/netdb.h" 2 3 4 > ># 1 "/usr/include/time.h" 1 3 4 ># 41 "/usr/include/netdb.h" 2 3 4 > > ># 1 "/usr/include/bits/netdb.h" 1 3 4 ># 27 "/usr/include/bits/netdb.h" 3 4 >struct netent >{ > char *n_name; > char **n_aliases; > int n_addrtype; > uint32_t n_net; >}; ># 44 "/usr/include/netdb.h" 2 3 4 ># 54 "/usr/include/netdb.h" 3 4 >extern "C" { > > > > > > >extern int *__h_errno_location (void) throw () __attribute__ ((__const__)); ># 88 "/usr/include/netdb.h" 3 4 >extern void herror (__const char *__str) throw (); > > >extern __const char *hstrerror (int __err_num) throw (); > > > > >struct hostent >{ > char *h_name; > char **h_aliases; > int h_addrtype; > int h_length; > char **h_addr_list; > >}; > > > > > > >extern void sethostent (int __stay_open); > > > > > >extern void endhostent (void); > > > > > > >extern struct hostent *gethostent (void); > > > > > > >extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, > int __type); > > > > > >extern struct hostent *gethostbyname (__const char *__name); ># 149 "/usr/include/netdb.h" 3 4 >extern struct hostent *gethostbyname2 (__const char *__name, int __af); ># 161 "/usr/include/netdb.h" 3 4 >extern int gethostent_r (struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, > int __type, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname_r (__const char *__restrict __name, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname2_r (__const char *__restrict __name, int __af, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); ># 192 "/usr/include/netdb.h" 3 4 >extern void setnetent (int __stay_open); > > > > > >extern void endnetent (void); > > > > > > >extern struct netent *getnetent (void); > > > > > > >extern struct netent *getnetbyaddr (uint32_t __net, int __type); > > > > > >extern struct netent *getnetbyname (__const char *__name); ># 231 "/usr/include/netdb.h" 3 4 >extern int getnetent_r (struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyaddr_r (uint32_t __net, int __type, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyname_r (__const char *__restrict __name, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > > > > >struct servent >{ > char *s_name; > char **s_aliases; > int s_port; > char *s_proto; >}; > > > > > > >extern void setservent (int __stay_open); > > > > > >extern void endservent (void); > > > > > > >extern struct servent *getservent (void); > > > > > > >extern struct servent *getservbyname (__const char *__name, > __const char *__proto); > > > > > > >extern struct servent *getservbyport (int __port, __const char *__proto); ># 303 "/usr/include/netdb.h" 3 4 >extern int getservent_r (struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyname_r (__const char *__restrict __name, > __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyport_r (int __port, __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > > > > >struct protoent >{ > char *p_name; > char **p_aliases; > int p_proto; >}; > > > > > > >extern void setprotoent (int __stay_open); > > > > > >extern void endprotoent (void); > > > > > > >extern struct protoent *getprotoent (void); > > > > > >extern struct protoent *getprotobyname (__const char *__name); > > > > > >extern struct protoent *getprotobynumber (int __proto); ># 369 "/usr/include/netdb.h" 3 4 >extern int getprotoent_r (struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobyname_r (__const char *__restrict __name, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobynumber_r (int __proto, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); ># 390 "/usr/include/netdb.h" 3 4 >extern int setnetgrent (__const char *__netgroup); > > > > > > > >extern void endnetgrent (void); ># 407 "/usr/include/netdb.h" 3 4 >extern int getnetgrent (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp); ># 418 "/usr/include/netdb.h" 3 4 >extern int innetgr (__const char *__netgroup, __const char *__host, > __const char *__user, __const char *domain); > > > > > > > >extern int getnetgrent_r (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp, > char *__restrict __buffer, size_t __buflen); ># 446 "/usr/include/netdb.h" 3 4 >extern int rcmd (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 458 "/usr/include/netdb.h" 3 4 >extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 474 "/usr/include/netdb.h" 3 4 >extern int rexec (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 486 "/usr/include/netdb.h" 3 4 >extern int rexec_af (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 500 "/usr/include/netdb.h" 3 4 >extern int ruserok (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser); ># 510 "/usr/include/netdb.h" 3 4 >extern int ruserok_af (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser, > sa_family_t __af); ># 522 "/usr/include/netdb.h" 3 4 >extern int rresvport (int *__alport); ># 531 "/usr/include/netdb.h" 3 4 >extern int rresvport_af (int *__alport, sa_family_t __af); > > > > > > >struct addrinfo >{ > int ai_flags; > int ai_family; > int ai_socktype; > int ai_protocol; > socklen_t ai_addrlen; > struct sockaddr *ai_addr; > char *ai_canonname; > struct addrinfo *ai_next; >}; > > > >struct gaicb >{ > const char *ar_name; > const char *ar_service; > const struct addrinfo *ar_request; > struct addrinfo *ar_result; > > int __return; > int __unused[5]; >}; ># 611 "/usr/include/netdb.h" 3 4 >extern int getaddrinfo (__const char *__restrict __name, > __const char *__restrict __service, > __const struct addrinfo *__restrict __req, > struct addrinfo **__restrict __pai); > > >extern void freeaddrinfo (struct addrinfo *__ai) throw (); > > >extern __const char *gai_strerror (int __ecode) throw (); > > > > > >extern int getnameinfo (__const struct sockaddr *__restrict __sa, > socklen_t __salen, char *__restrict __host, > socklen_t __hostlen, char *__restrict __serv, > socklen_t __servlen, unsigned int __flags); ># 641 "/usr/include/netdb.h" 3 4 >extern int getaddrinfo_a (int __mode, struct gaicb *__list[], > int __ent, struct sigevent *__restrict __sig); ># 652 "/usr/include/netdb.h" 3 4 >extern int gai_suspend (__const struct gaicb *__const __list[], int __ent, > __const struct timespec *__timeout); > > >extern int gai_error (struct gaicb *__req) throw (); > > >extern int gai_cancel (struct gaicb *__gaicbp) throw (); > > >} ># 84 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinet.h" 2 ># 47 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" 1 ># 38 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" 1 ># 78 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern "C" { > >typedef struct PRThread PRThread; >typedef struct PRThreadStack PRThreadStack; > >typedef enum PRThreadType { > PR_USER_THREAD, > PR_SYSTEM_THREAD >} PRThreadType; > >typedef enum PRThreadScope { > PR_LOCAL_THREAD, > PR_GLOBAL_THREAD, > PR_GLOBAL_BOUND_THREAD >} PRThreadScope; > >typedef enum PRThreadState { > PR_JOINABLE_THREAD, > PR_UNJOINABLE_THREAD >} PRThreadState; > >typedef enum PRThreadPriority >{ > PR_PRIORITY_FIRST = 0, > PR_PRIORITY_LOW = 0, > PR_PRIORITY_NORMAL = 1, > PR_PRIORITY_HIGH = 2, > PR_PRIORITY_URGENT = 3, > PR_PRIORITY_LAST = 3 >} PRThreadPriority; ># 134 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern PRThread* PR_CreateThread(PRThreadType type, > void ( *start)(void *arg), > void *arg, > PRThreadPriority priority, > PRThreadScope scope, > PRThreadState state, > PRUint32 stackSize); ># 155 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern PRStatus PR_JoinThread(PRThread *thread); > > > > > >extern PRThread* PR_GetCurrentThread(void); > > > > > > > >extern PRThreadPriority PR_GetThreadPriority(const PRThread *thread); > > > > >extern void PR_SetThreadPriority(PRThread *thread, PRThreadPriority priority); ># 200 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >typedef void ( *PRThreadPrivateDTOR)(void *priv); > >extern PRStatus PR_NewThreadPrivateIndex( > PRUintn *newIndex, PRThreadPrivateDTOR destructor); ># 216 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern PRStatus PR_SetThreadPrivate(PRUintn tpdIndex, void *priv); ># 227 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern void* PR_GetThreadPrivate(PRUintn tpdIndex); ># 239 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern PRStatus PR_Interrupt(PRThread *thread); > > > > > >extern void PR_ClearInterrupt(void); > > > > >extern void PR_BlockInterrupt(void); > > > > >extern void PR_UnblockInterrupt(void); ># 264 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prthread.h" >extern PRStatus PR_Sleep(PRIntervalTime ticks); > > > > >extern PRThreadScope PR_GetThreadScope(const PRThread *thread); > > > > >extern PRThreadType PR_GetThreadType(const PRThread *thread); > > > > >extern PRThreadState PR_GetThreadState(const PRThread *thread); > >} ># 39 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" 2 > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prwin16.h" 1 ># 41 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 >extern "C" { > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 354 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 163 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 173 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 196 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 264 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 312 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 351 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); ># 433 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 463 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 521 "/usr/include/libio.h" 3 4 >} ># 73 "/usr/include/stdio.h" 2 3 4 ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); > > > > > > > > > >extern FILE *tmpfile (void); ># 174 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 196 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 221 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 231 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 262 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) throw (); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw (); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 454 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 465 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 498 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); > ># 543 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 559 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 620 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 631 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 667 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream); ># 686 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 709 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw (); > >extern int ferror (FILE *__stream) throw (); > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw (); >extern int ferror_unlocked (FILE *__stream) throw (); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 748 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw (); > > > > >extern int fileno_unlocked (FILE *__stream) throw (); ># 767 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw (); > > >extern void funlockfile (FILE *__stream) throw (); ># 828 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >inline int >getc_unlocked (FILE *__fp) >{ > return ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >inline int >getchar_unlocked (void) >{ > return ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >inline int >putchar_unlocked (int __c) >{ > return (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >inline int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >inline int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 829 "/usr/include/stdio.h" 2 3 4 > > >} ># 42 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" 2 > >extern "C" { ># 85 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >typedef PRBool (*PRVersionCheck)(const char*); ># 95 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >extern PRBool PR_VersionCheck(const char *importedVersion); ># 108 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >extern void PR_Init( > PRThreadType type, PRThreadPriority priority, PRUintn maxPTDs); ># 129 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >typedef PRIntn ( *PRPrimordialFn)(PRIntn argc, char **argv); > >extern PRIntn PR_Initialize( > PRPrimordialFn prmain, PRIntn argc, char **argv, PRUintn maxPTDs); > > > > >extern PRBool PR_Initialized(void); ># 155 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >extern PRStatus PR_Cleanup(void); > > > > > >extern void PR_DisableClockInterrupts(void); > > > > > >extern void PR_EnableClockInterrupts(void); > > > > > >extern void PR_BlockClockInterrupts(void); > > > > > >extern void PR_UnblockClockInterrupts(void); > > > > >extern void PR_SetConcurrency(PRUintn numCPUs); > > > > > > >extern PRStatus PR_SetFDCacheSize(PRIntn low, PRIntn high); > > > > > > >extern void PR_ProcessExit(PRIntn status); > > > > > > >extern void PR_Abort(void); ># 215 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prinit.h" >typedef struct PRCallOnceType { > PRIntn initialized; > PRInt32 inProgress; > PRStatus status; >} PRCallOnceType; > >typedef PRStatus ( *PRCallOnceFN)(void); > >typedef PRStatus ( *PRCallOnceWithArgFN)(void *arg); > >extern PRStatus PR_CallOnce( > PRCallOnceType *once, > PRCallOnceFN func >); > >extern PRStatus PR_CallOnceWithArg( > PRCallOnceType *once, > PRCallOnceWithArgFN func, > void *arg >); > > >} ># 48 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" 1 ># 45 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlong.h" 1 ># 48 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlong.h" >extern "C" { ># 69 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlong.h" >extern PRInt64 LL_MaxInt(void); >extern PRInt64 LL_MinInt(void); >extern PRInt64 LL_Zero(void); >extern PRUint64 LL_MaxUint(void); ># 428 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlong.h" >} ># 46 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" 1 ># 50 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern "C" { ># 77 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >typedef PRInt64 PRTime; > > > > > > >typedef struct PRTimeParameters { > PRInt32 tp_gmt_offset; > PRInt32 tp_dst_offset; >} PRTimeParameters; ># 112 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >typedef struct PRExplodedTime { > PRInt32 tm_usec; > PRInt32 tm_sec; > > PRInt32 tm_min; > PRInt32 tm_hour; > PRInt32 tm_mday; > > PRInt32 tm_month; > PRInt16 tm_year; > > > PRInt8 tm_wday; > > PRInt16 tm_yday; > > > PRTimeParameters tm_params; >} PRExplodedTime; ># 155 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >typedef PRTimeParameters ( *PRTimeParamFn)(const PRExplodedTime *gmt); ># 177 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern PRTime > >PR_Now(void); ># 191 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern void PR_ExplodeTime( > PRTime usecs, PRTimeParamFn params, PRExplodedTime *exploded); > > > > > >extern PRTime > >PR_ImplodeTime(const PRExplodedTime *exploded); ># 214 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern void PR_NormalizeTime( > PRExplodedTime *exploded, PRTimeParamFn params); > > > > > > >extern PRTimeParameters PR_LocalTimeParameters(const PRExplodedTime *gmt); > > >extern PRTimeParameters PR_GMTParameters(const PRExplodedTime *gmt); > > > > > >extern PRTimeParameters PR_USPacificTimeParameters(const PRExplodedTime *gmt); ># 264 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern PRStatus PR_ParseTimeString ( > const char *string, > PRBool default_to_gmt, > PRTime *result); ># 281 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtime.h" >extern PRUint32 PR_FormatTime(char *buf, int buflen, const char *fmt, > const PRExplodedTime *tm); > > > > >extern PRUint32 >PR_FormatTimeUSEnglish( char* buf, PRUint32 bufSize, > const char* format, const PRExplodedTime* tm ); > > > >} ># 47 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" 2 > > > >extern "C" { > > >typedef struct PRDir PRDir; >typedef struct PRDirEntry PRDirEntry; > > > > >typedef struct PRFileDesc PRFileDesc; >typedef struct PRFileInfo PRFileInfo; >typedef struct PRFileInfo64 PRFileInfo64; >typedef union PRNetAddr PRNetAddr; >typedef struct PRIOMethods PRIOMethods; >typedef struct PRPollDesc PRPollDesc; >typedef struct PRFilePrivate PRFilePrivate; >typedef struct PRSendFileData PRSendFileData; ># 79 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef PRIntn PRDescIdentity; > >struct PRFileDesc { > const PRIOMethods *methods; > PRFilePrivate *secret; > PRFileDesc *lower, *higher; > void ( *dtor)(PRFileDesc *fd); > > PRDescIdentity identity; >}; ># 99 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRTransmitFileFlags { > PR_TRANSMITFILE_KEEP_OPEN = 0, > > PR_TRANSMITFILE_CLOSE_SOCKET = 1 > >} PRTransmitFileFlags; ># 156 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >struct PRIPv6Addr { > union { > PRUint8 _S6_u8[16]; > PRUint16 _S6_u16[8]; > PRUint32 _S6_u32[4]; > PRUint64 _S6_u64[2]; > } _S6_un; >}; > > > > > >typedef struct PRIPv6Addr PRIPv6Addr; > >union PRNetAddr { > struct { > PRUint16 family; > > > > char data[14]; > > } raw; > struct { > PRUint16 family; > PRUint16 port; > PRUint32 ip; > > > > char pad[8]; > > } inet; > struct { > PRUint16 family; > PRUint16 port; > PRUint32 flowinfo; > PRIPv6Addr ip; > PRUint32 scope_id; > } ipv6; > > struct { > PRUint16 family; > > > > > char path[104]; > > } local; > >}; ># 219 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRSockOption >{ > PR_SockOpt_Nonblocking, > PR_SockOpt_Linger, > PR_SockOpt_Reuseaddr, > PR_SockOpt_Keepalive, > PR_SockOpt_RecvBufferSize, > PR_SockOpt_SendBufferSize, > > PR_SockOpt_IpTimeToLive, > PR_SockOpt_IpTypeOfService, > > PR_SockOpt_AddMember, > PR_SockOpt_DropMember, > PR_SockOpt_McastInterface, > PR_SockOpt_McastTimeToLive, > PR_SockOpt_McastLoopback, > > PR_SockOpt_NoDelay, > PR_SockOpt_MaxSegment, > PR_SockOpt_Broadcast, > PR_SockOpt_Last >} PRSockOption; > >typedef struct PRLinger { > PRBool polarity; > PRIntervalTime linger; >} PRLinger; > >typedef struct PRMcastRequest { > PRNetAddr mcaddr; > PRNetAddr ifaddr; >} PRMcastRequest; > >typedef struct PRSocketOptionData >{ > PRSockOption option; > union > { > PRUintn ip_ttl; > PRUintn mcast_ttl; > PRUintn tos; > PRBool non_blocking; > PRBool reuse_addr; > PRBool keep_alive; > PRBool mcast_loopback; > PRBool no_delay; > PRBool broadcast; > PRSize max_segment; > PRSize recv_buffer_size; > PRSize send_buffer_size; > PRLinger linger; > PRMcastRequest add_member; > PRMcastRequest drop_member; > PRNetAddr mcast_if; > } value; >} PRSocketOptionData; ># 285 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef struct PRIOVec { > char *iov_base; > int iov_len; >} PRIOVec; > > > > > > >typedef enum PRDescType >{ > PR_DESC_FILE = 1, > PR_DESC_SOCKET_TCP = 2, > PR_DESC_SOCKET_UDP = 3, > PR_DESC_LAYERED = 4, > PR_DESC_PIPE = 5 >} PRDescType; > >typedef enum PRSeekWhence { > PR_SEEK_SET = 0, > PR_SEEK_CUR = 1, > PR_SEEK_END = 2 >} PRSeekWhence; > >extern PRDescType PR_GetDescType(PRFileDesc *file); ># 328 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef PRStatus ( *PRCloseFN)(PRFileDesc *fd); >typedef PRInt32 ( *PRReadFN)(PRFileDesc *fd, void *buf, PRInt32 amount); >typedef PRInt32 ( *PRWriteFN)(PRFileDesc *fd, const void *buf, PRInt32 amount); >typedef PRInt32 ( *PRAvailableFN)(PRFileDesc *fd); >typedef PRInt64 ( *PRAvailable64FN)(PRFileDesc *fd); >typedef PRStatus ( *PRFsyncFN)(PRFileDesc *fd); >typedef PROffset32 ( *PRSeekFN)(PRFileDesc *fd, PROffset32 offset, PRSeekWhence how); >typedef PROffset64 ( *PRSeek64FN)(PRFileDesc *fd, PROffset64 offset, PRSeekWhence how); >typedef PRStatus ( *PRFileInfoFN)(PRFileDesc *fd, PRFileInfo *info); >typedef PRStatus ( *PRFileInfo64FN)(PRFileDesc *fd, PRFileInfo64 *info); >typedef PRInt32 ( *PRWritevFN)( > PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, > PRIntervalTime timeout); >typedef PRStatus ( *PRConnectFN)( > PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout); >typedef PRFileDesc* ( *PRAcceptFN) ( > PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout); >typedef PRStatus ( *PRBindFN)(PRFileDesc *fd, const PRNetAddr *addr); >typedef PRStatus ( *PRListenFN)(PRFileDesc *fd, PRIntn backlog); >typedef PRStatus ( *PRShutdownFN)(PRFileDesc *fd, PRIntn how); >typedef PRInt32 ( *PRRecvFN)( > PRFileDesc *fd, void *buf, PRInt32 amount, > PRIntn flags, PRIntervalTime timeout); >typedef PRInt32 ( *PRSendFN) ( > PRFileDesc *fd, const void *buf, PRInt32 amount, > PRIntn flags, PRIntervalTime timeout); >typedef PRInt32 ( *PRRecvfromFN)( > PRFileDesc *fd, void *buf, PRInt32 amount, > PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout); >typedef PRInt32 ( *PRSendtoFN)( > PRFileDesc *fd, const void *buf, PRInt32 amount, > PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout); >typedef PRInt16 ( *PRPollFN)( > PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags); >typedef PRInt32 ( *PRAcceptreadFN)( > PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, > void *buf, PRInt32 amount, PRIntervalTime t); >typedef PRInt32 ( *PRTransmitfileFN)( > PRFileDesc *sd, PRFileDesc *fd, const void *headers, > PRInt32 hlen, PRTransmitFileFlags flags, PRIntervalTime t); >typedef PRStatus ( *PRGetsocknameFN)(PRFileDesc *fd, PRNetAddr *addr); >typedef PRStatus ( *PRGetpeernameFN)(PRFileDesc *fd, PRNetAddr *addr); >typedef PRStatus ( *PRGetsocketoptionFN)( > PRFileDesc *fd, PRSocketOptionData *data); >typedef PRStatus ( *PRSetsocketoptionFN)( > PRFileDesc *fd, const PRSocketOptionData *data); >typedef PRInt32 ( *PRSendfileFN)( > PRFileDesc *networkSocket, PRSendFileData *sendData, > PRTransmitFileFlags flags, PRIntervalTime timeout); >typedef PRStatus ( *PRConnectcontinueFN)( > PRFileDesc *fd, PRInt16 out_flags); >typedef PRIntn ( *PRReservedFN)(PRFileDesc *fd); > >struct PRIOMethods { > PRDescType file_type; > PRCloseFN close; > PRReadFN read; > PRWriteFN write; > PRAvailableFN available; > PRAvailable64FN available64; > PRFsyncFN fsync; > PRSeekFN seek; > PRSeek64FN seek64; > PRFileInfoFN fileInfo; > PRFileInfo64FN fileInfo64; > PRWritevFN writev; > PRConnectFN connect; > PRAcceptFN accept; > PRBindFN bind; > PRListenFN listen; > PRShutdownFN shutdown; > PRRecvFN recv; > PRSendFN send; > PRRecvfromFN recvfrom; > PRSendtoFN sendto; > PRPollFN poll; > PRAcceptreadFN acceptread; > PRTransmitfileFN transmitfile; > PRGetsocknameFN getsockname; > PRGetpeernameFN getpeername; > PRReservedFN reserved_fn_6; > PRReservedFN reserved_fn_5; > PRGetsocketoptionFN getsocketoption; > > PRSetsocketoptionFN setsocketoption; > > PRSendfileFN sendfile; > PRConnectcontinueFN connectcontinue; > > PRReservedFN reserved_fn_3; > PRReservedFN reserved_fn_2; > PRReservedFN reserved_fn_1; > PRReservedFN reserved_fn_0; >}; ># 442 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRSpecialFD >{ > PR_StandardInput, > PR_StandardOutput, > PR_StandardError >} PRSpecialFD; > >extern PRFileDesc* PR_GetSpecialFD(PRSpecialFD id); ># 489 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRDescIdentity PR_GetUniqueIdentity(const char *layer_name); >extern const char* PR_GetNameForIdentity(PRDescIdentity ident); >extern PRDescIdentity PR_GetLayersIdentity(PRFileDesc* fd); >extern PRFileDesc* PR_GetIdentitiesLayer(PRFileDesc* fd_stack, PRDescIdentity id); ># 502 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern const PRIOMethods * PR_GetDefaultIOMethods(void); ># 513 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_CreateIOLayerStub( > PRDescIdentity ident, const PRIOMethods *methods); ># 530 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_CreateIOLayer(PRFileDesc* fd); ># 546 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_PushIOLayer( > PRFileDesc *fd_stack, PRDescIdentity id, PRFileDesc *layer); ># 563 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_PopIOLayer(PRFileDesc *fd_stack, PRDescIdentity id); ># 637 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_Open(const char *name, PRIntn flags, PRIntn mode); ># 663 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_OpenFile( > const char *name, PRIntn flags, PRIntn mode); ># 694 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Close(PRFileDesc *fd); ># 729 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Read(PRFileDesc *fd, void *buf, PRInt32 amount); ># 753 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Write(PRFileDesc *fd,const void *buf,PRInt32 amount); ># 787 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Writev( > PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, > PRIntervalTime timeout); ># 808 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Delete(const char *name); > > > >typedef enum PRFileType >{ > PR_FILE_FILE = 1, > PR_FILE_DIRECTORY = 2, > PR_FILE_OTHER = 3 >} PRFileType; > >struct PRFileInfo { > PRFileType type; > PROffset32 size; > PRTime creationTime; > PRTime modifyTime; >}; > >struct PRFileInfo64 { > PRFileType type; > PROffset64 size; > PRTime creationTime; > PRTime modifyTime; >}; ># 851 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_GetFileInfo(const char *fn, PRFileInfo *info); >extern PRStatus PR_GetFileInfo64(const char *fn, PRFileInfo64 *info); ># 878 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_GetOpenFileInfo(PRFileDesc *fd, PRFileInfo *info); >extern PRStatus PR_GetOpenFileInfo64(PRFileDesc *fd, PRFileInfo64 *info); ># 897 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Rename(const char *from, const char *to); ># 923 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRAccessHow { > PR_ACCESS_EXISTS = 1, > PR_ACCESS_WRITE_OK = 2, > PR_ACCESS_READ_OK = 3 >} PRAccessHow; > >extern PRStatus PR_Access(const char *name, PRAccessHow how); ># 964 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PROffset32 PR_Seek(PRFileDesc *fd, PROffset32 offset, PRSeekWhence whence); >extern PROffset64 PR_Seek64(PRFileDesc *fd, PROffset64 offset, PRSeekWhence whence); ># 987 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Available(PRFileDesc *fd); >extern PRInt64 PR_Available64(PRFileDesc *fd); ># 1007 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Sync(PRFileDesc *fd); > > > >struct PRDirEntry { > const char *name; >}; ># 1046 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRDir* PR_OpenDir(const char *name); ># 1078 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRDirFlags { > PR_SKIP_NONE = 0x0, > PR_SKIP_DOT = 0x1, > PR_SKIP_DOT_DOT = 0x2, > PR_SKIP_BOTH = 0x3, > PR_SKIP_HIDDEN = 0x4 >} PRDirFlags; > >extern PRDirEntry* PR_ReadDir(PRDir *dir, PRDirFlags flags); ># 1112 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_CloseDir(PRDir *dir); ># 1141 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_MkDir(const char *name, PRIntn mode); ># 1153 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_MakeDir(const char *name, PRIntn mode); ># 1173 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_RmDir(const char *name); ># 1192 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_NewUDPSocket(void); ># 1211 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_NewTCPSocket(void); ># 1231 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_OpenUDPSocket(PRIntn af); ># 1251 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_OpenTCPSocket(PRIntn af); ># 1275 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Connect( > PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout); ># 1310 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_ConnectContinue(PRFileDesc *fd, PRInt16 out_flags); ># 1340 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_GetConnectStatus(const PRPollDesc *pd); ># 1364 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc* PR_Accept( > PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout); ># 1386 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Bind(PRFileDesc *fd, const PRNetAddr *addr); ># 1408 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_Listen(PRFileDesc *fd, PRIntn backlog); ># 1432 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef enum PRShutdownHow >{ > PR_SHUTDOWN_RCV = 0, > PR_SHUTDOWN_SEND = 1, > PR_SHUTDOWN_BOTH = 2 >} PRShutdownHow; > >extern PRStatus PR_Shutdown(PRFileDesc *fd, PRShutdownHow how); ># 1472 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Recv(PRFileDesc *fd, void *buf, PRInt32 amount, > PRIntn flags, PRIntervalTime timeout); ># 1503 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Send(PRFileDesc *fd, const void *buf, PRInt32 amount, > PRIntn flags, PRIntervalTime timeout); ># 1538 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_RecvFrom( > PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, > PRNetAddr *addr, PRIntervalTime timeout); ># 1571 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_SendTo( > PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, > const PRNetAddr *addr, PRIntervalTime timeout); ># 1611 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_TransmitFile( > PRFileDesc *networkSocket, PRFileDesc *sourceFile, > const void *headers, PRInt32 hlen, PRTransmitFileFlags flags, > PRIntervalTime timeout); ># 1650 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >struct PRSendFileData { > PRFileDesc *fd; > PRUint32 file_offset; > PRSize file_nbytes; > > > const void *header; > PRInt32 hlen; > const void *trailer; > PRInt32 tlen; >}; > > >extern PRInt32 PR_SendFile( > PRFileDesc *networkSocket, PRSendFileData *sendData, > PRTransmitFileFlags flags, PRIntervalTime timeout); ># 1717 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_AcceptRead( > PRFileDesc *listenSock, PRFileDesc **acceptedSock, > PRNetAddr **peerAddr, void *buf, PRInt32 amount, PRIntervalTime timeout); ># 1741 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_NewTCPSocketPair(PRFileDesc *fds[2]); ># 1761 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_GetSockName(PRFileDesc *fd, PRNetAddr *addr); ># 1783 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_GetPeerName(PRFileDesc *fd, PRNetAddr *addr); > >extern PRStatus PR_GetSocketOption( > PRFileDesc *fd, PRSocketOptionData *data); > >extern PRStatus PR_SetSocketOption( > PRFileDesc *fd, const PRSocketOptionData *data); ># 1818 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_SetFDInheritable( > PRFileDesc *fd, > PRBool inheritable); ># 1838 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc * PR_GetInheritedFD(const char *name); ># 1848 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >typedef struct PRFileMap PRFileMap; > > > > >typedef enum PRFileMapProtect { > PR_PROT_READONLY, > PR_PROT_READWRITE, > PR_PROT_WRITECOPY >} PRFileMapProtect; > >extern PRFileMap * PR_CreateFileMap( > PRFileDesc *fd, > PRInt64 size, > PRFileMapProtect prot); > > > > >extern PRInt32 PR_GetMemMapAlignment(void); > >extern void * PR_MemMap( > PRFileMap *fmap, > PROffset64 offset, > > PRUint32 len); > >extern PRStatus PR_MemUnmap(void *addr, PRUint32 len); > >extern PRStatus PR_CloseFileMap(PRFileMap *fmap); ># 1892 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRStatus PR_CreatePipe( > PRFileDesc **readPipe, > PRFileDesc **writePipe >); > > > > > >struct PRPollDesc { > PRFileDesc* fd; > PRInt16 in_flags; > PRInt16 out_flags; >}; ># 1973 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRInt32 PR_Poll( > PRPollDesc *pds, PRIntn npds, PRIntervalTime timeout); ># 2017 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prio.h" >extern PRFileDesc * PR_NewPollableEvent(void); > >extern PRStatus PR_DestroyPollableEvent(PRFileDesc *event); > >extern PRStatus PR_SetPollableEvent(PRFileDesc *event); > >extern PRStatus PR_WaitForPollableEvent(PRFileDesc *event); > >} ># 50 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pripcsem.h" 1 ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pripcsem.h" >extern "C" { > > > > > >typedef struct PRSem PRSem; ># 89 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pripcsem.h" >extern PRSem * PR_OpenSemaphore( > const char *name, PRIntn flags, PRIntn mode, PRUintn value); ># 102 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/pripcsem.h" >extern PRStatus PR_WaitSemaphore(PRSem *sem); > > > > > > > >extern PRStatus PR_PostSemaphore(PRSem *sem); > > > > > > > >extern PRStatus PR_CloseSemaphore(PRSem *sem); > > > > > > > >extern PRStatus PR_DeleteSemaphore(const char *name); > >} ># 51 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" 1 ># 43 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern "C" { > >typedef struct PRLibrary PRLibrary; > >typedef struct PRStaticLinkTable { > const char *name; > void (*fp)(); >} PRStaticLinkTable; ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRStatus PR_SetLibraryPath(const char *path); ># 69 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern char* PR_GetLibraryPath(void); ># 82 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern char* PR_GetLibraryName(const char *dir, const char *lib); > > > > > >extern void PR_FreeLibraryName(char *mem); ># 102 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRLibrary* PR_LoadLibrary(const char *name); ># 123 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >typedef enum PRLibSpecType { > PR_LibSpec_Pathname, > PR_LibSpec_MacNamedFragment, > PR_LibSpec_MacIndexedFragment >} PRLibSpecType; > >struct FSSpec; > >typedef struct PRLibSpec { > PRLibSpecType type; > union { > > const char *pathname; > > > struct { > const struct FSSpec *fsspec; > const char *name; > } mac_named_fragment; > > > struct { > const struct FSSpec *fsspec; > PRUint32 index; > } mac_indexed_fragment; > } value; >} PRLibSpec; ># 166 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRLibrary * >PR_LoadLibraryWithFlags( > PRLibSpec libSpec, > PRIntn flags >); ># 181 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRStatus PR_UnloadLibrary(PRLibrary *lib); ># 191 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern void* PR_FindSymbol(PRLibrary *lib, const char *name); ># 201 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >typedef void (*PRFuncPtr)(); >extern PRFuncPtr PR_FindFunctionSymbol(PRLibrary *lib, const char *name); ># 214 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern void* PR_FindSymbolAndLibrary(const char *name, > PRLibrary* *lib); ># 225 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRFuncPtr PR_FindFunctionSymbolAndLibrary(const char *name, > PRLibrary* *lib); ># 239 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlink.h" >extern PRLibrary* PR_LoadStaticLibrary( > const char *name, const PRStaticLinkTable *table); > > > > > > > >extern char * PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr); > >} ># 52 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlog.h" 1 ># 40 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlog.h" >extern "C" { ># 135 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlog.h" >typedef enum PRLogModuleLevel { > PR_LOG_NONE = 0, > PR_LOG_ALWAYS = 1, > PR_LOG_ERROR = 2, > PR_LOG_WARNING = 3, > PR_LOG_DEBUG = 4, > > PR_LOG_NOTICE = PR_LOG_DEBUG, > PR_LOG_WARN = PR_LOG_WARNING, > PR_LOG_MIN = PR_LOG_DEBUG, > PR_LOG_MAX = PR_LOG_DEBUG >} PRLogModuleLevel; > > > > > > >typedef struct PRLogModuleInfo { > const char *name; > PRLogModuleLevel level; > struct PRLogModuleInfo *next; >} PRLogModuleInfo; > > > > >extern PRLogModuleInfo* PR_NewLogModule(const char *name); > > > > > >extern PRBool PR_SetLogFile(const char *name); > > > > > >extern void PR_SetLogBuffering(PRIntn buffer_size); > > > > > > > >extern void PR_LogPrint(const char *fmt, ...); > > > > >extern void PR_LogFlush(void); ># 251 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prlog.h" >} ># 54 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" 1 ># 44 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 45 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 65 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > > > > > > > unsigned int:16; > unsigned int __w_retcode:8; > unsigned int __w_coredump:1; > unsigned int __w_termsig:7; > > } __wait_terminated; > struct > { > > > > > > > unsigned int:16; > unsigned int __w_stopsig:8; > unsigned int __w_stopval:8; > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 93 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 137 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw (); > > > > >extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > ># 225 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 226 "/usr/include/stdlib.h" 2 3 4 > > > >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw (); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw (); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) throw (); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) throw (); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) throw (); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw (); > > > > > > > > >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} > ># 408 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw (); > > >extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)); ># 423 "/usr/include/stdlib.h" 3 4 >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw (); > > > >extern char *setstate (char *__statebuf) throw (); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw (); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw (); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) throw (); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) throw (); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) throw (); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw (); >extern void lcong48 (unsigned short int __param[7]) throw (); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw (); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw (); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) throw (); > > > > > > > > > >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 579 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw (); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw (); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw (); > > > > >extern char *__secure_getenv (__const char *__name) throw (); > > > > > >extern int putenv (char *__string) throw (); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw (); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw (); ># 674 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template); ># 683 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template); ># 693 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw (); > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) throw (); ># 720 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw (); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)); >extern long int labs (long int __x) throw () __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)); > ># 784 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) throw (); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw (); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); > > > > > > > >extern int mblen (__const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); > > > > > > > > >extern int rpmatch (__const char *__response) throw (); ># 866 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) throw (); > > > > > >extern void setkey (__const char *__key) throw (); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw (); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw (); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) throw (); > > > > > >} ># 46 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" 2 > >extern "C" { ># 64 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" >extern void * PR_Malloc(PRUint32 size); > >extern void * PR_Calloc(PRUint32 nelem, PRUint32 elsize); > >extern void * PR_Realloc(void *ptr, PRUint32 size); > >extern void PR_Free(void *ptr); ># 154 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmem.h" >} ># 56 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" 1 ># 43 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern "C" { ># 66 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef struct PRWaitGroup PRWaitGroup; ># 90 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef enum PRMWStatus >{ > PR_MW_PENDING = 1, > PR_MW_SUCCESS = 0, > PR_MW_FAILURE = -1, > PR_MW_TIMEOUT = -2, > PR_MW_INTERRUPT = -3 >} PRMWStatus; ># 106 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef struct PRMemoryDescriptor >{ > void *start; > PRSize length; >} PRMemoryDescriptor; ># 119 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef struct PRMWaitClientData PRMWaitClientData; ># 137 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef struct PRRecvWait >{ > PRCList internal; > > PRFileDesc *fd; > PRMWStatus outcome; > PRIntervalTime timeout; > > PRInt32 bytesRecv; > PRMemoryDescriptor buffer; > PRMWaitClientData *client; >} PRRecvWait; ># 159 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >typedef struct PRMWaitEnumerator PRMWaitEnumerator; ># 193 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRStatus PR_AddWaitFileDesc(PRWaitGroup *group, PRRecvWait *desc); ># 227 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRRecvWait* PR_WaitRecvReady(PRWaitGroup *group); ># 262 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRStatus PR_CancelWaitFileDesc(PRWaitGroup *group, PRRecvWait *desc); ># 289 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRRecvWait* PR_CancelWaitGroup(PRWaitGroup *group); ># 316 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRWaitGroup* PR_CreateWaitGroup(PRInt32 size); ># 339 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRStatus PR_DestroyWaitGroup(PRWaitGroup *group); ># 361 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRMWaitEnumerator* PR_CreateMWaitEnumerator(PRWaitGroup *group); ># 379 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRStatus PR_DestroyMWaitEnumerator(PRMWaitEnumerator* enumerator); ># 402 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prmwait.h" >extern PRRecvWait* PR_EnumerateWaitGroup( > PRMWaitEnumerator *enumerator, const PRRecvWait *previous); > >} ># 58 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" 1 ># 41 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern "C" { > > > > > > > >extern PRStatus PR_StringToNetAddr( > const char *string, PRNetAddr *addr); > >extern PRStatus PR_NetAddrToString( > const PRNetAddr *addr, char *string, PRUint32 size); ># 65 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >typedef struct PRHostEnt { > char *h_name; > char **h_aliases; > > > > > PRInt32 h_addrtype; > PRInt32 h_length; > > char **h_addr_list; >} PRHostEnt; ># 106 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRStatus PR_GetHostByName( > const char *hostname, char *buf, PRIntn bufsize, PRHostEnt *hostentry); ># 142 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRStatus PR_GetIPNodeByName( > const char *hostname, > PRUint16 af, > PRIntn flags, > char *buf, > PRIntn bufsize, > PRHostEnt *hostentry); ># 171 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRStatus PR_GetHostByAddr( > const PRNetAddr *hostaddr, char *buf, PRIntn bufsize, PRHostEnt *hostentry); ># 205 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRIntn PR_EnumerateHostEnt( > PRIntn enumIndex, const PRHostEnt *hostEnt, PRUint16 port, PRNetAddr *address); ># 230 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >typedef enum PRNetAddrValue >{ > PR_IpAddrNull, > PR_IpAddrAny, > PR_IpAddrLoopback, > PR_IpAddrV4Mapped >} PRNetAddrValue; > >extern PRStatus PR_InitializeNetAddr( > PRNetAddrValue val, PRUint16 port, PRNetAddr *addr); ># 266 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRStatus PR_SetNetAddr( > PRNetAddrValue val, PRUint16 af, PRUint16 port, PRNetAddr *addr); ># 282 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRBool PR_IsNetAddrType(const PRNetAddr *addr, PRNetAddrValue val); ># 299 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern void PR_ConvertIPv4AddrToIPv6(PRUint32 v4addr, PRIPv6Addr *v6addr); ># 350 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >typedef struct PRProtoEnt { > char *p_name; > char **p_aliases; > > > > PRInt32 p_num; > >} PRProtoEnt; > >extern PRStatus PR_GetProtoByName( > const char* protocolname, char* buffer, PRInt32 bufsize, PRProtoEnt* result); ># 385 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRStatus PR_GetProtoByNumber( > PRInt32 protocolnumber, char* buffer, PRInt32 bufsize, PRProtoEnt* result); ># 406 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >typedef struct PRAddrInfo PRAddrInfo; > >extern PRAddrInfo* PR_GetAddrInfoByName( > const char *hostname, PRUint16 af, PRIntn flags); ># 423 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern void PR_FreeAddrInfo(PRAddrInfo *addrInfo); ># 448 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern void * PR_EnumerateAddrInfo( > void *enumPtr, const PRAddrInfo *addrInfo, PRUint16 port, PRNetAddr *result); ># 467 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern const char * PR_GetCanonNameFromAddrInfo( > const PRAddrInfo *addrInfo); ># 483 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prnetdb.h" >extern PRUint16 PR_ntohs(PRUint16); >extern PRUint32 PR_ntohl(PRUint32); >extern PRUint64 PR_ntohll(PRUint64); >extern PRUint16 PR_htons(PRUint16); >extern PRUint32 PR_htonl(PRUint32); >extern PRUint64 PR_htonll(PRUint64); > >} ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prprf.h" 1 ># 59 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prprf.h" >extern "C" { > > > > > > >extern PRUint32 PR_snprintf(char *out, PRUint32 outlen, const char *fmt, ...); > > > > > > >extern char* PR_smprintf(const char *fmt, ...); > > > > >extern void PR_smprintf_free(char *mem); ># 87 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prprf.h" >extern char* PR_sprintf_append(char *last, const char *fmt, ...); ># 96 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prprf.h" >typedef PRIntn (*PRStuffFunc)(void *arg, const char *s, PRUint32 slen); > >extern PRUint32 PR_sxprintf(PRStuffFunc f, void *arg, const char *fmt, ...); > > > > >extern PRUint32 PR_fprintf(struct PRFileDesc* fd, const char *fmt, ...); > > > > >extern PRUint32 PR_vsnprintf(char *out, PRUint32 outlen, const char *fmt, va_list ap); >extern char* PR_vsmprintf(const char *fmt, va_list ap); >extern char* PR_vsprintf_append(char *last, const char *fmt, va_list ap); >extern PRUint32 PR_vsxprintf(PRStuffFunc f, void *arg, const char *fmt, va_list ap); >extern PRUint32 PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap); ># 147 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prprf.h" >extern PRInt32 PR_sscanf(const char *buf, const char *fmt, ...); > >} ># 60 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prproces.h" 1 ># 41 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prproces.h" >extern "C" { > > > > > >typedef struct PRProcess PRProcess; >typedef struct PRProcessAttr PRProcessAttr; > >extern PRProcessAttr * PR_NewProcessAttr(void); > >extern void PR_ResetProcessAttr(PRProcessAttr *attr); > >extern void PR_DestroyProcessAttr(PRProcessAttr *attr); > >extern void PR_ProcessAttrSetStdioRedirect( > PRProcessAttr *attr, > PRSpecialFD stdioFd, > PRFileDesc *redirectFd >); > > > > >extern void PR_SetStdioRedirect( > PRProcessAttr *attr, > PRSpecialFD stdioFd, > PRFileDesc *redirectFd >); > >extern PRStatus PR_ProcessAttrSetCurrentDirectory( > PRProcessAttr *attr, > const char *dir >); > >extern PRStatus PR_ProcessAttrSetInheritableFD( > PRProcessAttr *attr, > PRFileDesc *fd, > const char *name >); ># 95 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prproces.h" >extern PRProcess* PR_CreateProcess( > const char *path, > char *const *argv, > char *const *envp, > const PRProcessAttr *attr); > >extern PRStatus PR_CreateProcessDetached( > const char *path, > char *const *argv, > char *const *envp, > const PRProcessAttr *attr); > >extern PRStatus PR_DetachProcess(PRProcess *process); > >extern PRStatus PR_WaitProcess(PRProcess *process, PRInt32 *exitCode); > >extern PRStatus PR_KillProcess(PRProcess *process); > >} ># 61 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrng.h" 1 ># 48 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrng.h" >extern "C" { ># 96 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrng.h" >extern PRSize PR_GetRandomNoise( > void *buf, > PRSize size >); > >} ># 62 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" 1 ># 46 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern "C" { ># 56 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >typedef struct PRRWLock PRRWLock; ># 73 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern PRRWLock* PR_NewRWLock(PRUint32 lock_rank, const char *lock_name); ># 83 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern void PR_DestroyRWLock(PRRWLock *lock); ># 93 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern void PR_RWLock_Rlock(PRRWLock *lock); ># 103 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern void PR_RWLock_Wlock(PRRWLock *lock); ># 113 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prrwlock.h" >extern void PR_RWLock_Unlock(PRRWLock *lock); > >} ># 63 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" 1 ># 134 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern "C" { > > > > >typedef struct PRSharedMemory PRSharedMemory; ># 176 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern PRSharedMemory * > PR_OpenSharedMemory( > const char *name, > PRSize size, > PRIntn flags, > PRIntn mode >); ># 210 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern void * > PR_AttachSharedMemory( > PRSharedMemory *shm, > PRIntn flags >); ># 236 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern PRStatus > PR_DetachSharedMemory( > PRSharedMemory *shm, > void *addr >); ># 258 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern PRStatus > PR_CloseSharedMemory( > PRSharedMemory *shm >); ># 279 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshm.h" >extern PRStatus > PR_DeleteSharedMemory( > const char *name >); > >} ># 64 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" 1 ># 135 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern "C" { ># 163 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern PRFileMap * >PR_OpenAnonFileMap( > const char *dirName, > PRSize size, > PRFileMapProtect prot >); ># 191 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern PRStatus >PR_ProcessAttrSetInheritableFileMap( > PRProcessAttr *attr, > PRFileMap *fm, > const char *shmname >); ># 216 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern PRFileMap * >PR_GetInheritedFileMap( > const char *shmname >); ># 240 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern PRStatus >PR_ExportFileMapAsString( > PRFileMap *fm, > PRSize bufsize, > char *buf >); ># 262 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prshma.h" >extern PRFileMap * >PR_ImportFileMapFromString( > const char *fmstring >); > >} ># 65 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prsystem.h" 1 ># 43 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prsystem.h" >extern "C" { > > > > > > > >extern char PR_GetDirectorySeparator(void); > > > > > > >extern char PR_GetDirectorySepartor(void); > > > > > > > >extern char PR_GetPathSeparator(void); > > >typedef enum { > PR_SI_HOSTNAME, > PR_SI_SYSNAME, > PR_SI_RELEASE, > PR_SI_ARCHITECTURE >} PRSysInfo; ># 88 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prsystem.h" >extern PRStatus PR_GetSystemInfo(PRSysInfo cmd, char *buf, PRUint32 buflen); > > > > >extern PRInt32 PR_GetPageSize(void); > > > > >extern PRInt32 PR_GetPageShift(void); ># 114 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prsystem.h" >extern PRInt32 PR_GetNumberOfProcessors( void ); > >} ># 66 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 > > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtpool.h" 1 ># 49 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtpool.h" >extern "C" { > >typedef struct PRJobIoDesc { > PRFileDesc *socket; > PRErrorCode error; > PRIntervalTime timeout; >} PRJobIoDesc; > >typedef struct PRThreadPool PRThreadPool; >typedef struct PRJob PRJob; >typedef void ( *PRJobFn) (void *arg); > > >extern PRThreadPool * >PR_CreateThreadPool(PRInt32 initial_threads, PRInt32 max_threads, > PRUint32 stacksize); > > >extern PRJob * >PR_QueueJob(PRThreadPool *tpool, PRJobFn fn, void *arg, PRBool joinable); > > >extern PRJob * >PR_QueueJob_Read(PRThreadPool *tpool, PRJobIoDesc *iod, > PRJobFn fn, void * arg, PRBool joinable); > > >extern PRJob * >PR_QueueJob_Write(PRThreadPool *tpool, PRJobIoDesc *iod, > PRJobFn fn, void * arg, PRBool joinable); > > >extern PRJob * >PR_QueueJob_Accept(PRThreadPool *tpool, PRJobIoDesc *iod, > PRJobFn fn, void * arg, PRBool joinable); > > >extern PRJob * >PR_QueueJob_Connect(PRThreadPool *tpool, PRJobIoDesc *iod, > const PRNetAddr *addr, PRJobFn fn, void * arg, PRBool joinable); > > >extern PRJob * >PR_QueueJob_Timer(PRThreadPool *tpool, PRIntervalTime timeout, > PRJobFn fn, void * arg, PRBool joinable); > >extern PRStatus >PR_CancelJob(PRJob *job); > > >extern PRStatus >PR_JoinJob(PRJob *job); > > >extern PRStatus >PR_ShutdownThreadPool(PRThreadPool *tpool); > > >extern PRStatus >PR_JoinThreadPool(PRThreadPool *tpool); > >} ># 69 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" 1 ># 97 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern "C" { > > > > > > >typedef void * PRTraceHandle; > > > > > > >typedef struct PRTraceEntry >{ > PRThread *thread; > PRTraceHandle handle; > PRTime time; > PRUint32 userData[8]; >} PRTraceEntry; > > > > > > >typedef enum PRTraceOption >{ > PRTraceBufSize, > PRTraceEnable, > PRTraceDisable, > PRTraceSuspend, > PRTraceResume, > PRTraceSuspendRecording, > PRTraceResumeRecording, > PRTraceLockHandles, > PRTraceUnLockHandles, > PRTraceStopRecording >} PRTraceOption; ># 205 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern PRTraceHandle > PR_CreateTrace( > const char *qName, > const char *rName, > const char *description >); ># 239 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_DestroyTrace( > PRTraceHandle handle >); ># 280 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_Trace( > PRTraceHandle handle, > PRUint32 userData0, > PRUint32 userData1, > PRUint32 userData2, > PRUint32 userData3, > PRUint32 userData4, > PRUint32 userData5, > PRUint32 userData6, > PRUint32 userData7 >); ># 367 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_SetTraceOption( > PRTraceOption command, > void *value >); ># 405 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_GetTraceOption( > PRTraceOption command, > void *value >); ># 441 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern PRTraceHandle > PR_GetTraceHandleFromName( > const char *qName, > const char *rName >); ># 473 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_GetTraceNameFromHandle( > PRTraceHandle handle, > const char **qName, > const char **rName, > const char **description >); ># 515 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern PRTraceHandle > PR_FindNextTraceQname( > PRTraceHandle handle >); ># 557 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern PRTraceHandle > PR_FindNextTraceRname( > PRTraceHandle rhandle, > PRTraceHandle qhandle >); ># 613 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern void > PR_RecordTraceEntries( > void >); ># 665 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/prtrace.h" >extern PRIntn > PR_GetTraceEntries( > PRTraceEntry *buffer, > PRInt32 count, > PRInt32 *found >); > >} ># 70 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/nspr.h" 2 ># 49 "../x11shared/nsXFontAAScaledBitmap.h" 2 ># 1 "../x11shared/nsXFont.h" 1 ># 44 "../x11shared/nsXFont.h" >class nsXFont { >public: > virtual ~nsXFont() { }; > virtual void DrawText8(GdkDrawable *Drawable, GdkGC *GC, PRInt32, > PRInt32, const char *, PRUint32) = 0; > virtual void DrawText16(GdkDrawable *Drawable, GdkGC *GC, PRInt32, > PRInt32, const XChar2b *, PRUint32) = 0; > virtual PRBool GetXFontProperty(Atom, unsigned long *) = 0; > virtual XFontStruct *GetXFontStruct() = 0; > inline PRBool IsSingleByte() { return mIsSingleByte; }; > virtual PRBool LoadFont() = 0; > virtual void TextExtents8(const char *, PRUint32, PRInt32*, PRInt32*, > PRInt32*, PRInt32*, PRInt32*) = 0; > virtual void TextExtents16(const XChar2b *, PRUint32, PRInt32*, > PRInt32*, PRInt32*, PRInt32*, PRInt32*) =0; > virtual PRInt32 TextWidth8(const char *, PRUint32) = 0; > virtual PRInt32 TextWidth16(const XChar2b *, PRUint32) = 0; > > virtual void UnloadFont() = 0; >protected: > PRBool mIsSingleByte; >}; ># 50 "../x11shared/nsXFontAAScaledBitmap.h" 2 ># 1 "../x11shared/nsAntiAliasedGlyph.h" 1 ># 13 "../x11shared/nsAntiAliasedGlyph.h" >struct _XImage; ># 25 "../x11shared/nsAntiAliasedGlyph.h" >typedef struct _GlyphMetrics { > PRUint32 width; > PRUint32 height; > PRInt32 lbearing; > PRInt32 rbearing; > PRInt32 advance; > PRInt32 ascent; > PRInt32 descent; >} GlyphMetrics; > > > > >class nsAntiAliasedGlyph { >public: > nsAntiAliasedGlyph(PRUint32 aWidth, PRUint32 aHeight, PRUint32 aBorder); > ~nsAntiAliasedGlyph(); > > PRBool Init(); > PRBool Init(PRUint8 *aBuffer, PRUint32 aBufferLen); > > > > > > inline PRUint32 GetBorder() { return mBorder; }; > inline PRUint8 *GetBuffer() { return mBuffer; }; > inline PRUint32 GetBufferLen() { return mBufferLen; }; > inline PRUint32 GetBufferWidth() { return mBufferWidth; }; > inline PRUint32 GetBufferHeight() { return mBufferHeight; }; > > inline PRInt32 GetAdvance() { return mAdvance; }; > inline PRInt32 GetLBearing() { return mLBearing; }; > inline PRInt32 GetRBearing() { return mRBearing; }; > inline PRUint32 GetWidth() { return mWidth; }; > inline PRUint32 GetHeight() { return mHeight; }; > > PRBool SetImage(XCharStruct *, _XImage *); > PRBool SetSize(GlyphMetrics *); > >protected: > PRUint32 mBorder; > PRInt32 mAscent; > PRInt32 mDescent; > PRInt32 mLBearing; > PRInt32 mRBearing; > PRInt32 mAdvance; > PRUint32 mWidth; > PRUint32 mHeight; > PRUint32 mMaxWidth; > PRUint32 mMaxHeight; > PRUint32 mBufferWidth; > PRUint32 mBufferHeight; > PRBool mOwnBuffer; > PRUint8 *mBuffer; > PRUint32 mBufferLen; >}; ># 51 "../x11shared/nsXFontAAScaledBitmap.h" 2 > >extern PRUint8 gAASBDarkTextMinValue; >extern double gAASBDarkTextGain; >extern PRUint8 gAASBLightTextMinValue; >extern double gAASBLightTextGain; > > > >class nsHashtable; > >class nsXFontAAScaledBitmap : public nsXFont { >public: > > > > > > > nsXFontAAScaledBitmap(Display *aDisplay, int aScreen, GdkFont *, > PRUint16, PRUint16); > ~nsXFontAAScaledBitmap(); > > void DrawText8(GdkDrawable *Drawable, GdkGC *GC, PRInt32, PRInt32, > const char *, PRUint32); > void DrawText16(GdkDrawable *Drawable, GdkGC *GC, PRInt32, PRInt32, > const XChar2b *, PRUint32); > PRBool GetXFontProperty(Atom, unsigned long *); > XFontStruct *GetXFontStruct(); > PRBool LoadFont(); > void TextExtents8(const char *, PRUint32, PRInt32*, PRInt32*, > PRInt32*, PRInt32*, PRInt32*); > void TextExtents16(const XChar2b *, PRUint32, PRInt32*, PRInt32*, > PRInt32*, PRInt32*, PRInt32*); > PRInt32 TextWidth8(const char *, PRUint32); > PRInt32 TextWidth16(const XChar2b *, PRUint32); > void UnloadFont(); > >public: > static PRBool InitGlobals(Display *aDisplay, int aScreen); > static void FreeGlobals(); > >protected: > void DrawText8or16(GdkDrawable *Drawable, GdkGC *GC, PRInt32, > PRInt32, void *, PRUint32); > void TextExtents8or16(void *, PRUint32, PRInt32*, PRInt32*, > PRInt32*, PRInt32*, PRInt32*); > PRBool GetScaledGreyImage(const char *, nsAntiAliasedGlyph **); > > > > static PRBool DisplayIsLocal(Display *); > >protected: > PRBool mAlreadyLoaded; > Display *mDisplay; > GC mForegroundGC; > GdkFont *mGdkFont; > nsHashtable* mGlyphHash; > double mRatio; > XFontStruct mScaledFontInfo; > GlyphMetrics mScaledMax; > int mScreen; > Pixmap mUnscaledBitmap; > XFontStruct *mUnscaledFontInfo; > GlyphMetrics mUnscaledMax; > PRUint16 mUnscaledSize; > > >protected: > static Display *sDisplay; > static GC sBackgroundGC; > > static PRUint8 sWeightedScaleDarkText[256]; > static PRUint8 sWeightedScaleLightText[256]; >}; ># 45 "nsXFontAAScaledBitmap.cpp" 2 ># 1 "nsRenderingContextGTK.h" 1 ># 42 "nsRenderingContextGTK.h" ># 1 "../nsRenderingContextImpl.h" 1 ># 42 "../nsRenderingContextImpl.h" ># 1 "../../../dist/include/xpcom/nsComObsolete.h" 1 ># 88 "../../../dist/include/xpcom/nsComObsolete.h" ># 1 "../../../dist/include/xpcom/nsDebug.h" 1 ># 62 "../../../dist/include/xpcom/nsDebug.h" >class nsDebug { >public: > > > > > static void Warning(const char* aMessage, > const char* aFile, PRIntn aLine); > > > > > static void Abort(const char* aFile, PRIntn aLine); > > > > > static void Break(const char* aFile, PRIntn aLine); > > > > > static void Assertion(const char* aStr, const char* aExpr, > const char* aFile, PRIntn aLine); >}; ># 89 "../../../dist/include/xpcom/nsComObsolete.h" 2 ># 43 "../nsRenderingContextImpl.h" 2 ># 1 "../../../dist/include/gfx/nsIRenderingContext.h" 1 ># 45 "../../../dist/include/gfx/nsIRenderingContext.h" ># 1 "../../../dist/include/xpcom/nsISupports.h" 1 ># 10 "../../../dist/include/xpcom/nsISupports.h" ># 1 "../../../dist/include/xpcom/nsrootidl.h" 1 ># 16 "../../../dist/include/xpcom/nsrootidl.h" >class nsAString; >class nsACString; ># 11 "../../../dist/include/xpcom/nsISupports.h" 2 ># 116 "../../../dist/include/xpcom/nsISupports.h" ># 1 "../../../dist/include/xpcom/nsISupportsBase.h" 1 ># 44 "../../../dist/include/xpcom/nsISupportsBase.h" ># 1 "../../../dist/include/xpcom/nsID.h" 1 ># 41 "../../../dist/include/xpcom/nsID.h" ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw (); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw (); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw (); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern void *rawmemchr (__const void *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw (); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > ># 117 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw (); > > > > >extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)); ># 160 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern char *strchrnul (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw (); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > > > > >extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strerror (int __errnum) throw (); > > > > >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); > > > > >extern void __bzero (void *__s, size_t __n) throw (); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) throw (); > > >extern void bzero (void *__s, size_t __n) throw (); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) throw () __attribute__ ((__pure__)); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) throw (); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strfry (char *__string) throw (); > > >extern void *memfrob (void *__s, size_t __n) throw (); > > > > > > >extern char *basename (__const char *__filename) throw (); ># 379 "/usr/include/string.h" 3 4 >} ># 42 "../../../dist/include/xpcom/nsID.h" 2 ># 52 "../../../dist/include/xpcom/nsID.h" >struct nsID { > > > > > > PRUint32 m0; > PRUint16 m1; > PRUint16 m2; > PRUint8 m3[8]; ># 74 "../../../dist/include/xpcom/nsID.h" > inline PRBool Equals(const nsID& other) const { > > > > > > > > return (PRBool) > ((((PRUint32*) &m0)[0] == ((PRUint32*) &other.m0)[0]) && > (((PRUint32*) &m0)[1] == ((PRUint32*) &other.m0)[1]) && > (((PRUint32*) &m0)[2] == ((PRUint32*) &other.m0)[2]) && > (((PRUint32*) &m0)[3] == ((PRUint32*) &other.m0)[3])); > } > > > > > > PRBool Parse(const char *aIDStr); > > > > > > char* ToString() const; > >}; > > > > > >typedef nsID nsCID; ># 120 "../../../dist/include/xpcom/nsID.h" >typedef nsID nsIID; ># 45 "../../../dist/include/xpcom/nsISupportsBase.h" 2 ># 71 "../../../dist/include/xpcom/nsISupportsBase.h" >typedef PRUint32 nsrefcnt; ># 80 "../../../dist/include/xpcom/nsISupportsBase.h" >class nsISupports { >public: ># 97 "../../../dist/include/xpcom/nsISupportsBase.h" > virtual nsresult QueryInterface(const nsIID& aIID, void** aInstancePtr) = 0; > > > > > > > > virtual nsrefcnt AddRef(void) = 0; ># 114 "../../../dist/include/xpcom/nsISupportsBase.h" > virtual nsrefcnt Release(void) = 0; > > >}; ># 117 "../../../dist/include/xpcom/nsISupports.h" 2 > ># 1 "../../../dist/include/xpcom/nsISupportsUtils.h" 1 ># 61 "../../../dist/include/xpcom/nsISupportsUtils.h" ># 1 "../../../dist/include/xpcom/nsISupportsImpl.h" 1 ># 52 "../../../dist/include/xpcom/nsISupportsImpl.h" ># 1 "../../../dist/include/xpcom/nsTraceRefcnt.h" 1 ># 43 "../../../dist/include/xpcom/nsTraceRefcnt.h" >class nsISupports; ># 113 "../../../dist/include/xpcom/nsTraceRefcnt.h" >class nsTraceRefcnt { >public: > static void LogAddRef(void* aPtr, > nsrefcnt aNewRefCnt, > const char* aTypeName, > PRUint32 aInstanceSize); > > static void LogRelease(void* aPtr, > nsrefcnt aNewRefCnt, > const char* aTypeName); > > static void LogCtor(void* aPtr, const char* aTypeName, > PRUint32 aInstanceSize); > > static void LogDtor(void* aPtr, const char* aTypeName, > PRUint32 aInstanceSize); > > static void LogAddCOMPtr(void *aCOMPtr, nsISupports *aObject); > > static void LogReleaseCOMPtr(void *aCOMPtr, nsISupports *aObject); > >}; ># 53 "../../../dist/include/xpcom/nsISupportsImpl.h" 2 ># 79 "../../../dist/include/xpcom/nsISupportsImpl.h" >class nsAutoRefCnt { > > public: > nsAutoRefCnt() : mValue(0) {} > nsAutoRefCnt(nsrefcnt aValue) : mValue(aValue) {} > > > nsrefcnt operator++() { return ++mValue; } > nsrefcnt operator--() { return --mValue; } > > nsrefcnt operator=(nsrefcnt aValue) { return (mValue = aValue); } > operator nsrefcnt() const { return mValue; } > nsrefcnt get() const { return mValue; } > private: > > nsrefcnt operator++(int); > nsrefcnt operator--(int); > nsrefcnt mValue; >}; ># 794 "../../../dist/include/xpcom/nsISupportsImpl.h" ># 1 "../../../dist/include/xpcom/nsIClassInfo.h" 1 ># 14 "../../../dist/include/xpcom/nsIClassInfo.h" ># 1 "../../../dist/include/xpcom/nsIProgrammingLanguage.h" 1 ># 32 "../../../dist/include/xpcom/nsIProgrammingLanguage.h" >class nsIProgrammingLanguage : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0xea604e90, 0x40ba, 0x11d5, { 0x90, 0xbb, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }}; return iid;} > > > > > enum { UNKNOWN = 0U }; > > enum { CPLUSPLUS = 1U }; > > enum { JAVASCRIPT = 2U }; > > enum { PYTHON = 3U }; > > enum { PERL = 4U }; > > enum { JAVA = 5U }; > > enum { ZX81_BASIC = 6U }; > > enum { JAVASCRIPT2 = 7U }; > >}; ># 15 "../../../dist/include/xpcom/nsIClassInfo.h" 2 ># 33 "../../../dist/include/xpcom/nsIClassInfo.h" >class nsIClassInfo : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0x986c11d0, 0xf340, 0x11d4, { 0x90, 0x75, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }}; return iid;} ># 47 "../../../dist/include/xpcom/nsIClassInfo.h" > virtual nsresult GetInterfaces(PRUint32 *count, nsIID * **array) = 0; ># 62 "../../../dist/include/xpcom/nsIClassInfo.h" > virtual nsresult GetHelperForLanguage(PRUint32 language, nsISupports **_retval) = 0; > > > > > > > virtual nsresult GetContractID(char * *aContractID) = 0; > > > > > > virtual nsresult GetClassDescription(char * *aClassDescription) = 0; > > > > > > > virtual nsresult GetClassID(nsCID * *aClassID) = 0; > > > > > > virtual nsresult GetImplementationLanguage(PRUint32 *aImplementationLanguage) = 0; > > > > > enum { SINGLETON = 1U }; > > enum { THREADSAFE = 2U }; > > enum { MAIN_THREAD_ONLY = 4U }; > > enum { DOM_OBJECT = 8U }; > > enum { PLUGIN_OBJECT = 16U }; > > enum { EAGER_CLASSINFO = 32U }; > > > > > > enum { CONTENT_NODE = 64U }; > > enum { RESERVED = 2147483648U }; > > > virtual nsresult GetFlags(PRUint32 *aFlags) = 0; ># 124 "../../../dist/include/xpcom/nsIClassInfo.h" > virtual nsresult GetClassIDNoAlloc(nsCID *aClassIDNoAlloc) = 0; > >}; ># 795 "../../../dist/include/xpcom/nsISupportsImpl.h" 2 ># 62 "../../../dist/include/xpcom/nsISupportsUtils.h" 2 ># 102 "../../../dist/include/xpcom/nsISupportsUtils.h" >extern "C++" { > > > > > > >template <class T> >inline >nsrefcnt >ns_if_addref( T expr ) >{ > return expr ? expr->AddRef() : 0; >} > >} ># 193 "../../../dist/include/xpcom/nsISupportsUtils.h" >extern "C++" { > > > >class nsISupports; > >template <class T> >struct nsCOMTypeInfo >{ > static const nsIID& GetIID() { return T::GetIID(); } >}; > >template <> >struct nsCOMTypeInfo<nsISupports> >{ > static const nsIID& GetIID() { > static const nsIID iid_NS_ISUPPORTS_IID = { 0x00000000, 0x0000, 0x0000, {0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46} }; return iid_NS_ISUPPORTS_IID; > } >}; > > > > >template <class T, class DestinationType> >inline >nsresult >CallQueryInterface( T* aSource, DestinationType** aDestination ) >{ > ; > ; > > return aSource->QueryInterface(nsCOMTypeInfo<DestinationType>::GetIID(), > reinterpret_cast< void** >(aDestination)); >} > >} ># 119 "../../../dist/include/xpcom/nsISupports.h" 2 ># 46 "../../../dist/include/gfx/nsIRenderingContext.h" 2 ># 1 "../../../dist/include/gfx/nsColor.h" 1 ># 45 "../../../dist/include/gfx/nsColor.h" >class nsString; >class nsAString; > > > >typedef PRUint32 nscolor; ># 89 "../../../dist/include/gfx/nsColor.h" >extern "C" PRBool NS_HexToRGB(const nsString& aBuf, nscolor* aResult); > > > > >extern "C" PRBool NS_LooseHexToRGB(const nsString& aBuf, nscolor* aResult); > > > >extern "C" PRBool NS_ColorNameToRGB(const nsAString& aBuf, nscolor* aResult); > > > >extern "C" nscolor NS_BrightenColor(nscolor inColor); > > > >extern "C" nscolor NS_DarkenColor(nscolor inColor); > > > >extern "C" nscolor NS_HSL2RGB(float h, float s, float l); ># 47 "../../../dist/include/gfx/nsIRenderingContext.h" 2 ># 1 "../../../dist/include/gfx/nsCoord.h" 1 ># 56 "../../../dist/include/gfx/nsCoord.h" >typedef PRInt32 nscoord; ># 48 "../../../dist/include/gfx/nsIRenderingContext.h" 2 ># 1 "../../../dist/include/gfx/nsIDrawingSurface.h" 1 ># 47 "../../../dist/include/gfx/nsIDrawingSurface.h" >typedef struct >{ > PRUint32 mRedZeroMask; > PRUint32 mGreenZeroMask; > PRUint32 mBlueZeroMask; > PRUint32 mAlphaZeroMask; > PRUint32 mRedMask; > PRUint32 mGreenMask; > PRUint32 mBlueMask; > PRUint32 mAlphaMask; > PRUint8 mRedCount; > PRUint8 mGreenCount; > PRUint8 mBlueCount; > PRUint8 mAlphaCount; > PRUint8 mRedShift; > PRUint8 mGreenShift; > PRUint8 mBlueShift; > PRUint8 mAlphaShift; >} nsPixelFormat; > > > > > > > >class nsIDrawingSurface : public nsISupports >{ >public: > static const nsIID& GetIID() {static const nsIID iid = { 0x61cc77e0, 0xcaac, 0x11d2, { 0xa8, 0x49, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }; return iid;} ># 94 "../../../dist/include/gfx/nsIDrawingSurface.h" > virtual nsresult Lock(PRInt32 aX, PRInt32 aY, PRUint32 aWidth, PRUint32 aHeight, > void **aBits, PRInt32 *aStride, PRInt32 *aWidthBytes, > PRUint32 aFlags) = 0; > > > > > > > > virtual nsresult Unlock(void) = 0; ># 113 "../../../dist/include/gfx/nsIDrawingSurface.h" > virtual nsresult GetDimensions(PRUint32 *aWidth, PRUint32 *aHeight) = 0; ># 124 "../../../dist/include/gfx/nsIDrawingSurface.h" > virtual nsresult IsOffscreen(PRBool *aOffScreen) = 0; ># 138 "../../../dist/include/gfx/nsIDrawingSurface.h" > virtual nsresult IsPixelAddressable(PRBool *aAddressable) = 0; ># 147 "../../../dist/include/gfx/nsIDrawingSurface.h" > virtual nsresult GetPixelFormat(nsPixelFormat *aFormat) = 0; >}; ># 49 "../../../dist/include/gfx/nsIRenderingContext.h" 2 > >class nsIWidget; >class nsIFontMetrics; >class nsTransform2D; >class nsString; >class nsIDeviceContext; >class nsIRegion; >class nsIAtom; > >struct nsFont; >struct nsPoint; >struct nsPathPoint; >struct nsRect; >struct nsTextDimensions; > >struct nsBoundingMetrics; > > > > >class imgIContainer; > > > >typedef enum >{ > nsClipCombine_kIntersect = 0, > nsClipCombine_kUnion = 1, > nsClipCombine_kSubtract = 2, > nsClipCombine_kReplace = 3 >} nsClipCombine; > > >typedef enum >{ > nsLineStyle_kNone = 0, > nsLineStyle_kSolid = 1, > nsLineStyle_kDashed = 2, > nsLineStyle_kDotted = 3 >} nsLineStyle; > >typedef enum >{ > nsPenMode_kNone = 0, > nsPenMode_kInvert = 1 >} nsPenMode; ># 104 "../../../dist/include/gfx/nsIRenderingContext.h" >typedef void * nsDrawingSurface; > > >class nsIRenderingContext : public nsISupports >{ >public: > static const nsIID& GetIID() {static const nsIID iid = { 0xa6cf9068, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}; return iid;} ># 121 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult Init(nsIDeviceContext* aContext, nsIWidget *aWidget) = 0; > > > > > > > > virtual nsresult Init(nsIDeviceContext* aContext, nsDrawingSurface aSurface) = 0; > > > > > virtual nsresult Reset(void) = 0; > > > > > > virtual nsresult GetDeviceContext(nsIDeviceContext *& aDeviceContext) = 0; ># 152 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult LockDrawingSurface(PRInt32 aX, PRInt32 aY, PRUint32 aWidth, PRUint32 aHeight, > void **aBits, PRInt32 *aStride, PRInt32 *aWidthBytes, > PRUint32 aFlags) = 0; > > > > > > > virtual nsresult UnlockDrawingSurface(void) = 0; > > > > > > > > virtual nsresult SelectOffScreenDrawingSurface(nsDrawingSurface aSurface) = 0; > > > > > > virtual nsresult GetDrawingSurface(nsDrawingSurface *aSurface) = 0; > > > > > > virtual nsresult GetHints(PRUint32& aResult) = 0; > > > > > virtual nsresult PushState(void) = 0; > > > > > > > virtual nsresult PopState(PRBool &aClipEmpty) = 0; > > > > > > > virtual nsresult IsVisibleRect(const nsRect& aRect, PRBool &aIsVisible) = 0; ># 210 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult SetClipRect(const nsRect& aRect, nsClipCombine aCombine, PRBool &aClipEmpty) = 0; ># 220 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetClipRect(nsRect &aRect, PRBool &aHasLocalClip) = 0; > > > > > > > virtual nsresult SetLineStyle(nsLineStyle aLineStyle) = 0; > > > > > > > virtual nsresult GetLineStyle(nsLineStyle &aLineStyle) = 0; > > > > > > > virtual nsresult GetPenMode(nsPenMode &aPenMode) =0; > > > > > > > virtual nsresult SetPenMode(nsPenMode aPenMode) =0; ># 259 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult SetClipRegion(const nsIRegion& aRegion, nsClipCombine aCombine, PRBool &aClipEmpty) = 0; ># 268 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult CopyClipRegion(nsIRegion &aRegion) = 0; ># 277 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetClipRegion(nsIRegion **aRegion) = 0; > > > > > > virtual nsresult SetColor(nscolor aColor) = 0; > > > > > > virtual nsresult GetColor(nscolor &aColor) const = 0; > > > > > > virtual nsresult SetFont(const nsFont& aFont, nsIAtom* aLangGroup) = 0; > > > > > > > virtual nsresult SetFont(nsIFontMetrics *aFontMetrics) = 0; > > > > > > virtual nsresult GetFontMetrics(nsIFontMetrics *&aFontMetrics) = 0; > > > > > > > virtual nsresult Translate(nscoord aX, nscoord aY) = 0; > > > > > > > virtual nsresult Scale(float aSx, float aSy) = 0; > > > > > > virtual nsresult GetCurrentTransform(nsTransform2D *&aTransform) = 0; ># 340 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult CreateDrawingSurface(const nsRect& aBounds, PRUint32 aSurfFlags, nsDrawingSurface &aSurface) = 0; > > > > > > virtual nsresult DestroyDrawingSurface(nsDrawingSurface aDS) = 0; ># 355 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1) = 0; ># 365 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawStdLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1) = 0; > > > > > > > virtual nsresult DrawPolyline(const nsPoint aPoints[], PRInt32 aNumPoints) = 0; > > > > > > virtual nsresult DrawRect(const nsRect& aRect) = 0; ># 387 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; > > > > > > virtual nsresult FillRect(const nsRect& aRect) = 0; ># 402 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult FillRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; > > > > > > virtual nsresult InvertRect(const nsRect& aRect) = 0; ># 417 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult InvertRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; ># 427 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult FlushRect(const nsRect& aRect) = 0; > virtual nsresult FlushRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; > > > > > > > virtual nsresult DrawPolygon(const nsPoint aPoints[], PRInt32 aNumPoints) = 0; > > > > > > > virtual nsresult FillPolygon(const nsPoint aPoints[], PRInt32 aNumPoints) = 0; > > > > > > > virtual nsresult RasterPolygon(const nsPoint aPoints[], PRInt32 aNumPoints)=0; > > > > > > > virtual nsresult FillStdPolygon(const nsPoint aPoints[], PRInt32 aNumPoints) = 0; > > > > > > virtual nsresult DrawEllipse(const nsRect& aRect) = 0; ># 471 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; > > > > > > virtual nsresult FillEllipse(const nsRect& aRect) = 0; ># 486 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult FillEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) = 0; > > > > > > > > virtual nsresult DrawArc(const nsRect& aRect, > float aStartAngle, float aEndAngle) = 0; ># 506 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawArc(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, > float aStartAngle, float aEndAngle) = 0; > > > > > > > > virtual nsresult FillArc(const nsRect& aRect, > float aStartAngle, float aEndAngle) = 0; ># 527 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult FillArc(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, > float aStartAngle, float aEndAngle) = 0; ># 537 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(char aC, nscoord &aWidth) = 0; ># 549 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(PRUnichar aC, nscoord &aWidth, > PRInt32 *aFontID = 0) = 0; ># 562 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(const nsString& aString, nscoord &aWidth, > PRInt32 *aFontID = 0) = 0; ># 572 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(const char* aString, nscoord& aWidth) = 0; ># 582 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(const char* aString, PRUint32 aLength, > nscoord& aWidth) = 0; ># 596 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetWidth(const PRUnichar *aString, PRUint32 aLength, > nscoord &aWidth, PRInt32 *aFontID = 0) = 0; ># 610 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetTextDimensions(const char* aString, PRUint32 aLength, > nsTextDimensions& aDimensions) = 0; > virtual nsresult GetTextDimensions(const PRUnichar* aString, PRUint32 aLength, > nsTextDimensions& aDimensions, PRInt32* aFontID = 0) = 0; ># 641 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetTextDimensions(const char* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID = 0) = 0; > > virtual nsresult GetTextDimensions(const PRUnichar* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID = 0) = 0; ># 670 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawString(const char *aString, PRUint32 aLength, > nscoord aX, nscoord aY, > const nscoord* aSpacing = 0) = 0; ># 685 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawString(const PRUnichar *aString, PRUint32 aLength, > nscoord aX, nscoord aY, > PRInt32 aFontID = -1, > const nscoord* aSpacing = 0) = 0; ># 700 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawString(const nsString& aString, nscoord aX, nscoord aY, > PRInt32 aFontID = -1, > const nscoord* aSpacing = 0) = 0; ># 714 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawPath(nsPathPoint aPointArray[],PRInt32 aNumPts) = 0; ># 723 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult FillPath(nsPathPoint aPointArray[],PRInt32 aNumPts) = 0; ># 734 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult CopyOffScreenBits(nsDrawingSurface aSrcSurf, PRInt32 aSrcX, PRInt32 aSrcY, > const nsRect &aDestBounds, PRUint32 aCopyFlags) = 0; > > virtual nsresult RetrieveCurrentNativeGraphicData(PRUint32 * ngd) = 0; ># 752 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult GetBackbuffer(const nsRect &aRequestedSize, const nsRect &aMaxSize, nsDrawingSurface &aBackbuffer) = 0; > > > > > > virtual nsresult ReleaseBackbuffer(void) = 0; > > > > > > virtual nsresult DestroyCachedBackbuffer(void) = 0; > > > > > > > > virtual nsresult UseBackbuffer(PRBool* aUseBackbuffer) = 0; ># 783 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult > GetBoundingMetrics(const char* aString, > PRUint32 aLength, > nsBoundingMetrics& aBoundingMetrics) = 0; ># 797 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult > GetBoundingMetrics(const PRUnichar* aString, > PRUint32 aLength, > nsBoundingMetrics& aBoundingMetrics, > PRInt32* aFontID = 0) = 0; > > > > > > > > virtual nsresult SetRightToLeftText(PRBool aIsRTL) = 0; > > > virtual nsresult DrawImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsPoint * aDestPoint) = 0; > > > virtual nsresult DrawScaledImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsRect * aDestRect) = 0; ># 824 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult DrawTile(imgIContainer *aImage, > nscoord aXImageStart, nscoord aYImageStart, > const nsRect * aTargetRect) = 0; ># 866 "../../../dist/include/gfx/nsIRenderingContext.h" > virtual nsresult RenderPostScriptDataFragment(const unsigned char *aData, unsigned long aDatalen) = 0; >}; ># 937 "../../../dist/include/gfx/nsIRenderingContext.h" >struct nsTextDimensions { > > nscoord ascent; > > > nscoord descent; > > > nscoord width; > > > nsTextDimensions() > { > Clear(); > } > > > void > Clear() { > ascent = descent = width = 0; > } > > > void > Combine(const nsTextDimensions& aOther) { > if (ascent < aOther.ascent) ascent = aOther.ascent; > if (descent < aOther.descent) descent = aOther.descent; > width += aOther.width; > } >}; > > > > > >struct nsBoundingMetrics { ># 992 "../../../dist/include/gfx/nsIRenderingContext.h" > nscoord leftBearing; > > > > nscoord rightBearing; > > > > > > nscoord ascent; > > > > nscoord descent; ># 1015 "../../../dist/include/gfx/nsIRenderingContext.h" > nscoord width; > > > > > > nsBoundingMetrics() { > Clear(); > } > > > > > > void > Clear() { > leftBearing = rightBearing = 0; > ascent = descent = width = 0; > } > > > > > > > void > operator += (const nsBoundingMetrics& bm) { > if (ascent < bm.ascent) ascent = bm.ascent; > if (descent < bm.descent) descent = bm.descent; > rightBearing = width + bm.rightBearing; > width += bm.width; > } >}; ># 44 "../nsRenderingContextImpl.h" 2 ># 1 "../../../dist/include/gfx/nsPoint.h" 1 ># 44 "../../../dist/include/gfx/nsPoint.h" >struct nsPoint { > nscoord x, y; > > > nsPoint() {} > nsPoint(const nsPoint& aPoint) {x = aPoint.x; y = aPoint.y;} > nsPoint(nscoord aX, nscoord aY) {x = aX; y = aY;} > > void MoveTo(nscoord aX, nscoord aY) {x = aX; y = aY;} > void MoveBy(nscoord aDx, nscoord aDy) {x += aDx; y += aDy;} > > > > PRBool operator==(const nsPoint& aPoint) const { > return (PRBool) ((x == aPoint.x) && (y == aPoint.y)); > } > PRBool operator!=(const nsPoint& aPoint) const { > return (PRBool) ((x != aPoint.x) || (y != aPoint.y)); > } > nsPoint operator+(const nsPoint& aPoint) const { > return nsPoint(x + aPoint.x, y + aPoint.y); > } > nsPoint operator-(const nsPoint& aPoint) const { > return nsPoint(x - aPoint.x, y - aPoint.y); > } > nsPoint& operator+=(const nsPoint& aPoint) { > x += aPoint.x; > y += aPoint.y; > return *this; > } > nsPoint& operator-=(const nsPoint& aPoint) { > x -= aPoint.x; > y -= aPoint.y; > return *this; > } >}; > > > > > >struct nsFloatPoint { > float x, y; > > > nsFloatPoint() {} > nsFloatPoint(const nsFloatPoint& aPoint) {x = aPoint.x; y = aPoint.y;} > nsFloatPoint(float aX, float aY) {x = aX; y = aY;} > > void MoveTo(float aX, float aY) {x = aX; y = aY;} > void MoveTo(nscoord aX, nscoord aY) {x = (float)aX; y = (float)aY;} > void MoveBy(float aDx, float aDy) {x += aDx; y += aDy;} > > > > PRBool operator==(const nsFloatPoint& aPoint) const { > return (PRBool) ((x == aPoint.x) && (y == aPoint.y)); > } > PRBool operator!=(const nsFloatPoint& aPoint) const { > return (PRBool) ((x != aPoint.x) || (y != aPoint.y)); > } > nsFloatPoint operator+(const nsFloatPoint& aPoint) const { > return nsFloatPoint(x + aPoint.x, y + aPoint.y); > } > nsFloatPoint operator-(const nsFloatPoint& aPoint) const { > return nsFloatPoint(x - aPoint.x, y - aPoint.y); > } > nsFloatPoint& operator+=(const nsFloatPoint& aPoint) { > x += aPoint.x; > y += aPoint.y; > return *this; > } > nsFloatPoint& operator-=(const nsFloatPoint& aPoint) { > x -= aPoint.x; > y -= aPoint.y; > return *this; > } >}; > > > > > > >struct nsPathPoint: public nsFloatPoint{ > > PRBool mIsOnCurve; > > > nsPathPoint() {} > nsPathPoint(const nsPathPoint& aPoint) {x = aPoint.x; y = aPoint.y;mIsOnCurve=aPoint.mIsOnCurve;} > nsPathPoint(float aX, float aY) {x = aX; y = aY;mIsOnCurve=1;} > nsPathPoint(float aX, float aY,PRBool aIsOnCurve) {x = aX; y = aY;mIsOnCurve=aIsOnCurve;} > >}; ># 45 "../nsRenderingContextImpl.h" 2 ># 1 "../../../dist/include/gfx/nsSize.h" 1 ># 47 "../../../dist/include/gfx/nsSize.h" >struct nsSize { > nscoord width, height; > > > nsSize() {} > nsSize(const nsSize& aSize) {width = aSize.width; height = aSize.height;} > nsSize(nscoord aWidth, nscoord aHeight) {width = aWidth; height = aHeight;} > > void SizeTo(nscoord aWidth, nscoord aHeight) {width = aWidth; height = aHeight;} > void SizeBy(nscoord aDeltaWidth, nscoord aDeltaHeight) {width += aDeltaWidth; > height += aDeltaHeight;} > > > > PRBool operator==(const nsSize& aSize) const { > return (PRBool) ((width == aSize.width) && (height == aSize.height)); > } > PRBool operator!=(const nsSize& aSize) const { > return (PRBool) ((width != aSize.width) || (height != aSize.height)); > } > nsSize operator+(const nsSize& aSize) const { > return nsSize(width + aSize.width, height + aSize.height); > } > nsSize operator-(const nsSize& aSize) const { > return nsSize(width - aSize.width, height - aSize.height); > } > nsSize& operator+=(const nsSize& aSize) {width += aSize.width; > height += aSize.height; > return *this;} > nsSize& operator-=(const nsSize& aSize) {width -= aSize.width; > height -= aSize.height; > return *this;} >}; ># 46 "../nsRenderingContextImpl.h" 2 > > >typedef struct { > double x; > double dx; > int i; >} Edge; > > >class nsRenderingContextImpl : public nsIRenderingContext >{ > > >public: > > >protected: > nsTransform2D *mTranMatrix; > nsLineStyle mLineStyle; > int mAct; > Edge *mActive; > >public: > nsRenderingContextImpl(); > > > > > > virtual nsresult FlushRect(const nsRect& aRect); > virtual nsresult FlushRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > > > > > > > virtual nsresult GetPenMode(nsPenMode &aPenMode) { return ((nsresult) 0x80004005L);} > > > > > > > virtual nsresult SetPenMode(nsPenMode aPenMode) { return ((nsresult) 0x80004005L);}; > > > > > > > virtual nsresult DrawPath(nsPathPoint aPointArray[],PRInt32 aNumPts); > > > > > > virtual nsresult FillPath(nsPathPoint aPointArray[],PRInt32 aNumPts); > > > > > > > virtual nsresult RasterPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); > > > > > > virtual nsresult DrawStdLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1) { return 0;} > > > > > > virtual nsresult FillStdPolygon(const nsPoint aPoints[], PRInt32 aNumPoints) { return 0; } > > virtual nsresult GetBackbuffer(const nsRect &aRequestedSize, const nsRect &aMaxSize, nsDrawingSurface &aBackbuffer); > virtual nsresult ReleaseBackbuffer(void); > virtual nsresult DestroyCachedBackbuffer(void); > virtual nsresult UseBackbuffer(PRBool* aUseBackbuffer); > > > > > > virtual nsresult SetRightToLeftText(PRBool aIsRTL); > > virtual nsresult DrawImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsPoint * aDestPoint); > virtual nsresult DrawScaledImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsRect * aDestRect); > virtual nsresult DrawTile(imgIContainer *aImage, nscoord aXOffset, nscoord aYOffset, const nsRect * aTargetRect); > > virtual nsresult RenderPostScriptDataFragment(const unsigned char *aData, unsigned long aDatalen); > >protected: > virtual ~nsRenderingContextImpl(); > > void cdelete(int i); > void cinsert(int i,int y,const nsPoint aPointArray[],PRInt32 aNumPts); ># 156 "../nsRenderingContextImpl.h" > PRBool RectFitsInside(const nsRect& aRect, PRInt32 aWidth, PRInt32 aHeight) const; ># 167 "../nsRenderingContextImpl.h" > PRBool BothRectsFitInside(const nsRect& aRect1, const nsRect& aRect2, PRInt32 aWidth, PRInt32 aHeight, nsRect& aNewSize) const; ># 178 "../nsRenderingContextImpl.h" > void CalculateDiscreteSurfaceSize(const nsRect& aMaxBackbufferSize, const nsRect& aRequestedSize, nsRect& aSize); ># 187 "../nsRenderingContextImpl.h" > void GetDrawingSurfaceSize(const nsRect& aMaxBackbufferSize, const nsRect& aRequestedSize, nsRect& aSurfaceSize); ># 197 "../nsRenderingContextImpl.h" > nsresult AllocateBackbuffer(const nsRect &aRequestedSize, const nsRect &aMaxSize, nsDrawingSurface &aBackbuffer, PRBool aCacheBackbuffer); > >public: > >protected: > nsPenMode mPenMode; >private: > static nsDrawingSurface gBackbuffer; > static nsRect gBackbufferBounds; > > static nsSize gLargestRequestedSize; > >}; > > > > > > >class QBezierCurve >{ > >public: > nsFloatPoint mAnc1; > nsFloatPoint mCon; > nsFloatPoint mAnc2; > > QBezierCurve() {mAnc1.x=0;mAnc1.y=0;mCon=mAnc2=mAnc1;} > void SetControls(nsFloatPoint &aAnc1,nsFloatPoint &aCon,nsFloatPoint &aAnc2) { mAnc1 = aAnc1; mCon = aCon; mAnc2 = aAnc2;} > void SetPoints(nscoord a1x,nscoord a1y,nscoord acx,nscoord acy,nscoord a2x,nscoord a2y) {mAnc1.MoveTo(a1x,a1y),mCon.MoveTo(acx,acy),mAnc2.MoveTo(a2x,a2y);} > void SetPoints(float a1x,float a1y,float acx,float acy,float a2x,float a2y) {mAnc1.MoveTo(a1x,a1y),mCon.MoveTo(acx,acy),mAnc2.MoveTo(a2x,a2y);} > void DebugPrint(); > > > > > > > void SubDivide(nsIRenderingContext *aRenderingContext); ># 244 "../nsRenderingContextImpl.h" > void SubDivide(nsPoint aThePoints[],PRInt16 *aNumPts); > > > > > > > > void MidPointDivide(QBezierCurve *A,QBezierCurve *B); >}; > > enum eSegType {eUNDEF,eLINE,eQCURVE,eCCURVE}; > > > > > > >class nsPathIter { > >public: > enum eSegType {eUNDEF,eLINE,eQCURVE,eCCURVE}; > >private: > PRUint32 mCurPoint; > PRUint32 mNumPoints; > nsPathPoint *mThePath; > >public: > nsPathIter(); > nsPathIter(nsPathPoint* aThePath,PRUint32 aNumPts); > > PRBool NextSeg(QBezierCurve& TheSegment,eSegType& aCurveType); > >}; ># 43 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/xpcom/nsUnitConversion.h" 1 ># 42 "../../../dist/include/xpcom/nsUnitConversion.h" ># 1 "/usr/include/math.h" 1 3 4 ># 29 "/usr/include/math.h" 3 4 >extern "C" { > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 26 "/usr/include/bits/huge_val.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/huge_val.h" 2 3 4 ># 34 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 23 "/usr/include/bits/mathdef.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/mathdef.h" 2 3 4 ># 35 "/usr/include/bits/mathdef.h" 3 4 >typedef float float_t; >typedef double double_t; ># 41 "/usr/include/math.h" 2 3 4 ># 65 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) throw (); extern double __acos (double __x) throw (); > >extern double asin (double __x) throw (); extern double __asin (double __x) throw (); > >extern double atan (double __x) throw (); extern double __atan (double __x) throw (); > >extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); > > >extern double cos (double __x) throw (); extern double __cos (double __x) throw (); > >extern double sin (double __x) throw (); extern double __sin (double __x) throw (); > >extern double tan (double __x) throw (); extern double __tan (double __x) throw (); > > > > >extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); > >extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); > >extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); > > > > >extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw (); > > > > > > >extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); > >extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); > >extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); > > > > > > > >extern double exp (double __x) throw (); extern double __exp (double __x) throw (); > > >extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); > > >extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); > > >extern double log (double __x) throw (); extern double __log (double __x) throw (); > > >extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); > > >extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw (); > > > > >extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); > >extern double pow10 (double __x) throw (); extern double __pow10 (double __x) throw (); > > > > > >extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); > > >extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); > > >extern double logb (double __x) throw (); extern double __logb (double __x) throw (); > > > > > > >extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); > > >extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); > > > > > > > > >extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); > > >extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); > > > > > >extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); > > > > > > >extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); > > > > > > > > >extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); > > >extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); > > >extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); > > > > >extern int __isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int __finite (double __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) throw () __attribute__ ((__const__)); > > >extern int finite (double __value) throw () __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); > > > >extern double significand (double __x) throw (); extern double __significand (double __x) throw (); > > > > > >extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (__const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) throw () __attribute__ ((__const__)); > > > >extern int isnan (double __value) throw () __attribute__ ((__const__)); > > >extern double j0 (double) throw (); extern double __j0 (double) throw (); >extern double j1 (double) throw (); extern double __j1 (double) throw (); >extern double jn (int, double) throw (); extern double __jn (int, double) throw (); >extern double y0 (double) throw (); extern double __y0 (double) throw (); >extern double y1 (double) throw (); extern double __y1 (double) throw (); >extern double yn (int, double) throw (); extern double __yn (int, double) throw (); > > > > > > >extern double erf (double) throw (); extern double __erf (double) throw (); >extern double erfc (double) throw (); extern double __erfc (double) throw (); >extern double lgamma (double) throw (); extern double __lgamma (double) throw (); > > > > > > >extern double tgamma (double) throw (); extern double __tgamma (double) throw (); > > > > > >extern double gamma (double) throw (); extern double __gamma (double) throw (); > > > > > > >extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); > > > > > > > >extern double rint (double __x) throw (); extern double __rint (double __x) throw (); > > >extern double nextafter (double __x, double __y) throw () __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) throw () __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); > > > >extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); > > > >extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); > > > > >extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); > > > >extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); > > > >extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); > > > >extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); > > > > > > >extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); >extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); > > > >extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); >extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); > > > >extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); > > >extern double fmax (double __x, double __y) throw (); extern double __fmax (double __x, double __y) throw (); > > >extern double fmin (double __x, double __y) throw (); extern double __fmin (double __x, double __y) throw (); > > > >extern int __fpclassify (double __value) throw () > __attribute__ ((__const__)); > > >extern int __signbit (double __value) throw () > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); > > > > >extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); ># 66 "/usr/include/math.h" 2 3 4 ># 88 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); > >extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); > >extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); > >extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); > > >extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); > >extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); > >extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); > > > > >extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); > >extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); > >extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); > > > > >extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw (); > > > > > > >extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); > >extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); > >extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); > > > > > > > >extern float expf (float __x) throw (); extern float __expf (float __x) throw (); > > >extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); > > >extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); > > >extern float logf (float __x) throw (); extern float __logf (float __x) throw (); > > >extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); > > >extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw (); > > > > >extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); > >extern float pow10f (float __x) throw (); extern float __pow10f (float __x) throw (); > > > > > >extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); > > >extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); > > >extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); > > > > > > >extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); > > >extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); > > > > > > > > >extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); > > >extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); > > > > > >extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); > > > > > > >extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); > > > > > > > > >extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); > > >extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); > > >extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); > > > > >extern int __isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int __finitef (float __value) throw () __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) throw () __attribute__ ((__const__)); > > >extern int finitef (float __value) throw () __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); > > > >extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); > > > > > >extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) throw () __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) throw () __attribute__ ((__const__)); > > > >extern int isnanf (float __value) throw () __attribute__ ((__const__)); > > >extern float j0f (float) throw (); extern float __j0f (float) throw (); >extern float j1f (float) throw (); extern float __j1f (float) throw (); >extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); >extern float y0f (float) throw (); extern float __y0f (float) throw (); >extern float y1f (float) throw (); extern float __y1f (float) throw (); >extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); > > > > > > >extern float erff (float) throw (); extern float __erff (float) throw (); >extern float erfcf (float) throw (); extern float __erfcf (float) throw (); >extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); > > > > > > >extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); > > > > > >extern float gammaf (float) throw (); extern float __gammaf (float) throw (); > > > > > > >extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); > > > > > > > >extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); > > >extern float nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) throw () __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) throw () __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); > > > >extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); > > > >extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); > > > > >extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); > > > >extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); > > > >extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); > > > >extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); > > > > > > >extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); >extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); > > > >extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); >extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); > > > >extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); > > >extern float fmaxf (float __x, float __y) throw (); extern float __fmaxf (float __x, float __y) throw (); > > >extern float fminf (float __x, float __y) throw (); extern float __fminf (float __x, float __y) throw (); > > > >extern int __fpclassifyf (float __value) throw () > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) throw () > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); > > > > >extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); ># 89 "/usr/include/math.h" 2 3 4 ># 125 "/usr/include/math.h" 3 4 >extern int signgam; ># 166 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 252 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 275 "/usr/include/math.h" 3 4 >struct __exception > > > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > >extern int matherr (struct __exception *__exc) throw (); ># 362 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 25 "/usr/include/bits/mathinline.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/mathinline.h" 2 3 4 ># 363 "/usr/include/math.h" 2 3 4 ># 423 "/usr/include/math.h" 3 4 >} ># 43 "../../../dist/include/xpcom/nsUnitConversion.h" 2 ># 60 "../../../dist/include/xpcom/nsUnitConversion.h" >inline nscoord NSToCoordFloor(float aValue) >{ > return ((0.0f <= aValue) ? nscoord(aValue) : nscoord(aValue - (1.0f - 1.19209290e-7F))); >} > >inline nscoord NSToCoordCeil(float aValue) >{ > return ((0.0f <= aValue) ? nscoord(aValue + (1.0f - 1.19209290e-7F)) : nscoord(aValue)); >} > >inline nscoord NSToCoordRound(float aValue) >{ > return ((0.0f <= aValue) ? nscoord(aValue + 0.5f) : nscoord(aValue - 0.5f)); >} > >inline nscoord NSToCoordRoundExclusive(float aValue) >{ > return ((0.0f <= aValue) ? nscoord(aValue + (0.5f*(1.0f - 1.19209290e-7F))) : > nscoord(aValue - (0.5f*(1.0f - 1.19209290e-7F)))); >} > > > > > >inline PRInt32 NSToIntFloor(float aValue) >{ > return ((0.0f <= aValue) ? PRInt32(aValue) : PRInt32(aValue - (1.0f - 1.19209290e-7F))); >} > >inline PRInt32 NSToIntCeil(float aValue) >{ > return ((0.0f <= aValue) ? PRInt32(aValue + (1.0f - 1.19209290e-7F)) : PRInt32(aValue)); >} > >inline PRInt32 NSToIntRound(float aValue) >{ > return ((0.0f <= aValue) ? PRInt32(aValue + 0.5f) : PRInt32(aValue - 0.5f)); >} > >inline PRInt32 NSToIntRoundExclusive(float aValue) >{ > return ((0.0f <= aValue) ? PRInt32(aValue + (0.5f*(1.0f - 1.19209290e-7F))) : > PRInt32(aValue - (0.5f*(1.0f - 1.19209290e-7F)))); >} > > > > > >inline nscoord NSFloatPointsToTwips(float aPoints) >{ > return NSToCoordRound(aPoints * 20.0f); >} > >inline nscoord NSIntPointsToTwips(PRInt32 aPoints) >{ > return nscoord(aPoints * 20); >} > >inline PRInt32 NSTwipsToIntPoints(nscoord aTwips) >{ > return NSToIntRound(aTwips / 20.0f); >} > >inline PRInt32 NSTwipsToFloorIntPoints(nscoord aTwips) >{ > return NSToIntFloor(aTwips / 20.0f); >} > >inline PRInt32 NSTwipsToCeilIntPoints(nscoord aTwips) >{ > return NSToIntCeil(aTwips / 20.0f); >} > >inline float NSTwipsToFloatPoints(nscoord aTwips) >{ > return (float(aTwips) / 20.0f); >} > > > > >inline nscoord NSFloatPixelsToTwips(float aPixels, float aTwipsPerPixel) >{ > return NSToCoordRound(aPixels * aTwipsPerPixel); >} > >inline nscoord NSIntPixelsToTwips(PRInt32 aPixels, float aTwipsPerPixel) >{ > return NSToCoordRound(float(aPixels) * aTwipsPerPixel); >} > >inline float NSTwipsToFloatPixels(nscoord aTwips, float aPixelsPerTwip) >{ > return (float(aTwips) * aPixelsPerTwip); >} > >inline PRInt32 NSTwipsToIntPixels(nscoord aTwips, float aPixelsPerTwip) >{ > return NSToIntRound(float(aTwips) * aPixelsPerTwip); >} > > > > >inline nscoord NSUnitsToTwips(float aValue, float aPointsPerUnit) >{ > return NSToCoordRound(aValue * aPointsPerUnit * 20.0f); >} > >inline float NSTwipsToUnits(nscoord aTwips, float aUnitsPerPoint) >{ > return (aTwips * (aUnitsPerPoint / 20.0f)); >} ># 44 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/gfx/nsFont.h" 1 ># 45 "../../../dist/include/gfx/nsFont.h" ># 1 "../../../dist/include/string/nsString.h" 1 ># 54 "../../../dist/include/string/nsString.h" ># 1 "../../../dist/include/string/nsString2.h" 1 ># 54 "../../../dist/include/string/nsString2.h" ># 1 "../../../dist/include/string/nsAString.h" 1 ># 28 "../../../dist/include/string/nsAString.h" ># 1 "../../../dist/include/string/nsStringFwd.h" 1 ># 30 "../../../dist/include/string/nsStringFwd.h" ># 1 "../../../dist/include/string/nsStringDefines.h" 1 ># 31 "../../../dist/include/string/nsStringFwd.h" 2 > > > > > > > >class nsAString; >class nsACString; > > > > > > >class nsAFlatString; >class nsAFlatCString; > > > > > > >class nsDependentString; >class nsDependentCString; ># 29 "../../../dist/include/string/nsAString.h" 2 > > > ># 1 "../../../dist/include/string/nsBufferHandle.h" 1 ># 89 "../../../dist/include/string/nsBufferHandle.h" >template <class CharT> >class nsBufferHandle > { > public: > typedef PRUint32 size_type; > > nsBufferHandle() { } > nsBufferHandle( CharT* aDataStart, CharT* aDataEnd ) : mDataStart(aDataStart), mDataEnd(aDataEnd) { } > > void DataStart( CharT* aNewDataStart ) { mDataStart = aNewDataStart; } > CharT* DataStart() { return mDataStart; } > const CharT* DataStart() const { return mDataStart; } > > void DataEnd( CharT* aNewDataEnd ) { mDataEnd = aNewDataEnd; } > CharT* DataEnd() { return mDataEnd; } > const CharT* DataEnd() const { return mDataEnd; } > > size_type DataLength() const { return mDataEnd - mDataStart; } > > protected: > CharT* mDataStart; > CharT* mDataEnd; > }; > > > > > >template <class CharT> >class nsConstBufferHandle > { > public: > typedef PRUint32 size_type; > > nsConstBufferHandle() { } > nsConstBufferHandle( const CharT* aDataStart, const CharT* aDataEnd ) : mDataStart(aDataStart), mDataEnd(aDataEnd) { } > > void DataStart( const CharT* aNewDataStart ) { mDataStart = aNewDataStart; } > const CharT* DataStart() const { return mDataStart; } > > void DataEnd( const CharT* aNewDataEnd ) { mDataEnd = aNewDataEnd; } > const CharT* DataEnd() const { return mDataEnd; } > > size_type DataLength() const { return mDataEnd - mDataStart; } > > protected: > const CharT* mDataStart; > const CharT* mDataEnd; > }; > > > > > > > >template <class CharT> >class nsStringAllocator > { > public: > > virtual void Deallocate( CharT* ) const = 0; > }; > > > > > nsStringAllocator<char>& StringAllocator_char(); > nsStringAllocator<PRUnichar>& StringAllocator_wchar_t(); > > > > > >template <class T> >struct nsStringAllocatorTraits > { > }; > >template <> >struct nsStringAllocatorTraits<char> > { > static nsStringAllocator<char>& global_string_allocator() { return StringAllocator_char(); } > }; > >template <> >struct nsStringAllocatorTraits<PRUnichar> > { > static nsStringAllocator<PRUnichar>& global_string_allocator() { return StringAllocator_wchar_t(); } > }; > > > > >template <class CharT> >class nsSharedBufferHandle > : public nsBufferHandle<CharT> > { > public: > typedef PRUint32 size_type; > > enum > { > kIsImmutable = 0x01000000, > kIsSingleAllocationWithBuffer = 0x02000000, > kIsUserAllocator = 0x04000000, > > > kIsNULL = 0x80000000, > kImplementationFlagsMask = 0xF0000000, > > kFlagsMask = 0xFF000000, > kRefCountMask = 0x00FFFFFF > }; > > public: > nsSharedBufferHandle( CharT* aDataStart, CharT* aDataEnd, size_type aStorageLength, PRBool isSingleAllocation ) > : nsBufferHandle<CharT>(aDataStart, aDataEnd), > mFlags(0), > mStorageLength(aStorageLength) > { > if ( isSingleAllocation ) > mFlags |= kIsSingleAllocationWithBuffer; > } > > ~nsSharedBufferHandle(); > > void > AcquireReference() const > { > nsSharedBufferHandle<CharT>* mutable_this = const_cast< nsSharedBufferHandle<CharT>* >(this); > mutable_this->set_refcount( get_refcount()+1 ); > } > > void ReleaseReference() const; > > PRBool > IsReferenced() const > { > return get_refcount() != 0; > } > > PRBool > IsMutable() const > { > > return (mFlags & (kRefCountMask | kIsImmutable) == 1); > } > > void StorageLength( size_type aNewStorageLength ) > { > mStorageLength = aNewStorageLength; > } > > size_type > StorageLength() const > { > return mStorageLength; > } > > PRUint32 > GetImplementationFlags() const > { > return mFlags & kImplementationFlagsMask; > } > > void > SetImplementationFlags( PRUint32 aNewFlags ) > { > mFlags = (mFlags & ~kImplementationFlagsMask) | (aNewFlags & kImplementationFlagsMask); > } > > protected: > PRUint32 mFlags; > size_type mStorageLength; > > PRUint32 > get_refcount() const > { > return mFlags & kRefCountMask; > } > > PRUint32 > set_refcount( PRUint32 aNewRefCount ) > { > ; > > mFlags = (mFlags & kFlagsMask) | aNewRefCount; > return aNewRefCount; > } > > nsStringAllocator<CharT>& get_allocator() const; > }; > > >template <class CharT> >class nsSharedBufferHandleWithAllocator > : public nsSharedBufferHandle<CharT> > { > public: > > typedef PRUint32 size_type; > > nsSharedBufferHandleWithAllocator( CharT* aDataStart, CharT* aDataEnd, size_type aStorageLength, nsStringAllocator<CharT>& aAllocator ) > : nsSharedBufferHandle<CharT>(aDataStart, aDataEnd, > aStorageLength, 0), > mAllocator(aAllocator) > { > this->mFlags |= this->kIsUserAllocator; > } > > nsStringAllocator<CharT>& get_allocator() const { return mAllocator; } > > protected: > nsStringAllocator<CharT>& mAllocator; > }; > > > >template <class CharT> >class nsSharedBufferHandleWithDestroy > : public nsSharedBufferHandle<CharT> > { > public: > > typedef PRUint32 size_type; > > nsSharedBufferHandleWithDestroy( CharT* aDataStart, CharT* aDataEnd, size_type aStorageLength) > : nsSharedBufferHandle<CharT>(aDataStart, aDataEnd, > aStorageLength, 0) > { > this->mFlags |= > this->kIsUserAllocator | this->kIsSingleAllocationWithBuffer; > } > > virtual void Destroy() = 0; > > > > > virtual ~nsSharedBufferHandleWithDestroy() { } > > > }; > >template <class CharT> >class nsNonDestructingSharedBufferHandle > : public nsSharedBufferHandleWithDestroy<CharT> > { > public: > > typedef PRUint32 size_type; > > nsNonDestructingSharedBufferHandle( CharT* aDataStart, CharT* aDataEnd, size_type aStorageLength) > : nsSharedBufferHandleWithDestroy<CharT>(aDataStart, aDataEnd, > aStorageLength) > { > } > > virtual void Destroy() > { > > > this->set_refcount(1); > } > > }; > > >template <class CharT> >nsStringAllocator<CharT>& >nsSharedBufferHandle<CharT>::get_allocator() const > > { > if ( mFlags & kIsUserAllocator ) > { > return reinterpret_cast< const nsSharedBufferHandleWithAllocator<CharT>* >(this)->get_allocator(); > } > > return nsStringAllocatorTraits<CharT>::global_string_allocator(); > } > > >template <class CharT> >nsSharedBufferHandle<CharT>::~nsSharedBufferHandle() > > { > ; > > if ( !(mFlags & kIsSingleAllocationWithBuffer) ) > { > CharT* string_storage = this->mDataStart; > get_allocator().Deallocate(string_storage); > } > } > >template <class CharT> >void >nsSharedBufferHandle<CharT>::ReleaseReference() const > { > nsSharedBufferHandle<CharT>* mutable_this = const_cast< nsSharedBufferHandle<CharT>* >(this); > if ( !mutable_this->set_refcount( get_refcount()-1 ) ) > { > if ( ~mFlags & (kIsUserAllocator|kIsSingleAllocationWithBuffer) ) > delete mutable_this; > else > > > > static_cast< nsSharedBufferHandleWithDestroy<CharT>* >(mutable_this)->Destroy(); > > } > } ># 33 "../../../dist/include/string/nsAString.h" 2 > > > ># 1 "../../../dist/include/string/nsCharTraits.h" 1 ># 46 "../../../dist/include/string/nsCharTraits.h" ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 >extern "C" { ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = (1 << (0)), > _ISlower = (1 << (1)), > _ISalpha = (1 << (2)), > _ISdigit = (1 << (3)), > _ISxdigit = (1 << (4)), > _ISspace = (1 << (5)), > _ISprint = (1 << (6)), > _ISgraph = (1 << (7)), > _ISblank = (1 << (8)), > _IScntrl = (1 << (9)), > _ISpunct = (1 << (10)), > _ISalnum = (1 << (11)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) throw (); >extern int isalpha (int) throw (); >extern int iscntrl (int) throw (); >extern int isdigit (int) throw (); >extern int islower (int) throw (); >extern int isgraph (int) throw (); >extern int isprint (int) throw (); >extern int ispunct (int) throw (); >extern int isspace (int) throw (); >extern int isupper (int) throw (); >extern int isxdigit (int) throw (); > > > >extern int tolower (int __c) throw (); > > >extern int toupper (int __c) throw (); > > > > > > > > >extern int isblank (int) throw (); > > > > > > >extern int isctype (int __c, int __mask) throw (); > > > > > > >extern int isascii (int __c) throw (); > > > >extern int toascii (int __c) throw (); > > > >extern int _toupper (int) throw (); >extern int _tolower (int) throw (); ># 247 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) throw (); >extern int isalpha_l (int, __locale_t) throw (); >extern int iscntrl_l (int, __locale_t) throw (); >extern int isdigit_l (int, __locale_t) throw (); >extern int islower_l (int, __locale_t) throw (); >extern int isgraph_l (int, __locale_t) throw (); >extern int isprint_l (int, __locale_t) throw (); >extern int ispunct_l (int, __locale_t) throw (); >extern int isspace_l (int, __locale_t) throw (); >extern int isupper_l (int, __locale_t) throw (); >extern int isxdigit_l (int, __locale_t) throw (); > >extern int isblank_l (int, __locale_t) throw (); > > > >extern int __tolower_l (int __c, __locale_t __l) throw (); >extern int tolower_l (int __c, __locale_t __l) throw (); > > >extern int __toupper_l (int __c, __locale_t __l) throw (); >extern int toupper_l (int __c, __locale_t __l) throw (); ># 323 "/usr/include/ctype.h" 3 4 >} ># 47 "../../../dist/include/string/nsCharTraits.h" 2 ># 70 "../../../dist/include/string/nsCharTraits.h" ># 1 "../../../dist/include/string/nsStringIteratorUtils.h" 1 ># 31 "../../../dist/include/string/nsStringIteratorUtils.h" >template <class Iterator> >inline >PRBool >SameFragment( const Iterator& lhs, const Iterator& rhs ) > { > return lhs.fragment().mStart == rhs.fragment().mStart; > } > >template <class CharT> class nsReadingIterator; > > > > > size_t Distance( const nsReadingIterator<PRUnichar>&, const nsReadingIterator<PRUnichar>& ); > size_t Distance( const nsReadingIterator<char>&, const nsReadingIterator<char>& ); ># 71 "../../../dist/include/string/nsCharTraits.h" 2 > > > > > > typedef PRBool nsCharTraits_bool; > > >template <class CharT> struct nsCharTraits {}; > >template <> >struct nsCharTraits<PRUnichar> > { > typedef PRUnichar char_type; > typedef PRUint16 unsigned_char_type; > typedef char incompatible_char_type; > > static > void > assign( char_type& lhs, char_type rhs ) > { > lhs = rhs; > } > > > > > > > > typedef int int_type; > > > static > char_type > to_char_type( int_type c ) > { > return char_type(c); > } > > static > int_type > to_int_type( char_type c ) > { > return int_type( static_cast< unsigned_char_type >(c) ); > } > > static > nsCharTraits_bool > eq_int_type( int_type lhs, int_type rhs ) > { > return lhs == rhs; > } > > > > > static > nsCharTraits_bool > eq( char_type lhs, char_type rhs ) > { > return lhs == rhs; > } > > static > nsCharTraits_bool > lt( char_type lhs, char_type rhs ) > { > return lhs < rhs; > } > > > > > static > char_type* > move( char_type* s1, const char_type* s2, size_t n ) > { > return static_cast< char_type* >(memmove(s1, s2, n * sizeof(char_type))); > } > > static > char_type* > copy( char_type* s1, const char_type* s2, size_t n ) > { > return static_cast< char_type* >(memcpy(s1, s2, n * sizeof(char_type))); > } > > static > char_type* > assign( char_type* s, size_t n, char_type c ) > { > > > > char_type* result = s; > while ( n-- ) > assign(*s++, c); > return result; > > } > > static > int > compare( const char_type* s1, const char_type* s2, size_t n ) > { > > > > for ( ; n--; ++s1, ++s2 ) > { > if ( !eq(*s1, *s2) ) > return to_int_type(*s1) - to_int_type(*s2); > } > > return 0; > > } > > static > size_t > length( const char_type* s ) > { > > > > size_t result = 0; > while ( !eq(*s++, char_type(0)) ) > ++result; > return result; > > } > > static > const char_type* > find( const char_type* s, size_t n, char_type c ) > { > > > > while ( n-- ) > { > if ( eq(*s, c) ) > return s; > ++s; > } > > return 0; > > } ># 249 "../../../dist/include/string/nsCharTraits.h" > }; > >template <> >struct nsCharTraits<char> > { > typedef char char_type; > typedef unsigned char unsigned_char_type; > typedef PRUnichar incompatible_char_type; > > static > void > assign( char_type& lhs, char_type rhs ) > { > lhs = rhs; > } > > > > > typedef int int_type; > > static > char_type > to_char_type( int_type c ) > { > return char_type(c); > } > > static > int_type > to_int_type( char_type c ) > { > return int_type( static_cast< unsigned_char_type >(c) ); > } > > static > nsCharTraits_bool > eq_int_type( int_type lhs, int_type rhs ) > { > return lhs == rhs; > } > > > > > static > nsCharTraits_bool > eq( char_type lhs, char_type rhs ) > { > return lhs == rhs; > } > > static > nsCharTraits_bool > lt( char_type lhs, char_type rhs ) > { > return lhs < rhs; > } > > > > > static > char_type* > move( char_type* s1, const char_type* s2, size_t n ) > { > return static_cast< char_type* >(memmove(s1, s2, n * sizeof(char_type))); > } > > static > char_type* > copy( char_type* s1, const char_type* s2, size_t n ) > { > return static_cast< char_type* >(memcpy(s1, s2, n * sizeof(char_type))); > } > > static > char_type* > assign( char_type* s, size_t n, char_type c ) > { > return static_cast< char_type* >(memset(s, to_int_type(c), n)); > } > > static > int > compare( const char_type* s1, const char_type* s2, size_t n ) > { > return memcmp(s1, s2, n); > } > > static > size_t > length( const char_type* s ) > { > return strlen(s); > } > > static > const char_type* > find( const char_type* s, size_t n, char_type c ) > { > return reinterpret_cast< const char_type* >(memchr(s, to_int_type(c), n)); > } ># 376 "../../../dist/include/string/nsCharTraits.h" > }; > >template <class InputIterator> >struct nsCharSourceTraits > { > typedef typename InputIterator::difference_type difference_type; ># 392 "../../../dist/include/string/nsCharTraits.h" > static > PRUint32 > readable_distance( const InputIterator& iter ) > { > return iter.size_forward(); > } > > static > PRUint32 > readable_distance( const InputIterator& first, const InputIterator& last ) > { > return PRUint32(SameFragment(first, last) ? last.get()-first.get() : first.size_forward()); > } > > static > const typename InputIterator::value_type* > read( const InputIterator& iter ) > { > return iter.get(); > } > > static > void > advance( InputIterator& s, difference_type n ) > { > s.advance(n); > } > }; > > > >template <class CharT> >struct nsCharSourceTraits<CharT*> > { > typedef ptrdiff_t difference_type; ># 437 "../../../dist/include/string/nsCharTraits.h" > static > PRUint32 > readable_distance( CharT* s ) > { > return PRUint32(nsCharTraits<CharT>::length(s)); > > } > > static > PRUint32 > readable_distance( CharT* first, CharT* last ) > { > return PRUint32(last-first); > } > > static > const CharT* > read( CharT* s ) > { > return s; > } > > static > void > advance( CharT*& s, difference_type n ) > { > s += n; > } > }; ># 561 "../../../dist/include/string/nsCharTraits.h" >template <class OutputIterator> >struct nsCharSinkTraits > { > static > PRUint32 > write( OutputIterator& iter, const typename OutputIterator::value_type* s, PRUint32 n ) > { > return iter.write(s, n); > } > }; > > > >template <class CharT> >struct nsCharSinkTraits<CharT*> > { > static > PRUint32 > write( CharT*& iter, const CharT* s, PRUint32 n ) > { > nsCharTraits<CharT>::move(iter, s, n); > iter += n; > return n; > } > }; ># 37 "../../../dist/include/string/nsAString.h" 2 > > > ># 1 "../../../dist/include/string/nsStringIterator.h" 1 ># 28 "../../../dist/include/string/nsStringIterator.h" ># 1 "../../../dist/include/string/nsStringFragment.h" 1 ># 41 "../../../dist/include/string/nsStringFragment.h" >enum nsFragmentRequest { kPrevFragment, kFirstFragment, kLastFragment, kNextFragment, kFragmentAt }; ># 57 "../../../dist/include/string/nsStringFragment.h" >template <class CharT> >struct nsReadableFragment > { > const CharT* mStart; > const CharT* mEnd; > const void* mFragmentIdentifier; > > nsReadableFragment() > : mStart(0), mEnd(0), mFragmentIdentifier(0) > { > > } > > const void* > GetID() const > { > return mFragmentIdentifier; > } > > unsigned long > GetIDAsInt() const > { > typedef char* char_ptr; > typedef unsigned long ulong; > return ulong(char_ptr(mFragmentIdentifier)-char_ptr(0)); > } > > void > SetID( const void* aID ) > { > mFragmentIdentifier = aID; > } > > void > SetID( unsigned long aID ) > { > typedef char* char_ptr; > typedef void* void_ptr; > mFragmentIdentifier = void_ptr(char_ptr(0)+aID); > } > }; ># 113 "../../../dist/include/string/nsStringFragment.h" >template <class CharT> >struct nsWritableFragment > { > CharT* mStart; > CharT* mEnd; > void* mFragmentIdentifier; > > nsWritableFragment() > : mStart(0), mEnd(0), mFragmentIdentifier(0) > { > > } > }; ># 29 "../../../dist/include/string/nsStringIterator.h" 2 > > > > > > > ># 1 "../../../dist/include/string/nsStringTraits.h" 1 ># 44 "../../../dist/include/string/nsStringTraits.h" >template <class CharT> >struct nsStringTraits > { > typedef nsAString abstract_string_type; > typedef nsAFlatString abstract_flat_type; > typedef const nsDependentString literal_string_type; > }; ># 64 "../../../dist/include/string/nsStringTraits.h" >template <> >struct nsStringTraits<char> > { > typedef nsACString abstract_string_type; > typedef nsAFlatCString abstract_flat_type; > typedef const nsDependentCString literal_string_type; > }; ># 37 "../../../dist/include/string/nsStringIterator.h" 2 > > > ># 1 "../../../dist/include/string/nsAlgorithm.h" 1 ># 52 "../../../dist/include/string/nsAlgorithm.h" >template <class T> >inline >const T& >NS_MIN( const T& a, const T& b ) > { > return b < a ? b : a; > } > >template <class T> >inline >const T& >NS_MAX( const T& a, const T& b ) > { > return a > b ? a : b; > } > >template <class InputIterator, class T> >inline >PRUint32 >NS_COUNT( InputIterator& first, const InputIterator& last, const T& value ) > { > PRUint32 result = 0; > for ( ; first != last; ++first ) > if ( *first == value ) > ++result; > return result; > } > >template <class InputIterator, class OutputIterator> >inline >OutputIterator& >copy_string( InputIterator& first, const InputIterator& last, OutputIterator& result ) > { > typedef nsCharSourceTraits<InputIterator> source_traits; > typedef nsCharSinkTraits<OutputIterator> sink_traits; > > while ( first != last ) > { > PRInt32 count_copied = PRInt32(sink_traits::write(result, source_traits::read(first), source_traits::readable_distance(first, last))); > ; > source_traits::advance(first, count_copied); > } > > return result; > } > >template <class InputIterator, class OutputIterator> >OutputIterator& >copy_string_backward( const InputIterator& first, InputIterator& last, OutputIterator& result ) > { > while ( first != last ) > { > last.normalize_backward(); > result.normalize_backward(); > PRUint32 lengthToCopy = PRUint32( NS_MIN(last.size_backward(), result.size_backward()) ); > if ( first.fragment().mStart == last.fragment().mStart ) > lengthToCopy = NS_MIN(lengthToCopy, PRUint32(last.get() - first.get())); > > ; > > > > > > nsCharTraits<typename OutputIterator::value_type>::move(result.get()-lengthToCopy, last.get()-lengthToCopy, lengthToCopy); > > > last.advance( -PRInt32(lengthToCopy) ); > result.advance( -PRInt32(lengthToCopy) ); > } > > return result; > } ># 41 "../../../dist/include/string/nsStringIterator.h" 2 ># 56 "../../../dist/include/string/nsStringIterator.h" >template <class CharT> >class nsReadingIterator > > { > public: > typedef ptrdiff_t difference_type; > typedef CharT value_type; > typedef const CharT* pointer; > typedef const CharT& reference; > > > typedef nsReadableFragment<CharT> const_fragment_type; > typedef nsWritableFragment<CharT> fragment_type; > > private: > friend class nsAString; > friend class nsACString; > typedef typename nsStringTraits<CharT>::abstract_string_type abstract_string_type; > > const_fragment_type mFragment; > const CharT* mPosition; > const abstract_string_type* mOwningString; > > public: > nsReadingIterator() { } > > > > inline void normalize_forward(); > inline void normalize_backward(); > > pointer > get() const > { > return mPosition; > } > > CharT > operator*() const > { > return *get(); > } ># 109 "../../../dist/include/string/nsStringIterator.h" > nsReadingIterator<CharT>& > operator++() > { > ++mPosition; > normalize_forward(); > return *this; > } > > nsReadingIterator<CharT> > operator++( int ) > { > nsReadingIterator<CharT> result(*this); > ++mPosition; > normalize_forward(); > return result; > } > > nsReadingIterator<CharT>& > operator--() > { > normalize_backward(); > --mPosition; > return *this; > } > > nsReadingIterator<CharT> > operator--( int ) > { > nsReadingIterator<CharT> result(*this); > normalize_backward(); > --mPosition; > return result; > } > > const const_fragment_type& > fragment() const > { > return mFragment; > } > > const abstract_string_type& > string() const > { > ; > return *mOwningString; > } > > difference_type > size_forward() const > { > return mFragment.mEnd - mPosition; > } > > difference_type > size_backward() const > { > return mPosition - mFragment.mStart; > } > > nsReadingIterator<CharT>& > advance( difference_type n ) > { > while ( n > 0 ) > { > difference_type one_hop = NS_MIN(n, size_forward()); > > ; > > > mPosition += one_hop; > normalize_forward(); > n -= one_hop; > } > > while ( n < 0 ) > { > normalize_backward(); > difference_type one_hop = NS_MAX(n, -size_backward()); > > ; > > > mPosition += one_hop; > n -= one_hop; > } > > return *this; > } > }; ># 206 "../../../dist/include/string/nsStringIterator.h" >template <class CharT> >class nsWritingIterator > > { > public: > typedef ptrdiff_t difference_type; > typedef CharT value_type; > typedef CharT* pointer; > typedef CharT& reference; > > > typedef nsReadableFragment<CharT> const_fragment_type; > typedef nsWritableFragment<CharT> fragment_type; > > private: > friend class nsAString; > friend class nsACString; > typedef typename nsStringTraits<CharT>::abstract_string_type abstract_string_type; > > fragment_type mFragment; > CharT* mPosition; > abstract_string_type* mOwningString; > > public: > nsWritingIterator() { } > > > > inline void normalize_forward(); > inline void normalize_backward(); > > pointer > get() const > { > return mPosition; > } > > reference > operator*() const > { > return *get(); > } ># 259 "../../../dist/include/string/nsStringIterator.h" > nsWritingIterator<CharT>& > operator++() > { > ++mPosition; > normalize_forward(); > return *this; > } > > nsWritingIterator<CharT> > operator++( int ) > { > nsWritingIterator<CharT> result(*this); > ++mPosition; > normalize_forward(); > return result; > } > > nsWritingIterator<CharT>& > operator--() > { > normalize_backward(); > --mPosition; > return *this; > } > > nsWritingIterator<CharT> > operator--( int ) > { > nsWritingIterator<CharT> result(*this); > normalize_backward(); > --mPosition; > return result; > } > > const fragment_type& > fragment() const > { > return mFragment; > } > > fragment_type& > fragment() > { > return mFragment; > } > > const abstract_string_type& > string() const > { > ; > return *mOwningString; > } > > abstract_string_type& > string() > { > ; > return *mOwningString; > } > > difference_type > size_forward() const > { > return mFragment.mEnd - mPosition; > } > > difference_type > size_backward() const > { > return mPosition - mFragment.mStart; > } > > nsWritingIterator<CharT>& > advance( difference_type n ) > { > while ( n > 0 ) > { > difference_type one_hop = NS_MIN(n, size_forward()); > > ; > > > mPosition += one_hop; > normalize_forward(); > n -= one_hop; > } > > while ( n < 0 ) > { > normalize_backward(); > difference_type one_hop = NS_MAX(n, -size_backward()); > > ; > > > mPosition += one_hop; > n -= one_hop; > } > > return *this; > } > > PRUint32 > write( const value_type* s, PRUint32 n ) > { > ; > > n = NS_MIN(n, PRUint32(size_forward())); > nsCharTraits<value_type>::move(mPosition, s, n); > advance( difference_type(n) ); > return n; > } > }; > >template <class CharT> >inline >void >nsReadingIterator<CharT>::normalize_forward() > { > while ( mPosition == mFragment.mEnd > && mOwningString->GetReadableFragment(mFragment, kNextFragment) ) > mPosition = mFragment.mStart; > } > >template <class CharT> >inline >void >nsReadingIterator<CharT>::normalize_backward() > { > while ( mPosition == mFragment.mStart > && mOwningString->GetReadableFragment(mFragment, kPrevFragment) ) > mPosition = mFragment.mEnd; > } > >template <class CharT> >inline >PRBool >operator==( const nsReadingIterator<CharT>& lhs, const nsReadingIterator<CharT>& rhs ) > { > return lhs.get() == rhs.get(); > } > >template <class CharT> >inline >PRBool >operator!=( const nsReadingIterator<CharT>& lhs, const nsReadingIterator<CharT>& rhs ) > { > return lhs.get() != rhs.get(); > } > > > > > > >template <class CharT> >inline >void >nsWritingIterator<CharT>::normalize_forward() > { > while ( mPosition == mFragment.mEnd > && mOwningString->GetWritableFragment(mFragment, kNextFragment) ) > mPosition = mFragment.mStart; > } > >template <class CharT> >inline >void >nsWritingIterator<CharT>::normalize_backward() > { > while ( mPosition == mFragment.mStart > && mOwningString->GetWritableFragment(mFragment, kPrevFragment) ) > mPosition = mFragment.mEnd; > } > >template <class CharT> >inline >PRBool >operator==( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>& rhs ) > { > return lhs.get() == rhs.get(); > } > >template <class CharT> >inline >PRBool >operator!=( const nsWritingIterator<CharT>& lhs, const nsWritingIterator<CharT>& rhs ) > { > return lhs.get() != rhs.get(); > } ># 41 "../../../dist/include/string/nsAString.h" 2 > > > > > > >class nsStringComparator > { > public: > typedef PRUnichar char_type; > > virtual int operator()( const char_type*, const char_type*, PRUint32 aLength ) const = 0; > virtual int operator()( char_type, char_type ) const = 0; > }; > >class nsDefaultStringComparator > : public nsStringComparator > { > public: > virtual int operator()( const char_type*, const char_type*, PRUint32 aLength ) const; > virtual int operator() ( char_type, char_type ) const; > }; > > > > > > >class nsCStringComparator > { > public: > typedef char char_type; > > virtual int operator()( const char_type*, const char_type*, PRUint32 aLength ) const = 0; > virtual int operator() ( char_type, char_type ) const = 0; > }; > >class nsDefaultCStringComparator > : public nsCStringComparator > { > public: > virtual int operator()( const char_type*, const char_type*, PRUint32 aLength ) const; > virtual int operator()( char_type, char_type ) const; > }; ># 99 "../../../dist/include/string/nsAString.h" >class nsAString > { > public: > typedef PRUnichar char_type; > typedef char incompatible_char_type; > > typedef nsBufferHandle<char_type> buffer_handle_type; > typedef nsConstBufferHandle<char_type> const_buffer_handle_type; > typedef nsSharedBufferHandle<char_type> shared_buffer_handle_type; > > typedef nsReadableFragment<char_type> const_fragment_type; > typedef nsWritableFragment<char_type> fragment_type; > > typedef nsAString self_type; > typedef nsAString abstract_string_type; > > typedef nsReadingIterator<char_type> const_iterator; > typedef nsWritingIterator<char_type> iterator; > > typedef PRUint32 size_type; > typedef PRUint32 index_type; > > > public: > > > virtual ~nsAString() { } > > enum { > kHasStackBuffer = 0x00000001 > > > > > }; > virtual PRUint32 GetImplementationFlags() const; > > virtual const buffer_handle_type* GetFlatBufferHandle() const; > virtual const buffer_handle_type* GetBufferHandle() const; > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; ># 148 "../../../dist/include/string/nsAString.h" > inline const_iterator& BeginReading( const_iterator& ) const; > inline const_iterator& EndReading( const_iterator& ) const; > > inline iterator& BeginWriting( iterator& ); > inline iterator& EndWriting( iterator& ); > > virtual size_type Length() const = 0; > PRBool IsEmpty() const { return Length() == 0; } > > inline PRBool Equals( const abstract_string_type&, const nsStringComparator& = nsDefaultStringComparator() ) const; > PRBool Equals( const char_type*, const nsStringComparator& = nsDefaultStringComparator() ) const; > > virtual PRBool IsVoid() const; > virtual void SetIsVoid( PRBool ); ># 178 "../../../dist/include/string/nsAString.h" > char_type First() const; > char_type Last() const; > > size_type CountChar( char_type ) const; > > > > > PRInt32 FindChar( char_type, index_type aOffset = 0 ) const; ># 197 "../../../dist/include/string/nsAString.h" > virtual void SetCapacity( size_type ) { } ># 219 "../../../dist/include/string/nsAString.h" > virtual void SetLength( size_type ) { } > > > void > Truncate( size_type aNewLength=0 ) > { > ; > > > SetLength(aNewLength); > } ># 258 "../../../dist/include/string/nsAString.h" > void Assign( const self_type& aReadable ) { do_AssignFromReadable(aReadable); } > void Assign( const char_type* aPtr ) { aPtr ? do_AssignFromElementPtr(aPtr) : SetLength(0); } > void Assign( const char_type* aPtr, size_type aLength ) { do_AssignFromElementPtrLength(aPtr, aLength); } > void Assign( char_type aChar ) { do_AssignFromElement(aChar); } > > > self_type& operator=( const self_type& aReadable ) { Assign(aReadable); return *this; } > > self_type& operator=( const char_type* aPtr ) { Assign(aPtr); return *this; } > self_type& operator=( char_type aChar ) { Assign(aChar); return *this; } > > > > > > > > void Append( const self_type& aReadable ) { do_AppendFromReadable(aReadable); } > void Append( const char_type* aPtr ) { if (aPtr) do_AppendFromElementPtr(aPtr); } > void Append( const char_type* aPtr, size_type aLength ) { do_AppendFromElementPtrLength(aPtr, aLength); } > void Append( char_type aChar ) { do_AppendFromElement(aChar); } > > self_type& operator+=( const self_type& aReadable ) { Append(aReadable); return *this; } > self_type& operator+=( const char_type* aPtr ) { Append(aPtr); return *this; } > self_type& operator+=( char_type aChar ) { Append(aChar); return *this; } ># 295 "../../../dist/include/string/nsAString.h" > void Insert( const self_type& aReadable, index_type atPosition ) { do_InsertFromReadable(aReadable, atPosition); } > void Insert( const char_type* aPtr, index_type atPosition ) { if (aPtr) do_InsertFromElementPtr(aPtr, atPosition); } > void Insert( const char_type* aPtr, index_type atPosition, size_type aLength ) { do_InsertFromElementPtrLength(aPtr, atPosition, aLength); } > void Insert( char_type aChar, index_type atPosition ) { do_InsertFromElement(aChar, atPosition); } > > > > virtual void Cut( index_type cutStart, size_type cutLength ); > > > > void Replace( index_type cutStart, size_type cutLength, const self_type& aReadable ) { do_ReplaceFromReadable(cutStart, cutLength, aReadable); } > > private: > > index_type CountChar( incompatible_char_type ) const; > void operator= ( incompatible_char_type ); > void Assign ( incompatible_char_type ); > void operator+= ( incompatible_char_type ); > void Append ( incompatible_char_type ); > void Insert ( incompatible_char_type, index_type ); > > > protected: > void UncheckedAssignFromReadable( const self_type& ); > virtual void do_AssignFromReadable( const self_type& ); > virtual void do_AssignFromElementPtr( const char_type* ); > virtual void do_AssignFromElementPtrLength( const char_type*, size_type ); > virtual void do_AssignFromElement( char_type ); > > void UncheckedAppendFromReadable( const self_type& ); > virtual void do_AppendFromReadable( const self_type& ); > virtual void do_AppendFromElementPtr( const char_type* ); > virtual void do_AppendFromElementPtrLength( const char_type*, size_type ); > virtual void do_AppendFromElement( char_type ); > > void UncheckedInsertFromReadable( const self_type&, index_type ); > virtual void do_InsertFromReadable( const self_type&, index_type ); > virtual void do_InsertFromElementPtr( const char_type*, index_type ); > virtual void do_InsertFromElementPtrLength( const char_type*, index_type, size_type ); > virtual void do_InsertFromElement( char_type, index_type ); > > void UncheckedReplaceFromReadable( index_type, size_type, const self_type& ); > virtual void do_ReplaceFromReadable( index_type, size_type, const self_type& ); > > > > public: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 = 0 ) const = 0; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 = 0 ) = 0; > > PRBool IsDependentOn( const self_type& aString ) const; > }; > > > > > >class nsACString > { > public: > typedef char char_type; > typedef PRUnichar incompatible_char_type; > > typedef nsBufferHandle<char_type> buffer_handle_type; > typedef nsConstBufferHandle<char_type> const_buffer_handle_type; > typedef nsSharedBufferHandle<char_type> shared_buffer_handle_type; > > typedef nsReadableFragment<char_type> const_fragment_type; > typedef nsWritableFragment<char_type> fragment_type; > > typedef nsACString self_type; > typedef nsACString abstract_string_type; > > typedef nsReadingIterator<char_type> const_iterator; > typedef nsWritingIterator<char_type> iterator; > > typedef PRUint32 size_type; > typedef PRUint32 index_type; > > > > > > > virtual ~nsACString() { } > > enum { > kHasStackBuffer = 0x00000001 > > > > > }; > virtual PRUint32 GetImplementationFlags() const; > > virtual const buffer_handle_type* GetFlatBufferHandle() const; > virtual const buffer_handle_type* GetBufferHandle() const; > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; ># 403 "../../../dist/include/string/nsAString.h" > inline const_iterator& BeginReading( const_iterator& ) const; > inline const_iterator& EndReading( const_iterator& ) const; > > inline iterator& BeginWriting( iterator& ); > inline iterator& EndWriting( iterator& ); > > virtual size_type Length() const = 0; > PRBool IsEmpty() const { return Length() == 0; } > > inline PRBool Equals( const abstract_string_type&, const nsCStringComparator& = nsDefaultCStringComparator() ) const; > PRBool Equals( const char_type*, const nsCStringComparator& = nsDefaultCStringComparator() ) const; > > virtual PRBool IsVoid() const; > virtual void SetIsVoid( PRBool ); ># 433 "../../../dist/include/string/nsAString.h" > char_type First() const; > char_type Last() const; > > size_type CountChar( char_type ) const; > > > > PRInt32 FindChar( char_type, index_type aOffset = 0 ) const; ># 451 "../../../dist/include/string/nsAString.h" > virtual void SetCapacity( size_type ) { } ># 473 "../../../dist/include/string/nsAString.h" > virtual void SetLength( size_type ) { } > > > void > Truncate( size_type aNewLength=0 ) > { > ; > > > SetLength(aNewLength); > } ># 512 "../../../dist/include/string/nsAString.h" > void Assign( const self_type& aReadable ) { do_AssignFromReadable(aReadable); } > void Assign( const char_type* aPtr ) { aPtr ? do_AssignFromElementPtr(aPtr) : SetLength(0); } > void Assign( const char_type* aPtr, size_type aLength ) { do_AssignFromElementPtrLength(aPtr, aLength); } > void Assign( char_type aChar ) { do_AssignFromElement(aChar); } > > > self_type& operator=( const self_type& aReadable ) { Assign(aReadable); return *this; } > > self_type& operator=( const char_type* aPtr ) { Assign(aPtr); return *this; } > self_type& operator=( char_type aChar ) { Assign(aChar); return *this; } > > > > > > > > void Append( const self_type& aReadable ) { do_AppendFromReadable(aReadable); } > void Append( const char_type* aPtr ) { if (aPtr) do_AppendFromElementPtr(aPtr); } > void Append( const char_type* aPtr, size_type aLength ) { do_AppendFromElementPtrLength(aPtr, aLength); } > void Append( char_type aChar ) { do_AppendFromElement(aChar); } > > self_type& operator+=( const self_type& aReadable ) { Append(aReadable); return *this; } > self_type& operator+=( const char_type* aPtr ) { Append(aPtr); return *this; } > self_type& operator+=( char_type aChar ) { Append(aChar); return *this; } ># 549 "../../../dist/include/string/nsAString.h" > void Insert( const self_type& aReadable, index_type atPosition ) { do_InsertFromReadable(aReadable, atPosition); } > void Insert( const char_type* aPtr, index_type atPosition ) { if (aPtr) do_InsertFromElementPtr(aPtr, atPosition); } > void Insert( const char_type* aPtr, index_type atPosition, size_type aLength ) { do_InsertFromElementPtrLength(aPtr, atPosition, aLength); } > void Insert( char_type aChar, index_type atPosition ) { do_InsertFromElement(aChar, atPosition); } > > > > virtual void Cut( index_type cutStart, size_type cutLength ); > > > > void Replace( index_type cutStart, size_type cutLength, const self_type& aReadable ) { do_ReplaceFromReadable(cutStart, cutLength, aReadable); } > > private: > > index_type CountChar( incompatible_char_type ) const; > void operator= ( incompatible_char_type ); > void Assign ( incompatible_char_type ); > void operator+= ( incompatible_char_type ); > void Append ( incompatible_char_type ); > void Insert ( incompatible_char_type, index_type ); > > > protected: > void UncheckedAssignFromReadable( const self_type& ); > virtual void do_AssignFromReadable( const self_type& ); > virtual void do_AssignFromElementPtr( const char_type* ); > virtual void do_AssignFromElementPtrLength( const char_type*, size_type ); > virtual void do_AssignFromElement( char_type ); > > void UncheckedAppendFromReadable( const self_type& ); > virtual void do_AppendFromReadable( const self_type& ); > virtual void do_AppendFromElementPtr( const char_type* ); > virtual void do_AppendFromElementPtrLength( const char_type*, size_type ); > virtual void do_AppendFromElement( char_type ); > > void UncheckedInsertFromReadable( const self_type&, index_type ); > virtual void do_InsertFromReadable( const self_type&, index_type ); > virtual void do_InsertFromElementPtr( const char_type*, index_type ); > virtual void do_InsertFromElementPtrLength( const char_type*, index_type, size_type ); > virtual void do_InsertFromElement( char_type, index_type ); > > void UncheckedReplaceFromReadable( index_type, size_type, const self_type& ); > virtual void do_ReplaceFromReadable( index_type, size_type, const self_type& ); > > > > public: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 = 0 ) const = 0; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 = 0 ) = 0; > > PRBool IsDependentOn( const abstract_string_type& aString ) const; > }; > > > > >inline >nsAString::const_iterator& >nsAString::BeginReading( const_iterator& aResult ) const > { > aResult.mOwningString = this; > GetReadableFragment(aResult.mFragment, kFirstFragment); > aResult.mPosition = aResult.mFragment.mStart; > aResult.normalize_forward(); > return aResult; > } > >inline >nsAString::const_iterator& >nsAString::EndReading( const_iterator& aResult ) const > { > aResult.mOwningString = this; > GetReadableFragment(aResult.mFragment, kLastFragment); > aResult.mPosition = aResult.mFragment.mEnd; > > return aResult; > } > >inline >nsAString::iterator& >nsAString::BeginWriting( iterator& aResult ) > { > aResult.mOwningString = this; > GetWritableFragment(aResult.mFragment, kFirstFragment); > aResult.mPosition = aResult.mFragment.mStart; > aResult.normalize_forward(); > return aResult; > } > > >inline >nsAString::iterator& >nsAString::EndWriting( iterator& aResult ) > { > aResult.mOwningString = this; > GetWritableFragment(aResult.mFragment, kLastFragment); > aResult.mPosition = aResult.mFragment.mEnd; > > return aResult; > } > > int Compare( const nsAString& lhs, const nsAString& rhs, const nsStringComparator& = nsDefaultStringComparator() ); > >inline >PRBool >nsAString::Equals( const abstract_string_type& rhs, const nsStringComparator& aComparator ) const > { > return Length()==rhs.Length() && Compare(*this, rhs, aComparator)==0; > } > >inline >PRBool >operator!=( const nsAString& lhs, const nsAString& rhs ) > { > return !lhs.Equals(rhs); > } > >inline >PRBool >operator< ( const nsAString& lhs, const nsAString& rhs ) > { > return Compare(lhs, rhs)< 0; > } > >inline >PRBool >operator<=( const nsAString& lhs, const nsAString& rhs ) > { > return Compare(lhs, rhs)<=0; > } > >inline >PRBool >operator==( const nsAString& lhs, const nsAString& rhs ) > { > return lhs.Equals(rhs); > } > >inline >PRBool >operator>=( const nsAString& lhs, const nsAString& rhs ) > { > return Compare(lhs, rhs)>=0; > } > >inline >PRBool >operator> ( const nsAString& lhs, const nsAString& rhs ) > { > return Compare(lhs, rhs)> 0; > } > > > > > > >inline >nsACString::const_iterator& >nsACString::BeginReading( const_iterator& aResult ) const > { > aResult.mOwningString = this; > GetReadableFragment(aResult.mFragment, kFirstFragment); > aResult.mPosition = aResult.mFragment.mStart; > aResult.normalize_forward(); > return aResult; > } > >inline >nsACString::const_iterator& >nsACString::EndReading( const_iterator& aResult ) const > { > aResult.mOwningString = this; > GetReadableFragment(aResult.mFragment, kLastFragment); > aResult.mPosition = aResult.mFragment.mEnd; > > return aResult; > } > >inline >nsACString::iterator& >nsACString::BeginWriting( iterator& aResult ) > { > aResult.mOwningString = this; > GetWritableFragment(aResult.mFragment, kFirstFragment); > aResult.mPosition = aResult.mFragment.mStart; > aResult.normalize_forward(); > return aResult; > } > > >inline >nsACString::iterator& >nsACString::EndWriting( iterator& aResult ) > { > aResult.mOwningString = this; > GetWritableFragment(aResult.mFragment, kLastFragment); > aResult.mPosition = aResult.mFragment.mEnd; > > return aResult; > } > > >class nsCaseInsensitiveCStringComparator > : public nsCStringComparator > { > public: > virtual int operator()( const char_type*, const char_type*, PRUint32 aLength ) const; > virtual int operator()( char_type, char_type ) const; > }; > > int Compare( const nsACString& lhs, const nsACString& rhs, const nsCStringComparator& = nsDefaultCStringComparator() ); > >inline >PRBool >nsACString::Equals( const abstract_string_type& rhs, const nsCStringComparator& aComparator ) const > { > return Length()==rhs.Length() && Compare(*this, rhs, aComparator)==0; > } > >inline >PRBool >operator!=( const nsACString& lhs, const nsACString& rhs ) > { > return !lhs.Equals(rhs); > } > >inline >PRBool >operator< ( const nsACString& lhs, const nsACString& rhs ) > { > return Compare(lhs, rhs)< 0; > } > >inline >PRBool >operator<=( const nsACString& lhs, const nsACString& rhs ) > { > return Compare(lhs, rhs)<=0; > } > >inline >PRBool >operator==( const nsACString& lhs, const nsACString& rhs ) > { > return lhs.Equals(rhs); > } > >inline >PRBool >operator>=( const nsACString& lhs, const nsACString& rhs ) > { > return Compare(lhs, rhs)>=0; > } > >inline >PRBool >operator> ( const nsACString& lhs, const nsACString& rhs ) > { > return Compare(lhs, rhs)> 0; > } > > > > ># 1 "../../../dist/include/string/nsDependentConcatenation.h" 1 ># 50 "../../../dist/include/string/nsDependentConcatenation.h" >class nsDependentConcatenation > : public nsAString > { > public: > typedef nsDependentConcatenation self_type; > > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ) { return 0; } > > enum { kFirstString, kLastString }; > > int > GetCurrentStringFromFragment( const const_fragment_type& aFragment ) const > { > return (aFragment.GetIDAsInt() & mFragmentIdentifierMask) ? kLastString : kFirstString; > } > > int > SetFirstStringInFragment( const_fragment_type& aFragment ) const > { > aFragment.SetID(aFragment.GetIDAsInt() & ~mFragmentIdentifierMask); > return kFirstString; > } > > int > SetLastStringInFragment( const_fragment_type& aFragment ) const > { > aFragment.SetID(aFragment.GetIDAsInt() | mFragmentIdentifierMask); > return kLastString; > } > > public: > nsDependentConcatenation( const abstract_string_type& aFirstString, const abstract_string_type& aLastString, PRUint32 aMask = 1 ) > : mFragmentIdentifierMask(aMask) > { > mStrings[kFirstString] = &aFirstString; > mStrings[kLastString] = &aLastString; > } > > nsDependentConcatenation( const self_type& aFirstString, const abstract_string_type& aLastString ) > : mFragmentIdentifierMask(aFirstString.mFragmentIdentifierMask<<1) > { > mStrings[kFirstString] = &aFirstString; > mStrings[kLastString] = &aLastString; > } > > > > > private: > > void operator=( const self_type& ); > > public: > > virtual PRUint32 Length() const; > > > > > PRUint32 GetFragmentIdentifierMask() const { return mFragmentIdentifierMask; } > > private: > void operator+( const self_type& ); > > > > private: > const abstract_string_type* mStrings[2]; > PRUint32 mFragmentIdentifierMask; > }; > >class nsDependentCConcatenation > : public nsACString > { > public: > typedef nsDependentCConcatenation self_type; > > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ) { return 0; } > > enum { kFirstString, kLastString }; > > int > GetCurrentStringFromFragment( const const_fragment_type& aFragment ) const > { > return (aFragment.GetIDAsInt() & mFragmentIdentifierMask) ? kLastString : kFirstString; > } > > int > SetFirstStringInFragment( const_fragment_type& aFragment ) const > { > aFragment.SetID(aFragment.GetIDAsInt() & ~mFragmentIdentifierMask); > return kFirstString; > } > > int > SetLastStringInFragment( const_fragment_type& aFragment ) const > { > aFragment.SetID(aFragment.GetIDAsInt() | mFragmentIdentifierMask); > return kLastString; > } > > public: > nsDependentCConcatenation( const abstract_string_type& aFirstString, const abstract_string_type& aLastString, PRUint32 aMask = 1 ) > : mFragmentIdentifierMask(aMask) > { > mStrings[kFirstString] = &aFirstString; > mStrings[kLastString] = &aLastString; > } > > nsDependentCConcatenation( const self_type& aFirstString, const abstract_string_type& aLastString ) > : mFragmentIdentifierMask(aFirstString.mFragmentIdentifierMask<<1) > { > mStrings[kFirstString] = &aFirstString; > mStrings[kLastString] = &aLastString; > } > > > > > private: > > void operator=( const self_type& ); > > public: > > virtual PRUint32 Length() const; > > > > > PRUint32 GetFragmentIdentifierMask() const { return mFragmentIdentifierMask; } > > private: > void operator+( const self_type& ); > > > > private: > const abstract_string_type* mStrings[2]; > PRUint32 mFragmentIdentifierMask; > }; ># 216 "../../../dist/include/string/nsDependentConcatenation.h" >inline >const nsDependentConcatenation >operator+( const nsDependentConcatenation& lhs, const nsAString& rhs ) > { > return nsDependentConcatenation(lhs, rhs, lhs.GetFragmentIdentifierMask()<<1); > } > >inline >const nsDependentCConcatenation >operator+( const nsDependentCConcatenation& lhs, const nsACString& rhs ) > { > return nsDependentCConcatenation(lhs, rhs, lhs.GetFragmentIdentifierMask()<<1); > } > >inline >const nsDependentConcatenation >operator+( const nsAString& lhs, const nsAString& rhs ) > { > return nsDependentConcatenation(lhs, rhs); > } > >inline >const nsDependentCConcatenation >operator+( const nsACString& lhs, const nsACString& rhs ) > { > return nsDependentCConcatenation(lhs, rhs); > } ># 816 "../../../dist/include/string/nsAString.h" 2 ># 55 "../../../dist/include/string/nsString2.h" 2 > > > ># 1 "../../../dist/include/string/nsAFlatString.h" 1 ># 30 "../../../dist/include/string/nsAFlatString.h" ># 1 "../../../dist/include/string/nsASingleFragmentString.h" 1 ># 43 "../../../dist/include/string/nsASingleFragmentString.h" >class nsASingleFragmentString > : public nsAString > { > > > > > > public: > typedef const char_type* const_char_iterator; > typedef char_type* char_iterator; > > > using abstract_string_type::BeginReading; > using abstract_string_type::EndReading; > using abstract_string_type::BeginWriting; > using abstract_string_type::EndWriting; > > > > > > > > inline > const_char_iterator& > BeginReading( const_char_iterator& aResult ) const > { > const_fragment_type f; > GetReadableFragment(f, kFirstFragment, 0); > return aResult = f.mStart; > } > > inline > const_char_iterator& > EndReading( const_char_iterator& aResult ) const > { > const_fragment_type f; > GetReadableFragment(f, kLastFragment, 0); > return aResult = f.mEnd; > } > > inline > char_iterator& > BeginWriting( char_iterator& aResult ) > { > fragment_type f; > GetWritableFragment(f, kFirstFragment, 0); > return aResult = const_cast< char_iterator >(f.mStart); > } > > inline > char_iterator& > EndWriting( char_iterator& aResult ) > { > fragment_type f; > GetWritableFragment(f, kLastFragment, 0); > return aResult = const_cast< char_iterator >(f.mEnd); > } > > char_type operator[]( PRUint32 i ) const { const_char_iterator temp; return BeginReading(temp)[ i ]; } > char_type CharAt( PRUint32 ) const; > > virtual PRUint32 Length() const; > > > public: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ); > }; > >class nsASingleFragmentCString > : public nsACString > { > > > > > > public: > typedef const char_type* const_char_iterator; > typedef char_type* char_iterator; > > > using abstract_string_type::BeginReading; > using abstract_string_type::EndReading; > using abstract_string_type::BeginWriting; > using abstract_string_type::EndWriting; > > > > > > > > inline > const_char_iterator& > BeginReading( const_char_iterator& aResult ) const > { > const_fragment_type f; > GetReadableFragment(f, kFirstFragment, 0); > return aResult = f.mStart; > } > > inline > const_char_iterator& > EndReading( const_char_iterator& aResult ) const > { > const_fragment_type f; > GetReadableFragment(f, kLastFragment, 0); > return aResult = f.mEnd; > } > > inline > char_iterator& > BeginWriting( char_iterator& aResult ) > { > fragment_type f; > GetWritableFragment(f, kFirstFragment, 0); > return aResult = const_cast< char_iterator >(f.mStart); > } > > inline > char_iterator& > EndWriting( char_iterator& aResult ) > { > fragment_type f; > GetWritableFragment(f, kLastFragment, 0); > return aResult = const_cast< char_iterator >(f.mEnd); > } > > char_type operator[]( PRUint32 i ) const { const_char_iterator temp; return BeginReading(temp)[ i ]; } > char_type CharAt( PRUint32 ) const; > > virtual PRUint32 Length() const; > > > public: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ); > }; > >inline >nsASingleFragmentString::char_type >nsASingleFragmentString::CharAt( PRUint32 i ) const > { > ; > return operator[](i); > } > >inline >nsASingleFragmentCString::char_type >nsASingleFragmentCString::CharAt( PRUint32 i ) const > { > ; > return operator[](i); > } ># 31 "../../../dist/include/string/nsAFlatString.h" 2 ># 43 "../../../dist/include/string/nsAFlatString.h" >class nsAFlatString > : public nsASingleFragmentString > { > public: > > > > virtual const char_type* get() const > { > const char_type* temp; > return BeginReading(temp); > } > }; > >class nsAFlatCString > : public nsASingleFragmentCString > { > public: > > > > virtual const char_type* get() const > { > const char_type* temp; > return BeginReading(temp); > } > > }; ># 59 "../../../dist/include/string/nsString2.h" 2 > > > ># 1 "../../../dist/include/string/nsLiteralString.h" 1 ># 32 "../../../dist/include/string/nsLiteralString.h" ># 1 "../../../dist/include/string/nsDependentString.h" 1 ># 45 "../../../dist/include/string/nsDependentString.h" >class nsDependentString > : public nsAFlatString > { > public: > typedef nsDependentString self_type; > > void > Rebind( const char_type* aPtr ) > { > ; > mHandle.DataStart(aPtr); > > > > mHandle.DataEnd(aPtr ? (aPtr+nsCharTraits<char_type>::length(aPtr)) : 0); > } > > void > Rebind( const char_type* aStartPtr, const char_type* aEndPtr ) > { > ; ># 86 "../../../dist/include/string/nsDependentString.h" > ; > mHandle.DataStart(aStartPtr); > mHandle.DataEnd(aEndPtr); > } > > void > Rebind( const char_type* aPtr, PRUint32 aLength ) > { > ; > Rebind(aPtr, aPtr+aLength); > } > > nsDependentString( const char_type* aStartPtr, const char_type* aEndPtr ) { Rebind(aStartPtr, aEndPtr); } > nsDependentString( const char_type* aPtr, PRUint32 aLength ) { Rebind(aPtr, aLength); } > explicit nsDependentString( const char_type* aPtr ) { Rebind(aPtr); } > > > > > > virtual const char_type* get() const { return mHandle.DataStart(); } > virtual PRUint32 Length() const { return mHandle.DataLength(); } > PRBool IsEmpty() const { return mHandle.DataLength() == 0; } > > private: > > void operator=( const self_type& ); > > public: > virtual const buffer_handle_type* GetFlatBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > virtual const buffer_handle_type* GetBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > > private: > const_buffer_handle_type mHandle; > }; > > > >class nsDependentCString > : public nsAFlatCString > { > public: > typedef nsDependentCString self_type; > > void > Rebind( const char_type* aPtr ) > { > ; > mHandle.DataStart(aPtr); > > > > mHandle.DataEnd(aPtr ? (aPtr+nsCharTraits<char_type>::length(aPtr)) : 0); > } > > void > Rebind( const char_type* aStartPtr, const char_type* aEndPtr ) > { > ; ># 165 "../../../dist/include/string/nsDependentString.h" > ; > mHandle.DataStart(aStartPtr); > mHandle.DataEnd(aEndPtr); > } > > void > Rebind( const char_type* aPtr, PRUint32 aLength ) > { > ; > Rebind(aPtr, aPtr+aLength); > } > > nsDependentCString( const char_type* aStartPtr, const char_type* aEndPtr ) { Rebind(aStartPtr, aEndPtr); } > nsDependentCString( const char_type* aPtr, PRUint32 aLength ) { Rebind(aPtr, aLength); } > explicit nsDependentCString( const char_type* aPtr ) { Rebind(aPtr); } > > > > > > virtual const char_type* get() const { return mHandle.DataStart(); } > virtual PRUint32 Length() const { return mHandle.DataLength(); } > PRBool IsEmpty() const { return mHandle.DataLength() == 0; } > > private: > > void operator=( const self_type& ); > > public: > virtual const buffer_handle_type* GetFlatBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > virtual const buffer_handle_type* GetBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > > private: > const_buffer_handle_type mHandle; > }; ># 33 "../../../dist/include/string/nsLiteralString.h" 2 ># 63 "../../../dist/include/string/nsString2.h" 2 > > > ># 1 "../../../dist/include/string/nsDependentSubstring.h" 1 ># 45 "../../../dist/include/string/nsDependentSubstring.h" >class nsDependentSubstring > : public nsAString ># 55 "../../../dist/include/string/nsDependentSubstring.h" > { > public: > typedef nsDependentSubstring self_type; > > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ) { return 0; } > > public: > nsDependentSubstring( const abstract_string_type& aString, PRUint32 aStartPos, PRUint32 aLength ); > nsDependentSubstring( const const_iterator& aStart, const const_iterator& aEnd ); > > > > > private: > > void operator=( const self_type& ); > > public: > virtual PRUint32 Length() const; > > private: > const abstract_string_type& mString; > PRUint32 mStartPos; > PRUint32 mLength; > }; > >class nsDependentCSubstring > : public nsACString ># 93 "../../../dist/include/string/nsDependentSubstring.h" > { > public: > typedef nsDependentCSubstring self_type; > > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ) { return 0; } > > public: > nsDependentCSubstring( const abstract_string_type& aString, PRUint32 aStartPos, PRUint32 aLength ); > nsDependentCSubstring( const const_iterator& aStart, const const_iterator& aEnd ); > > > > > private: > > void operator=( const self_type& ); > > public: > virtual PRUint32 Length() const; > > private: > const abstract_string_type& mString; > PRUint32 mStartPos; > PRUint32 mLength; > }; > > >class nsDependentSingleFragmentSubstring > : public nsASingleFragmentString > { > public: > typedef nsDependentSingleFragmentSubstring self_type; > typedef nsASingleFragmentString abstract_single_fragment_type; > > void > Rebind( const char_type* aStartPtr, const char_type* aEndPtr ); > > void > Rebind( const abstract_single_fragment_type& aString, const PRUint32 aStartPos, const PRUint32 aLength ); > > nsDependentSingleFragmentSubstring( const char_type* aStartPtr, const char_type* aEndPtr ) { Rebind(aStartPtr, aEndPtr); } > nsDependentSingleFragmentSubstring( const abstract_single_fragment_type& aString, const PRUint32 aStartPos, const PRUint32 aLength ) { Rebind(aString, aStartPos, aLength); } > > > > > private: > > void operator=( const self_type& ); > > public: > virtual const buffer_handle_type* GetBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > > private: > const_buffer_handle_type mHandle; > }; > > >class nsDependentSingleFragmentCSubstring > : public nsASingleFragmentCString > { > public: > typedef nsDependentSingleFragmentCSubstring self_type; > typedef nsASingleFragmentCString abstract_single_fragment_type; > > void > Rebind( const char_type* aStartPtr, const char_type* aEndPtr ); > > void > Rebind( const abstract_single_fragment_type& aString, const PRUint32 aStartPos, const PRUint32 aLength ); > > nsDependentSingleFragmentCSubstring( const char_type* aStartPtr, const char_type* aEndPtr ) { Rebind(aStartPtr, aEndPtr); } > nsDependentSingleFragmentCSubstring( const abstract_single_fragment_type& aString, const PRUint32 aStartPos, const PRUint32 aLength ) { Rebind(aString, aStartPos, aLength); } > > > > > private: > > void operator=( const self_type& ); > > public: > virtual const buffer_handle_type* GetBufferHandle() const { return reinterpret_cast< const buffer_handle_type* >(&mHandle); } > > private: > const_buffer_handle_type mHandle; > }; > > > >inline >const nsDependentCSubstring >Substring( const nsACString& aString, PRUint32 aStartPos ) > { > return nsDependentCSubstring(aString, aStartPos, aString.Length() - aStartPos); > } > >inline >const nsDependentSubstring >Substring( const nsAString& aString, PRUint32 aStartPos ) > { > return nsDependentSubstring(aString, aStartPos, aString.Length() - aStartPos); > } > >inline >const nsDependentCSubstring >Substring( const nsACString& aString, PRUint32 aStartPos, PRUint32 aSubstringLength ) > { > return nsDependentCSubstring(aString, aStartPos, aSubstringLength); > } > >inline >const nsDependentSubstring >Substring( const nsAString& aString, PRUint32 aStartPos, PRUint32 aSubstringLength ) > { > return nsDependentSubstring(aString, aStartPos, aSubstringLength); > } > >inline >const nsDependentCSubstring >Substring( const nsACString::const_iterator& aStart, const nsACString::const_iterator& aEnd ) > { > return nsDependentCSubstring(aStart, aEnd); > } > >inline >const nsDependentSubstring >Substring( const nsAString::const_iterator& aStart, const nsAString::const_iterator& aEnd ) > { > return nsDependentSubstring(aStart, aEnd); > } > >inline >const nsDependentSingleFragmentCSubstring >Substring( const nsASingleFragmentCString& aString, PRUint32 aStartPos ) > { > return nsDependentSingleFragmentCSubstring(aString, aStartPos, aString.Length() - aStartPos); > } > >inline >const nsDependentSingleFragmentSubstring >Substring( const nsASingleFragmentString& aString, PRUint32 aStartPos ) > { > return nsDependentSingleFragmentSubstring(aString, aStartPos, aString.Length() - aStartPos); > } > >inline >const nsDependentSingleFragmentCSubstring >Substring( const nsASingleFragmentCString& aString, PRUint32 aStartPos, PRUint32 aSubstringLength ) > { > return nsDependentSingleFragmentCSubstring(aString, aStartPos, aSubstringLength); > } > >inline >const nsDependentSingleFragmentSubstring >Substring( const nsASingleFragmentString& aString, PRUint32 aStartPos, PRUint32 aSubstringLength ) > { > return nsDependentSingleFragmentSubstring(aString, aStartPos, aSubstringLength); > } > >inline >const nsDependentSingleFragmentCSubstring >Substring( const nsASingleFragmentCString::const_char_iterator& aStart, const nsASingleFragmentCString::const_char_iterator& aEnd ) > { > return nsDependentSingleFragmentCSubstring(aStart, aEnd); > } > >inline >const nsDependentSingleFragmentSubstring >Substring( const nsASingleFragmentString::const_char_iterator& aStart, const nsASingleFragmentString::const_char_iterator& aEnd ) > { > return nsDependentSingleFragmentSubstring(aStart, aEnd); > } > >inline >const nsDependentCSubstring >StringHead( const nsACString& aString, PRUint32 aCount ) > { > return nsDependentCSubstring(aString, 0, aCount); > } > >inline >const nsDependentSubstring >StringHead( const nsAString& aString, PRUint32 aCount ) > { > return nsDependentSubstring(aString, 0, aCount); > } > >inline >const nsDependentSingleFragmentCSubstring >StringHead( const nsASingleFragmentCString& aString, PRUint32 aCount ) > { > return nsDependentSingleFragmentCSubstring(aString, 0, aCount); > } > >inline >const nsDependentSingleFragmentSubstring >StringHead( const nsASingleFragmentString& aString, PRUint32 aCount ) > { > return nsDependentSingleFragmentSubstring(aString, 0, aCount); > } > >inline >const nsDependentCSubstring >StringTail( const nsACString& aString, PRUint32 aCount ) > { > return nsDependentCSubstring(aString, aString.Length() - aCount, aCount); > } > >inline >const nsDependentSubstring >StringTail( const nsAString& aString, PRUint32 aCount ) > { > return nsDependentSubstring(aString, aString.Length() - aCount, aCount); > } > >inline >const nsDependentSingleFragmentCSubstring >StringTail( const nsASingleFragmentCString& aString, PRUint32 aCount ) > { > return nsDependentSingleFragmentCSubstring(aString, aString.Length() - aCount, aCount); > } > >inline >const nsDependentSingleFragmentSubstring >StringTail( const nsASingleFragmentString& aString, PRUint32 aCount ) > { > return nsDependentSingleFragmentSubstring(aString, aString.Length() - aCount, aCount); > } ># 67 "../../../dist/include/string/nsString2.h" 2 > > > ># 1 "../../../dist/include/string/nsPromiseFlatString.h" 1 ># 28 "../../../dist/include/string/nsPromiseFlatString.h" ># 1 "../../../dist/include/string/nsSharableString.h" 1 ># 35 "../../../dist/include/string/nsSharableString.h" ># 1 "../../../dist/include/string/nsBufferHandleUtils.h" 1 ># 36 "../../../dist/include/string/nsBufferHandleUtils.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/new" 1 3 ># 41 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/new" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 1 3 ># 46 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 3 > ># 47 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 3 ># 4294967149 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 3 > ># 48 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 49 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/cstddef" 2 3 > >namespace std >{ > using ::ptrdiff_t; > using ::size_t; >} ># 42 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/new" 2 3 ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/exception" 1 3 ># 40 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/exception" 3 >extern "C++" { > >namespace std >{ ># 52 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/exception" 3 > class exception > { > public: > exception() throw() { } > virtual ~exception() throw(); > > > virtual const char* what() const throw(); > }; > > > > class bad_exception : public exception > { > public: > bad_exception() throw() { } > > > virtual ~bad_exception() throw(); > }; > > > typedef void (*terminate_handler) (); > > typedef void (*unexpected_handler) (); > > > terminate_handler set_terminate(terminate_handler) throw(); > > > void terminate() __attribute__ ((__noreturn__)); > > > unexpected_handler set_unexpected(unexpected_handler) throw(); > > > void unexpected() __attribute__ ((__noreturn__)); ># 100 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/exception" 3 > bool uncaught_exception() throw(); >} > >namespace __gnu_cxx >{ ># 113 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/exception" 3 > void __verbose_terminate_handler (); >} > >} ># 43 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/new" 2 3 > >extern "C++" { > >namespace std >{ > > > > > > class bad_alloc : public exception > { > public: > bad_alloc() throw() { } > > > virtual ~bad_alloc() throw(); > }; > > struct nothrow_t { }; > extern const nothrow_t nothrow; > > > typedef void (*new_handler)(); > > new_handler set_new_handler(new_handler) throw(); >} ># 82 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/g++-v3/new" 3 >void* operator new(std::size_t) throw (std::bad_alloc); >void* operator new[](std::size_t) throw (std::bad_alloc); >void operator delete(void*) throw(); >void operator delete[](void*) throw(); >void* operator new(std::size_t, const std::nothrow_t&) throw(); >void* operator new[](std::size_t, const std::nothrow_t&) throw(); >void operator delete(void*, const std::nothrow_t&) throw(); >void operator delete[](void*, const std::nothrow_t&) throw(); > > >inline void* operator new(std::size_t, void* __p) throw() { return __p; } >inline void* operator new[](std::size_t, void* __p) throw() { return __p; } > > >inline void operator delete (void*, void*) throw() { }; >inline void operator delete[](void*, void*) throw() { }; > >} ># 37 "../../../dist/include/string/nsBufferHandleUtils.h" 2 > > > >template <class CharT> >class nsAutoBufferHandle > { > public: > nsAutoBufferHandle() : mHandle(0) { } > > nsAutoBufferHandle( const nsAutoBufferHandle<CharT>& aOther ) > : mHandle(aOther.get()) > { > if ( mHandle ) > mHandle->AcquireReference(); > } > > explicit > nsAutoBufferHandle( const nsSharedBufferHandle<CharT>* aHandle ) > : mHandle( const_cast< nsSharedBufferHandle<CharT>* >(aHandle) ) > { > if ( mHandle ) > mHandle->AcquireReference(); > } > > ~nsAutoBufferHandle() > { > if ( mHandle ) > mHandle->ReleaseReference(); > } > > nsAutoBufferHandle<CharT>& > operator=( const nsSharedBufferHandle<CharT>* rhs ) > { > nsSharedBufferHandle<CharT>* old_handle = mHandle; > if ( (mHandle = const_cast< nsSharedBufferHandle<CharT>* >(rhs)) ) > mHandle->AcquireReference(); > if ( old_handle ) > old_handle->ReleaseReference(); > return *this; > } > > nsAutoBufferHandle<CharT>& > operator=( const nsAutoBufferHandle<CharT>& rhs ) > { > return operator=(rhs.get()); > } > > nsSharedBufferHandle<CharT>* > get() const > { > return mHandle; > } > > operator nsSharedBufferHandle<CharT>*() const > { > return get(); > } > > nsSharedBufferHandle<CharT>* > operator->() const > { > return get(); > } > > private: > nsSharedBufferHandle<CharT>* mHandle; > }; > > >template <class HandleT, class CharT> >inline >size_t >NS_AlignedHandleSize( const HandleT*, const CharT* ) > { > > return ((sizeof(HandleT) + sizeof(CharT) - 1) / sizeof(CharT)) * sizeof(CharT); > } > >template <class HandleT, class CharT> >inline >const CharT* >NS_DataAfterHandle( const HandleT* aHandlePtr, const CharT* aDummyCharTPtr ) > { > typedef const CharT* CharT_ptr; > return CharT_ptr(static_cast< const unsigned char* >(aHandlePtr) + NS_AlignedHandleSize(aHandlePtr, aDummyCharTPtr)); > } > >template <class HandleT, class CharT> >inline >CharT* >NS_DataAfterHandle( HandleT* aHandlePtr, const CharT* aDummyCharTPtr ) > { > typedef CharT* CharT_ptr; > return CharT_ptr(static_cast< unsigned char* >(aHandlePtr) + NS_AlignedHandleSize(aHandlePtr, aDummyCharTPtr)); > } > >template <class HandleT, class StringT> >HandleT* >NS_AllocateContiguousHandleWithData( const HandleT* aDummyHandlePtr, PRUint32 aAdditionalCapacity, const StringT* aDataSource ) > { > typedef typename StringT::char_type char_type; > typedef char_type* char_ptr; > > > size_t handle_size = NS_AlignedHandleSize(aDummyHandlePtr, char_ptr(0)); > > > size_t data_length = aDataSource? aDataSource->Length() : 0; > size_t buffer_length = data_length + aAdditionalCapacity; > > > size_t buffer_size = buffer_length * sizeof(char_type); > > > HandleT* result = 0; > void* handle_ptr = ::operator new(handle_size + buffer_size); > > if ( handle_ptr ) > { > char_ptr data_start_ptr = char_ptr(static_cast< unsigned char* >(handle_ptr) + handle_size); > char_ptr data_end_ptr = data_start_ptr + data_length; > char_ptr buffer_end_ptr = data_start_ptr + buffer_length; > > char_ptr toBegin = data_start_ptr; > > if ( data_length ) > { > typename StringT::const_iterator fromBegin, fromEnd; > copy_string(aDataSource->BeginReading(fromBegin), aDataSource->EndReading(fromEnd), toBegin); > } > > > if ( aAdditionalCapacity > 0 ) > *toBegin = char_type(0); > > result = new (handle_ptr) HandleT(data_start_ptr, data_end_ptr, buffer_end_ptr - data_start_ptr, 1); > } > > return result; > } > >template <class HandleT, class StringT> >inline >HandleT* >NS_AllocateContiguousHandleWithData( const HandleT* aDummyHandlePtr, const StringT& aDataSource, PRUint32 aAdditionalCapacity ) > { > return NS_AllocateContiguousHandleWithData(aDummyHandlePtr, aAdditionalCapacity, &aDataSource); > } ># 36 "../../../dist/include/string/nsSharableString.h" 2 ># 47 "../../../dist/include/string/nsSharableString.h" >class nsSharableString > : public nsAFlatString > { > public: > typedef nsSharableString self_type; > > public: > nsSharableString() : mBuffer(GetSharedEmptyBufferHandle()) { } > nsSharableString( const self_type& aOther ) : mBuffer(aOther.mBuffer) { } > explicit nsSharableString( const abstract_string_type& aReadable ) > { > > > do_AssignFromReadable(aReadable); > } > explicit nsSharableString( const shared_buffer_handle_type* aHandle ) > : mBuffer(aHandle) > { > ; > } > > > self_type& operator=( const abstract_string_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > self_type& operator=( const self_type& aReadable ) > { > Assign(aReadable); > return *this; > } ># 90 "../../../dist/include/string/nsSharableString.h" > void Adopt( char_type* aNewValue ); > > > > > > > > public: > virtual void SetCapacity( size_type aNewCapacity ); > virtual void SetLength( size_type aNewLength ); > protected: > virtual void do_AssignFromReadable( const abstract_string_type& aReadable ); > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > public: > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ); > > protected: > static shared_buffer_handle_type* GetSharedEmptyBufferHandle(); > > protected: > nsAutoBufferHandle<char_type> mBuffer; > }; > > >class nsSharableCString > : public nsAFlatCString > { > public: > typedef nsSharableCString self_type; > > public: > nsSharableCString() : mBuffer(GetSharedEmptyBufferHandle()) { } > nsSharableCString( const self_type& aOther ) : mBuffer(aOther.mBuffer) { } > explicit nsSharableCString( const abstract_string_type& aReadable ) > { > > > do_AssignFromReadable(aReadable); > } > explicit nsSharableCString( const shared_buffer_handle_type* aHandle ) > : mBuffer(aHandle) > { > ; > } > > > self_type& operator=( const abstract_string_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > self_type& operator=( const self_type& aReadable ) > { > Assign(aReadable); > return *this; > } ># 159 "../../../dist/include/string/nsSharableString.h" > void Adopt( char_type* aNewValue ); > > > > > > > > public: > virtual void SetCapacity( size_type aNewCapacity ); > virtual void SetLength( size_type aNewLength ); > protected: > virtual void do_AssignFromReadable( const abstract_string_type& aReadable ); > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > public: > virtual char_type* GetWritableFragment( fragment_type&, nsFragmentRequest, PRUint32 ); > > protected: > static shared_buffer_handle_type* GetSharedEmptyBufferHandle(); > > protected: > nsAutoBufferHandle<char_type> mBuffer; > }; ># 29 "../../../dist/include/string/nsPromiseFlatString.h" 2 ># 83 "../../../dist/include/string/nsPromiseFlatString.h" >class nsPromiseFlatString > : public nsAFlatString > { > friend const nsPromiseFlatString PromiseFlatString( const abstract_string_type& ); > > public: > typedef nsPromiseFlatString self_type; > > public: > nsPromiseFlatString( const self_type& ); > > protected: > nsPromiseFlatString() : mPromisedString(&mFlattenedString) { } > explicit nsPromiseFlatString( const abstract_string_type& aString ); > > > virtual const buffer_handle_type* GetFlatBufferHandle() const; > virtual const buffer_handle_type* GetBufferHandle() const; > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > > > public: > virtual const char_type* get() const; > virtual PRUint32 Length() const; > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > > > private: > > void operator=( const nsPromiseFlatString& ); > > private: > nsSharableString mFlattenedString; > const nsAFlatString* mPromisedString; > }; > >class nsPromiseFlatCString > : public nsAFlatCString > { > friend const nsPromiseFlatCString PromiseFlatCString( const abstract_string_type& ); > > public: > typedef nsPromiseFlatCString self_type; > > public: > nsPromiseFlatCString( const self_type& ); > > protected: > nsPromiseFlatCString() : mPromisedString(&mFlattenedString) { } > explicit nsPromiseFlatCString( const abstract_string_type& aString ); > > > virtual const buffer_handle_type* GetFlatBufferHandle() const; > virtual const buffer_handle_type* GetBufferHandle() const; > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > > > public: > virtual const char_type* get() const; > virtual PRUint32 Length() const; > protected: > virtual const char_type* GetReadableFragment( const_fragment_type&, nsFragmentRequest, PRUint32 ) const; > > > private: > > void operator=( const self_type& ); > > private: > nsSharableCString mFlattenedString; > const nsAFlatCString* mPromisedString; > }; > > >inline >const nsPromiseFlatString >PromiseFlatString( const nsAString& aString ) > { > return nsPromiseFlatString(aString); > } > >inline >const nsPromiseFlatCString >PromiseFlatCString( const nsACString& aString ) > { > return nsPromiseFlatCString(aString); > } ># 71 "../../../dist/include/string/nsString2.h" 2 > > > ># 1 "../../../dist/include/string/nsXPIDLString.h" 1 ># 128 "../../../dist/include/string/nsXPIDLString.h" >class nsXPIDLString > : public nsSharableString > { > public: > typedef nsXPIDLString self_type; > > public: > nsXPIDLString() > : nsSharableString(GetSharedEmptyBufferHandle()) > { > > > > > > } > > nsXPIDLString( const self_type& aString ) > : nsSharableString(aString.mBuffer.get()) > > { > > > > > > } > > explicit nsXPIDLString( const abstract_string_type& aReadable ) > : nsSharableString(aReadable) > { > > > > > > } ># 174 "../../../dist/include/string/nsXPIDLString.h" > self_type& > operator=( const abstract_string_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > self_type& > operator=( const self_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > > > > > > void Adopt( char_type* aNewValue ) { *PrepareForUseAsOutParam() = aNewValue; } > > > virtual const char_type* get() const > { > return (mBuffer->GetImplementationFlags() & shared_buffer_handle_type::kIsNULL) > ? 0 > : mBuffer->DataStart(); > } > > > operator const char_type*() const { return get(); } > char_type operator[]( int i ) const { return get()[ i ]; } > > > class getter_Copies_t > { > public: > getter_Copies_t( nsXPIDLString& aString ) : mString(&aString) { } > > > > operator char_type**() const { return mString->PrepareForUseAsOutParam(); } > > private: > nsXPIDLString* mString; > }; > > friend class getter_Copies_t; > > protected: > > > > > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > > char_type** PrepareForUseAsOutParam(); > > static shared_buffer_handle_type* GetSharedEmptyBufferHandle(); ># 248 "../../../dist/include/string/nsXPIDLString.h" > }; > >inline >nsXPIDLString::getter_Copies_t >getter_Copies( nsXPIDLString& aString ) > { > return nsXPIDLString::getter_Copies_t(aString); > } > > > >class nsXPIDLCString > : public nsSharableCString > { > public: > typedef nsXPIDLCString self_type; > > public: > nsXPIDLCString() > : nsSharableCString(GetSharedEmptyBufferHandle()) > { > > > > > > } > > nsXPIDLCString( const self_type& aString ) > : nsSharableCString(aString.mBuffer.get()) > > { > > > > > > } ># 295 "../../../dist/include/string/nsXPIDLString.h" > self_type& > operator=( const abstract_string_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > self_type& > operator=( const self_type& aReadable ) > { > Assign(aReadable); > return *this; > } > > > > > > > > void Adopt( char_type* aNewValue ) { *PrepareForUseAsOutParam() = aNewValue; } > > > virtual const char_type* get() const > { > return (mBuffer->GetImplementationFlags() & shared_buffer_handle_type::kIsNULL) > ? 0 > : mBuffer->DataStart(); > } > > > operator const char_type*() const { return get(); } > char_type operator[]( int i ) const { return get()[ i ]; } > > > class getter_Copies_t > { > public: > getter_Copies_t( nsXPIDLCString& aString ) : mString(&aString) { } > > > > operator char_type**() const { return mString->PrepareForUseAsOutParam(); } > > private: > nsXPIDLCString* mString; > }; > > friend class getter_Copies_t; > > protected: > > > > > virtual const shared_buffer_handle_type* GetSharedBufferHandle() const; > > > char_type** PrepareForUseAsOutParam(); > > static shared_buffer_handle_type* GetSharedEmptyBufferHandle(); ># 369 "../../../dist/include/string/nsXPIDLString.h" > }; > >inline >nsXPIDLCString::getter_Copies_t >getter_Copies( nsXPIDLCString& aString ) > { > return nsXPIDLCString::getter_Copies_t(aString); > } ># 75 "../../../dist/include/string/nsString2.h" 2 > > ># 1 "../../../dist/include/string/nsStr.h" 1 ># 212 "../../../dist/include/string/nsStr.h" ># 1 "../../../dist/include/xpcom/nsMemory.h" 1 ># 41 "../../../dist/include/xpcom/nsMemory.h" ># 1 "../../../dist/include/xpcom/nsIMemory.h" 1 ># 54 "../../../dist/include/xpcom/nsIMemory.h" >class nsIMemory : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0x59e7e77a, 0x38e4, 0x11d4, { 0x8c, 0xf5, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 }}; return iid;} ># 68 "../../../dist/include/xpcom/nsIMemory.h" > virtual void * Alloc(size_t size) = 0; ># 85 "../../../dist/include/xpcom/nsIMemory.h" > virtual void * Realloc(void * ptr, size_t newSize) = 0; ># 94 "../../../dist/include/xpcom/nsIMemory.h" > virtual void Free(void * ptr) = 0; ># 106 "../../../dist/include/xpcom/nsIMemory.h" > virtual nsresult HeapMinimize(PRBool immediate) = 0; > > > > > > > > virtual nsresult IsLowMemory(PRBool *_retval) = 0; > >}; ># 42 "../../../dist/include/xpcom/nsMemory.h" 2 ># 63 "../../../dist/include/xpcom/nsMemory.h" >class nsMemory >{ >public: > static void* Alloc(size_t size); > static void* Realloc(void* ptr, size_t size); > static void Free(void* ptr); > static nsresult HeapMinimize(PRBool aImmediate); > static void* Clone(const void* ptr, size_t size); > static nsIMemory* GetGlobalMemoryService(); >}; ># 213 "../../../dist/include/string/nsStr.h" 2 > > ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plhash.h" 1 ># 43 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plhash.h" >extern "C" { > >typedef struct PLHashEntry PLHashEntry; >typedef struct PLHashTable PLHashTable; >typedef PRUint32 PLHashNumber; > >typedef PLHashNumber ( *PLHashFunction)(const void *key); >typedef PRIntn ( *PLHashComparator)(const void *v1, const void *v2); > > > > >typedef PRIntn ( *PLHashEnumerator)(PLHashEntry *he, PRIntn i, void *arg); ># 67 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plhash.h" >typedef struct PLHashAllocOps { > void * ( *allocTable)(void *pool, PRSize size); > void ( *freeTable)(void *pool, void *item); > PLHashEntry * ( *allocEntry)(void *pool, const void *key); > void ( *freeEntry)(void *pool, PLHashEntry *he, PRUintn flag); >} PLHashAllocOps; > > > > >struct PLHashEntry { > PLHashEntry *next; > PLHashNumber keyHash; > const void *key; > void *value; >}; > >struct PLHashTable { > PLHashEntry **buckets; > PRUint32 nentries; > PRUint32 shift; > PLHashFunction keyHash; > PLHashComparator keyCompare; > PLHashComparator valueCompare; > const PLHashAllocOps *allocOps; > void *allocPriv; > > > > > > >}; > > > > > >extern PLHashTable * >PL_NewHashTable(PRUint32 numBuckets, PLHashFunction keyHash, > PLHashComparator keyCompare, PLHashComparator valueCompare, > const PLHashAllocOps *allocOps, void *allocPriv); > >extern void >PL_HashTableDestroy(PLHashTable *ht); > > >extern PLHashEntry * >PL_HashTableAdd(PLHashTable *ht, const void *key, void *value); > >extern PRBool >PL_HashTableRemove(PLHashTable *ht, const void *key); > >extern void * >PL_HashTableLookup(PLHashTable *ht, const void *key); > >extern void * >PL_HashTableLookupConst(PLHashTable *ht, const void *key); > >extern PRIntn >PL_HashTableEnumerateEntries(PLHashTable *ht, PLHashEnumerator f, void *arg); > > >extern PLHashNumber >PL_HashString(const void *key); > > >extern PRIntn >PL_CompareStrings(const void *v1, const void *v2); > > >extern PRIntn >PL_CompareValues(const void *v1, const void *v2); > > >extern PLHashEntry ** >PL_HashTableRawLookup(PLHashTable *ht, PLHashNumber keyHash, const void *key); > >extern PLHashEntry ** >PL_HashTableRawLookupConst(PLHashTable *ht, PLHashNumber keyHash, > const void *key); > >extern PLHashEntry * >PL_HashTableRawAdd(PLHashTable *ht, PLHashEntry **hep, PLHashNumber keyHash, > const void *key, void *value); > >extern void >PL_HashTableRawRemove(PLHashTable *ht, PLHashEntry **hep, PLHashEntry *he); > > >extern PRIntn >PL_HashTableDump(PLHashTable *ht, PLHashEnumerator dump, FILE *fp); > >} ># 216 "../../../dist/include/string/nsStr.h" 2 ># 1 "../../../dist/include/string/nsStrShared.h" 1 > > > > > >enum eCharSize {eOneByte=0,eTwoByte=1}; ># 217 "../../../dist/include/string/nsStr.h" 2 ># 234 "../../../dist/include/string/nsStr.h" >const PRInt32 kDefaultStringSize = 64; >const PRInt32 kNotFound = -1; > > > >class nsAString; >class CBufDescriptor { >public: > CBufDescriptor(char* aString, PRBool aStackBased,PRUint32 aCapacity,PRInt32 aLength=-1); > CBufDescriptor(const char* aString, PRBool aStackBased,PRUint32 aCapacity,PRInt32 aLength=-1); > CBufDescriptor(PRUnichar* aString, PRBool aStackBased,PRUint32 aCapacity,PRInt32 aLength=-1); > CBufDescriptor(const PRUnichar* aString,PRBool aStackBased,PRUint32 aCapacity,PRInt32 aLength=-1); > > char* mBuffer; > eCharSize mCharSize; > PRUint32 mCapacity; > PRInt32 mLength; > PRBool mStackBased; > PRBool mIsConst; >}; > > > > >struct nsStr { > >protected: > nsStr() { > > > > } > > ~nsStr() { > > > > } > >protected: > union { > char* mStr; > PRUnichar* mUStr; > }; > > PRUint32 mLength; > PRUint32 mCapacityAndFlags; > > inline PRUint32 GetCapacity() const { > > return (mCapacityAndFlags & (~((1<<(31)) | (1<<(30))))); > } > > inline PRBool GetOwnsBuffer() const { > return ((mCapacityAndFlags & (1<<(30))) != 0); > } > > inline eCharSize GetCharSize() const { > return eCharSize(mCapacityAndFlags >> (31)); > } > >private: > > inline void SetInternalCapacity(PRUint32 aCapacity) { > mCapacityAndFlags = > ((mCapacityAndFlags & ~(~((1<<(31)) | (1<<(30))))) | > (aCapacity & (~((1<<(31)) | (1<<(30)))))); > } > > inline void SetCharSize(eCharSize aCharSize) { > mCapacityAndFlags = > ((mCapacityAndFlags & ~(1<<(31))) | > (PRUint32(aCharSize) << (31))); > } > > inline void SetOwnsBuffer(PRBool aOwnsBuffer) { > mCapacityAndFlags = > (mCapacityAndFlags & ~(1<<(30)) | > (aOwnsBuffer ? 1 : 0) << (30)); > } > > inline PRUnichar GetCharAt(PRUint32 anIndex) const { > if(anIndex<mLength) { > return (eTwoByte==GetCharSize()) ? mUStr[anIndex] : (PRUnichar)mStr[anIndex]; > } > return 0; > } > >public: > friend > char* > ToNewUTF8String( const nsAString& aSource ); > friend inline void AddNullTerminator(nsStr& aDest); > friend class nsStrPrivate; > friend class nsString; > friend class nsCString; >}; ># 339 "../../../dist/include/string/nsStr.h" >inline PRInt32 MinInt(PRInt32 anInt1,PRInt32 anInt2){ > return (anInt1<anInt2) ? anInt1 : anInt2; >} > >inline PRInt32 MaxInt(PRInt32 anInt1,PRInt32 anInt2){ > return (anInt1<anInt2) ? anInt2 : anInt1; >} > >inline void AddNullTerminator(nsStr& aDest) { > if(eTwoByte==aDest.GetCharSize()) > aDest.mUStr[aDest.mLength]=0; > else aDest.mStr[aDest.mLength]=0; >} > > > > > > > >inline void Recycle( char* aBuffer) { nsMemory::Free(aBuffer); } >inline void Recycle( PRUnichar* aBuffer) { nsMemory::Free(aBuffer); } ># 78 "../../../dist/include/string/nsString2.h" 2 > > > > > >class nsCString; > > >class nsString : > public nsAFlatString, > public nsStr { > >public: > friend class nsCString; > friend class nsLinebreakConverter; > friend void ToLowerCase( nsString& ); > friend void ToUpperCase( nsString& ); > >protected: > virtual const nsBufferHandle<PRUnichar>* GetFlatBufferHandle() const; > virtual const PRUnichar* GetReadableFragment( nsReadableFragment<PRUnichar>&, nsFragmentRequest, PRUint32 ) const; > virtual PRUnichar* GetWritableFragment( nsWritableFragment<PRUnichar>&, nsFragmentRequest, PRUint32 ); > >public: > virtual const PRUnichar* get() const { return mUStr; } > > PRBool IsEmpty() const { return mLength == 0; } > >public: > > > > nsString(); > > > > > > nsString(const nsString& aString); > > explicit nsString(const nsAString&); > > explicit nsString(const PRUnichar*); > nsString(const PRUnichar*, PRInt32); > > > > > > > virtual ~nsString(); > > > > > > virtual PRUint32 Length() const { return mLength; } > > > > > > > > void SetLength(PRUint32 aLength); > > > > > > > void SetCapacity(PRUint32 aLength); ># 159 "../../../dist/include/string/nsString2.h" > PRBool SetCharAt(PRUnichar aChar,PRUint32 anIndex); ># 175 "../../../dist/include/string/nsString2.h" > void StripChars( const char* aSet ); > void StripChar( PRUnichar aChar, PRInt32 anOffset=0 ); > > > > > > void StripWhitespace(); > > > > > > > void ReplaceChar( PRUnichar anOldChar, PRUnichar aNewChar ); > void ReplaceChar( const char* aSet, PRUnichar aNewChar ); > > void ReplaceSubstring( const nsString& aTarget, const nsString& aNewValue ); > void ReplaceSubstring( const PRUnichar* aTarget, const PRUnichar* aNewValue ); ># 206 "../../../dist/include/string/nsString2.h" > void Trim(const char* aSet,PRBool aEliminateLeading=1,PRBool aEliminateTrailing=1,PRBool aIgnoreQuotes=0); ># 217 "../../../dist/include/string/nsString2.h" > void CompressWhitespace( PRBool aEliminateLeading=1,PRBool aEliminateTrailing=1); ># 230 "../../../dist/include/string/nsString2.h" > char* ToCString(char* aBuf,PRUint32 aBufLength,PRUint32 anOffset=0) const; > > > > > > > float ToFloat(PRInt32* aErrorCode) const; > > > > > > > > PRInt32 ToInteger(PRInt32* aErrorCode,PRUint32 aRadix=(10)) const; ># 261 "../../../dist/include/string/nsString2.h" > nsString& operator=( const nsString& aString ) { Assign(aString); return *this; } > nsString& operator=( const nsAString& aReadable ) { Assign(aReadable); return *this; } > > nsString& operator=( const PRUnichar* aPtr ) { Assign(aPtr); return *this; } > nsString& operator=( PRUnichar aChar ) { Assign(aChar); return *this; } > > void AssignWithConversion(const char*); > void AssignWithConversion(const char*, PRInt32); ># 279 "../../../dist/include/string/nsString2.h" > void AppendInt(PRInt32, PRInt32=10); > void AppendFloat(double); > void AppendWithConversion(const char*, PRInt32=-1); > > virtual void do_AppendFromElement( PRUnichar ); > > > > void InsertWithConversion(const char*, PRUint32, PRInt32=-1); > > > void Adopt( PRUnichar* aPtr, PRInt32 aLength = -1 ); ># 309 "../../../dist/include/string/nsString2.h" > size_type Left( self_type&, size_type ) const; > size_type Mid( self_type&, PRUint32, PRUint32 ) const; > size_type Right( self_type&, size_type ) const; ># 326 "../../../dist/include/string/nsString2.h" > PRInt32 FindChar(PRUnichar aChar, PRInt32 anOffset=0, PRInt32 aCount=-1) const; ># 338 "../../../dist/include/string/nsString2.h" > PRInt32 Find(const nsCString& aString,PRBool aIgnoreCase=0,PRInt32 anOffset=0,PRInt32 aCount=-1) const; > PRInt32 Find(const char* aString,PRBool aIgnoreCase=0,PRInt32 anOffset=0,PRInt32 aCount=-1) const; > > PRInt32 Find(const nsAFlatString& aString, PRInt32 anOffset=0, PRInt32 aCount=-1) const; > > PRInt32 Find(const PRUnichar* aString, PRInt32 anOffset=0, PRInt32 aCount=-1) const; ># 352 "../../../dist/include/string/nsString2.h" > PRInt32 FindCharInSet(const char* aString,PRInt32 anOffset=0) const; > PRInt32 FindCharInSet(const PRUnichar* aString,PRInt32 anOffset=0) const; ># 363 "../../../dist/include/string/nsString2.h" > PRInt32 RFind(const char* aCString,PRBool aIgnoreCase=0,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; > > PRInt32 RFind(const nsAFlatString& aString, PRInt32 anOffset=-1,PRInt32 aCount=-1) const; > PRInt32 RFind(const PRUnichar* aString,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; ># 378 "../../../dist/include/string/nsString2.h" > PRInt32 RFindChar(PRUnichar aChar,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; ># 387 "../../../dist/include/string/nsString2.h" > PRInt32 RFindCharInSet(const PRUnichar* aString,PRInt32 anOffset=-1) const; ># 403 "../../../dist/include/string/nsString2.h" > PRInt32 CompareWithConversion(const char* aString, PRBool aIgnoreCase=0, PRInt32 aCount=-1) const; > > PRBool EqualsWithConversion(const char* aString,PRBool aIgnoreCase=0,PRInt32 aCount=-1) const; > > PRBool EqualsIgnoreCase(const char* aString,PRInt32 aCount=-1) const; > > > > > > > > PRBool IsASCII(const PRUnichar* aBuffer=0); > > > > > > > > static PRBool IsSpace(PRUnichar ch); > >private: > > > void operator=( char ); > void AssignWithConversion( const PRUnichar*, PRInt32=-1 ); > void AppendWithConversion( const PRUnichar*, PRInt32=-1 ); > void InsertWithConversion( const PRUnichar*, PRUint32, PRInt32=-1 ); >}; > >inline >nsString::size_type >nsString::Left( nsAString& aResult, size_type aLengthToCopy ) const > { > return Mid(aResult, 0, aLengthToCopy); > } > >inline >nsString::size_type >nsString::Right( self_type& aResult, size_type aLengthToCopy ) const > { > size_type myLength = Length(); > aLengthToCopy = NS_MIN(myLength, aLengthToCopy); > return Mid(aResult, myLength-aLengthToCopy, aLengthToCopy); > } ># 459 "../../../dist/include/string/nsString2.h" >class nsAutoString : public nsString { >public: > > virtual ~nsAutoString() {} > > nsAutoString(); > nsAutoString(const nsAutoString& aString); > explicit nsAutoString(const nsAString& aString); > explicit nsAutoString(const nsString& aString); > explicit nsAutoString(const PRUnichar* aString); > nsAutoString(const PRUnichar* aString,PRInt32 aLength); > explicit nsAutoString(PRUnichar aChar); > explicit nsAutoString(const CBufDescriptor& aBuffer); > > nsAutoString& operator=( const nsAutoString& aString ) { Assign(aString); return *this; } > private: > void operator=( char ); > public: > nsAutoString& operator=( const nsAString& aReadable ) { Assign(aReadable); return *this; } > > nsAutoString& operator=( const PRUnichar* aPtr ) { Assign(aPtr); return *this; } > nsAutoString& operator=( PRUnichar aChar ) { Assign(aChar); return *this; } > > PRUnichar mBuffer[kDefaultStringSize]; >}; > >class nsVoidableString : public nsAutoString >{ >public: > nsVoidableString() : > nsAutoString(), > mIsVoid(0) { } > > char_type* GetWritableFragment(nsWritableFragment<char_type>& aFragment, nsFragmentRequest aRequest, PRUint32 aOffset); > PRBool IsVoid() const; > void SetIsVoid(PRBool aVoid); > >protected: > PRBool mIsVoid; >}; > > > >class NS_ConvertASCIItoUTF16 > : public nsAutoString > > > > { > public: > explicit > NS_ConvertASCIItoUTF16( const nsACString& aCString ); > > explicit > NS_ConvertASCIItoUTF16( const nsAFlatCString& aCString ) > { > Init( aCString.get(), aCString.Length() ); > } > > explicit > NS_ConvertASCIItoUTF16( const char* aCString ) > { > Init( aCString, ~PRUint32(0) ); > } > > NS_ConvertASCIItoUTF16( const char* aCString, PRUint32 aLength ) > { > Init( aCString, aLength ); > } ># 536 "../../../dist/include/string/nsString2.h" > protected: > void Init( const char* aCString, PRUint32 aLength ); > > private: > > NS_ConvertASCIItoUTF16( PRUnichar ); > }; > > >class NS_ConvertUTF8toUTF16 > : public nsAutoString > { > public: > explicit NS_ConvertUTF8toUTF16( const nsACString& aCString ); > explicit NS_ConvertUTF8toUTF16( const nsASingleFragmentCString& aCString ); > explicit NS_ConvertUTF8toUTF16( const char* aCString ); > NS_ConvertUTF8toUTF16( const char* aCString, PRUint32 aLength ); > > protected: > void Init( const char* aCString, PRUint32 aLength ); > > private: > NS_ConvertUTF8toUTF16( PRUnichar ); > }; > > >typedef NS_ConvertASCIItoUTF16 NS_ConvertASCIItoUCS2; >typedef NS_ConvertUTF8toUTF16 NS_ConvertUTF8toUCS2; ># 55 "../../../dist/include/string/nsString.h" 2 > > >class nsCString : > public nsAFlatCString, > public nsStr { > >public: > friend class nsString; > friend void ToUpperCase( nsCString& ); > friend void ToLowerCase( nsCString& ); > >protected: > virtual const nsBufferHandle<char>* GetFlatBufferHandle() const; > virtual const char* GetReadableFragment( nsReadableFragment<char>&, nsFragmentRequest, PRUint32 ) const; > virtual char* GetWritableFragment( nsWritableFragment<char>&, nsFragmentRequest, PRUint32 ); > >public: > virtual const char* get() const { return mStr; } > > PRBool IsEmpty() const { return mLength == 0; } > >public: > > > > nsCString(); > > > > > > nsCString(const nsCString& aString); > > explicit nsCString( const nsACString& ); > > explicit nsCString(const char*); > nsCString(const char*, PRInt32); > > > > > > virtual ~nsCString(); > > > > > > virtual PRUint32 Length() const { return mLength; } > > > > > > > > void SetLength(PRUint32 aLength); > > > > > > > void SetCapacity(PRUint32 aLength); > > > > > > PRBool SetCharAt(PRUnichar aChar,PRUint32 anIndex); ># 138 "../../../dist/include/string/nsString.h" > void StripChars(const char* aSet); > void StripChar(char aChar,PRInt32 anOffset=0); > > > > > > > void StripWhitespace(); > > > > > > > void ReplaceChar(char aOldChar,char aNewChar); > void ReplaceChar(const char* aSet,char aNewChar); > > void ReplaceSubstring(const nsCString& aTarget,const nsCString& aNewValue); > void ReplaceSubstring(const char* aTarget,const char* aNewValue); ># 170 "../../../dist/include/string/nsString.h" > void Trim(const char* aSet,PRBool aEliminateLeading=1,PRBool aEliminateTrailing=1,PRBool aIgnoreQuotes=0); ># 181 "../../../dist/include/string/nsString.h" > void CompressWhitespace( PRBool aEliminateLeading=1,PRBool aEliminateTrailing=1); ># 192 "../../../dist/include/string/nsString.h" > float ToFloat(PRInt32* aErrorCode) const; ># 201 "../../../dist/include/string/nsString.h" > PRInt32 ToInteger(PRInt32* aErrorCode,PRUint32 aRadix=(10)) const; ># 217 "../../../dist/include/string/nsString.h" > nsCString& operator=( const nsCString& aString ) { Assign(aString); return *this; } > nsCString& operator=( const nsACString& aReadable ) { Assign(aReadable); return *this; } > > nsCString& operator=( const char* aPtr ) { Assign(aPtr); return *this; } > nsCString& operator=( char aChar ) { Assign(aChar); return *this; } > > void AssignWithConversion(const PRUnichar*,PRInt32=-1); > void AssignWithConversion( const nsString& aString ); > void AssignWithConversion( const nsAString& aString ); ># 237 "../../../dist/include/string/nsString.h" > void AppendWithConversion(const nsString&, PRInt32=-1); > void AppendWithConversion( const nsAString& aString ); > void AppendWithConversion(const PRUnichar*, PRInt32=-1); > > void AppendInt(PRInt32 aInteger,PRInt32 aRadix=10); > void AppendFloat( double aFloat ); ># 252 "../../../dist/include/string/nsString.h" > void Adopt( char* aPtr, PRInt32 aLength = -1 ); ># 271 "../../../dist/include/string/nsString.h" > size_type Left( self_type&, size_type ) const; > size_type Mid( self_type&, PRUint32, PRUint32 ) const; > size_type Right( self_type&, size_type ) const; ># 290 "../../../dist/include/string/nsString.h" > PRInt32 Find(const nsCString& aString,PRBool aIgnoreCase=0,PRInt32 anOffset=0,PRInt32 aCount=-1) const; > PRInt32 Find(const char* aString,PRBool aIgnoreCase=0,PRInt32 anOffset=0,PRInt32 aCount=-1) const; ># 301 "../../../dist/include/string/nsString.h" > PRInt32 FindChar(PRUnichar aChar,PRInt32 anOffset=0,PRInt32 aCount=-1) const; ># 310 "../../../dist/include/string/nsString.h" > PRInt32 FindCharInSet(const char* aString,PRInt32 anOffset=0) const; > PRInt32 FindCharInSet(const nsCString& aString,PRInt32 anOffset=0) const; ># 321 "../../../dist/include/string/nsString.h" > PRInt32 RFind(const char* aCString,PRBool aIgnoreCase=0,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; > PRInt32 RFind(const nsCString& aString,PRBool aIgnoreCase=0,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; ># 332 "../../../dist/include/string/nsString.h" > PRInt32 RFindChar(PRUnichar aChar,PRInt32 anOffset=-1,PRInt32 aCount=-1) const; ># 341 "../../../dist/include/string/nsString.h" > PRInt32 RFindCharInSet(const char* aString,PRInt32 anOffset=-1) const; > PRInt32 RFindCharInSet(const nsCString& aString,PRInt32 anOffset=-1) const; ># 358 "../../../dist/include/string/nsString.h" > PRInt32 Compare(const char* aString,PRBool aIgnoreCase=0,PRInt32 aCount=-1) const; > > PRBool EqualsWithConversion(const char* aString,PRBool aIgnoreCase=0,PRInt32 aCount=-1) const; > > PRBool EqualsIgnoreCase(const char* aString,PRInt32 aCount=-1) const; > >private: > > > void operator=( PRUnichar ); > void AssignWithConversion( const char*, PRInt32=-1 ); > void InsertWithConversion( char, PRUint32 ); >}; > >inline >nsCString::size_type >nsCString::Left( nsACString& aResult, size_type aLengthToCopy ) const > { > return Mid(aResult, 0, aLengthToCopy); > } > >inline >nsCString::size_type >nsCString::Right( self_type& aResult, size_type aLengthToCopy ) const > { > size_type myLength = Length(); > aLengthToCopy = NS_MIN(myLength, aLengthToCopy); > return Mid(aResult, myLength-aLengthToCopy, aLengthToCopy); > } ># 398 "../../../dist/include/string/nsString.h" >class nsCAutoString : public nsCString { >public: > > virtual ~nsCAutoString() {} > > nsCAutoString(); > explicit nsCAutoString(const nsCString& ); > explicit nsCAutoString(const nsACString& aString); > explicit nsCAutoString(const char* aString); > nsCAutoString(const char* aString,PRInt32 aLength); > explicit nsCAutoString(const CBufDescriptor& aBuffer); > > nsCAutoString& operator=( const nsCAutoString& aString ) { Assign(aString); return *this; } > private: > void operator=( PRUnichar ); > public: > nsCAutoString& operator=( const nsACString& aReadable ) { Assign(aReadable); return *this; } > > nsCAutoString& operator=( const char* aPtr ) { Assign(aPtr); return *this; } > nsCAutoString& operator=( char aChar ) { Assign(aChar); return *this; } > > char mBuffer[kDefaultStringSize]; >}; > > > > > > >class NS_ConvertUTF16toUTF8 > : public nsCAutoString > > > > { > public: > explicit NS_ConvertUTF16toUTF8( const PRUnichar* aString ); > NS_ConvertUTF16toUTF8( const PRUnichar* aString, PRUint32 aLength ); > explicit NS_ConvertUTF16toUTF8( const nsAString& aString ); > explicit NS_ConvertUTF16toUTF8( const nsASingleFragmentString& aString ); > > protected: > void Init( const PRUnichar* aString, PRUint32 aLength ); > > private: > > NS_ConvertUTF16toUTF8( char ); > }; > > > > > >class NS_LossyConvertUTF16toASCII > : public nsCAutoString > > > > { > public: > explicit > NS_LossyConvertUTF16toASCII( const PRUnichar* aString ) > { > AppendWithConversion( aString, ~PRUint32(0) ); > } > > NS_LossyConvertUTF16toASCII( const PRUnichar* aString, PRUint32 aLength ) > { > AppendWithConversion( aString, aLength ); > } > > explicit NS_LossyConvertUTF16toASCII( const nsAString& aString ); > > private: > > NS_LossyConvertUTF16toASCII( char ); > }; > > >typedef NS_ConvertUTF16toUTF8 NS_ConvertUCS2toUTF8; >typedef NS_LossyConvertUTF16toASCII NS_LossyConvertUCS2toASCII; ># 46 "../../../dist/include/gfx/nsFont.h" 2 > > > > > >typedef PRBool (*nsFontFamilyEnumFunc)(const nsString& aFamily, PRBool aGeneric, void *aData); > > > > >const PRUint8 kGenericFont_NONE = 0x00; > >const PRUint8 kGenericFont_moz_variable = 0x00; >const PRUint8 kGenericFont_moz_fixed = 0x01; > >const PRUint8 kGenericFont_serif = 0x02; >const PRUint8 kGenericFont_sans_serif = 0x04; >const PRUint8 kGenericFont_monospace = 0x08; >const PRUint8 kGenericFont_cursive = 0x10; >const PRUint8 kGenericFont_fantasy = 0x20; > > >struct nsFont { > > nsString name; > > > PRUint8 style; > > > PRUint8 variant : 7; > > > > PRPackedBool familyNameQuirks : 1; > > > PRUint16 weight; > > > > PRUint8 decorations; > > > nscoord size; > > > > > > float sizeAdjust; > > > nsFont(const char* aName, PRUint8 aStyle, PRUint8 aVariant, > PRUint16 aWeight, PRUint8 aDecoration, nscoord aSize, > float aSizeAdjust=0.0f); > > > nsFont(const nsString& aName, PRUint8 aStyle, PRUint8 aVariant, > PRUint16 aWeight, PRUint8 aDecoration, nscoord aSize, > float aSizeAdjust=0.0f); > > > nsFont(const nsFont& aFont); > > nsFont(); > ~nsFont(); > > PRBool operator==(const nsFont& aOther) const { > return Equals(aOther); > } > > PRBool Equals(const nsFont& aOther) const ; > > nsFont& operator=(const nsFont& aOther); > > > > > > PRBool EnumerateFamilies(nsFontFamilyEnumFunc aFunc, void* aData) const; > void GetFirstFamily(nsString& aFamily) const; > > > static void GetGenericID(const nsString& aGeneric, PRUint8* aID); >}; ># 45 "nsRenderingContextGTK.h" 2 > > ># 1 "../../../dist/include/xpcom/nsCRT.h" 1 ># 43 "../../../dist/include/xpcom/nsCRT.h" ># 1 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" 1 ># 61 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern "C" { > > > > > > >extern PRUint32 >PL_strlen(const char *str); ># 79 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern PRUint32 >PL_strnlen(const char *str, PRUint32 max); ># 90 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strcpy(char *dest, const char *src); ># 103 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strncpy(char *dest, const char *src, PRUint32 max); ># 126 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strncpyz(char *dest, const char *src, PRUint32 max); ># 140 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strdup(const char *s); > > > > > > > >extern void >PL_strfree(char *s); ># 164 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strndup(const char *s, PRUint32 max); ># 176 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strcat(char *dst, const char *src); ># 191 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strncat(char *dst, const char *src, PRUint32 max); ># 205 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strcatn(char *dst, PRUint32 max, const char *src); ># 217 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern PRIntn >PL_strcmp(const char *a, const char *b); ># 231 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern PRIntn >PL_strncmp(const char *a, const char *b, PRUint32 max); ># 243 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern PRIntn >PL_strcasecmp(const char *a, const char *b); ># 255 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern PRIntn >PL_strncasecmp(const char *a, const char *b, PRUint32 max); ># 266 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strchr(const char *s, char c); ># 277 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strrchr(const char *s, char c); ># 289 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnchr(const char *s, char c, PRUint32 n); ># 301 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnrchr(const char *s, char c, PRUint32 n); ># 317 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strpbrk(const char *s, const char *list); ># 328 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strprbrk(const char *s, const char *list); ># 339 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnpbrk(const char *s, const char *list, PRUint32 n); ># 350 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnprbrk(const char *s, const char *list, PRUint32 n); ># 360 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strstr(const char *big, const char *little); ># 370 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strrstr(const char *big, const char *little); ># 381 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnstr(const char *big, const char *little, PRUint32 n); ># 392 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strnrstr(const char *big, const char *little, PRUint32 max); ># 402 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strcasestr(const char *big, const char *little); ># 412 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strcaserstr(const char *big, const char *little); ># 423 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strncasestr(const char *big, const char *little, PRUint32 max); ># 434 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strncaserstr(const char *big, const char *little, PRUint32 max); ># 456 "/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr/plstr.h" >extern char * >PL_strtok_r(char *s1, const char *s2, char **lasts); > > > > > > > >} ># 44 "../../../dist/include/xpcom/nsCRT.h" 2 > > ># 1 "../../../dist/include/xpcom/nsCppSharedAllocator.h" 1 ># 23 "../../../dist/include/xpcom/nsCppSharedAllocator.h" ># 1 "/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.3/include/limits.h" 1 3 4 ># 24 "../../../dist/include/xpcom/nsCppSharedAllocator.h" 2 > > > >template <class T> >class nsCppSharedAllocator > > > > > { > public: > typedef T value_type; > typedef size_t size_type; > typedef ptrdiff_t difference_type; > > typedef T* pointer; > typedef const T* const_pointer; > > typedef T& reference; > typedef const T& const_reference; > > > > nsCppSharedAllocator() { } > > > > > > > ~nsCppSharedAllocator() { } > > > pointer > address( reference r ) const > { > return &r; > } > > const_pointer > address( const_reference r ) const > { > return &r; > } > > pointer > allocate( size_type n, const void* =0 ) > { > return reinterpret_cast< pointer >(nsMemory::Alloc(static_cast< PRUint32 >(n*sizeof(T)))); > } > > void > deallocate( pointer p, size_type ) > { > nsMemory::Free(p); > } > > void > construct( pointer p, const T& val ) > { > new (p) T(val); > } > > void > destroy( pointer p ) > { > p->~T(); > } > > size_type > max_size() const > { > > > > return (2147483647L * 2UL + 1UL) / sizeof(T); > > } ># 110 "../../../dist/include/xpcom/nsCppSharedAllocator.h" > }; > > >template <class T> >PRBool >operator==( const nsCppSharedAllocator<T>&, const nsCppSharedAllocator<T>& ) > { > return 1; > } > >template <class T> >PRBool >operator!=( const nsCppSharedAllocator<T>&, const nsCppSharedAllocator<T>& ) > { > return 0; > } ># 47 "../../../dist/include/xpcom/nsCRT.h" 2 ># 63 "../../../dist/include/xpcom/nsCRT.h" >extern const PRUnichar kIsoLatin1ToUCS2[256]; ># 102 "../../../dist/include/xpcom/nsCRT.h" >class nsCRT { >public: > enum { > TAB='\t' , > LF='\n' , > VTAB='\v' , > FF='\f' , > CR='\r' > }; ># 135 "../../../dist/include/xpcom/nsCRT.h" > static PRUint32 strlen(const char* s) { > return PRUint32(::strlen(s)); > } > > > static PRInt32 strcmp(const char* s1, const char* s2) { > return PRInt32(PL_strcmp(s1, s2)); > } > > static PRInt32 strncmp(const char* s1, const char* s2, > PRUint32 aMaxLen) { > return PRInt32(PL_strncmp(s1, s2, aMaxLen)); > } > > > static PRInt32 strcasecmp(const char* s1, const char* s2) { > return PRInt32(PL_strcasecmp(s1, s2)); > } > > > static PRInt32 strncasecmp(const char* s1, const char* s2, PRUint32 aMaxLen) { > PRInt32 result=PRInt32(PL_strncasecmp(s1, s2, aMaxLen)); > > > if (result<0) > result=-1; > return result; > } > > static PRInt32 strncmp(const char* s1, const char* s2, PRInt32 aMaxLen) { > > PRInt32 diff = ((const unsigned char*)s1)[0] - ((const unsigned char*)s2)[0]; > if (diff != 0) return diff; > return PRInt32(PL_strncmp(s1,s2,unsigned(aMaxLen))); > } > > static char* strdup(const char* str) { > return PL_strdup(str); > } > > static char* strndup(const char* str, PRUint32 len) { > return PL_strndup(str, len); > } > > static void free(char* str) { > PL_strfree(str); > } ># 202 "../../../dist/include/xpcom/nsCRT.h" > static char* strtok(char* str, const char* delims, char* *newStr); > > > static PRUint32 strlen(const PRUnichar* s); > > > static PRInt32 strcmp(const PRUnichar* s1, const PRUnichar* s2); > > static PRInt32 strncmp(const PRUnichar* s1, const PRUnichar* s2, > PRUint32 aMaxLen); > > > > static PRUnichar* strdup(const PRUnichar* str); > > > > static PRUnichar* strndup(const PRUnichar* str, PRUint32 len); > > static void free(PRUnichar* str) { > nsCppSharedAllocator<PRUnichar> shared_allocator; > shared_allocator.deallocate(str, 0 ); > } > > > > static PRUint32 HashCode(const char* str, > PRUint32* resultingStrLen = 0); > > > > static PRUint32 HashCode(const PRUnichar* str, > PRUint32* resultingStrLen = 0); > > > > > static PRUint32 HashCodeAsUTF8(const PRUnichar* str, > PRUint32* resultingStrLen = 0); > > > static PRUint32 BufferHashCode(const char* str, PRUint32 strLen); > > > static PRUint32 BufferHashCode(const PRUnichar* str, PRUint32 strLen); > > > static PRInt64 atoll(const char *str); > > static char ToUpper(char aChar); > > static char ToLower(char aChar); > > static PRBool IsUpper(char aChar); > > static PRBool IsLower(char aChar); > > static PRBool IsAscii(PRUnichar aChar); > static PRBool IsAscii(const PRUnichar* aString); > static PRBool IsAsciiAlpha(PRUnichar aChar); > static PRBool IsAsciiDigit(PRUnichar aChar); > static PRBool IsAsciiSpace(PRUnichar aChar); > static PRBool IsAscii(const char* aString); > static PRBool IsAscii(const char* aString, PRUint32 aLength); >}; ># 48 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/gfx/nsTransform2D.h" 1 ># 52 "../../../dist/include/gfx/nsTransform2D.h" >class nsTransform2D >{ >private: > > > float m00, m01, m10, m11, m20, m21; > PRUint16 type; > >public: > > > nsTransform2D(void) { SetToIdentity(); } > nsTransform2D(nsTransform2D *aTransform2D) { SetMatrix(aTransform2D); } > > > > ~nsTransform2D(void) { } ># 79 "../../../dist/include/gfx/nsTransform2D.h" > PRUint16 GetType(void) { return type; } ># 89 "../../../dist/include/gfx/nsTransform2D.h" > void SetToIdentity(void) { m01 = m10 = m20 = m21 = 0.0f; m00 = m11 = 1.0f; type = 0; } ># 100 "../../../dist/include/gfx/nsTransform2D.h" > void SetToScale(float sx, float sy); ># 111 "../../../dist/include/gfx/nsTransform2D.h" > void SetToTranslate(float tx, float ty); ># 121 "../../../dist/include/gfx/nsTransform2D.h" > void GetTranslation(float *ptX, float *ptY) { *ptX = m20; *ptY = m21; } > void GetTranslationCoord(nscoord *ptX, nscoord *ptY) { *ptX = NSToCoordRound(m20); *ptY = NSToCoordRound(m21); } ># 132 "../../../dist/include/gfx/nsTransform2D.h" > void SetTranslation(float tX, float tY) { > m20 = tX; > m21 = tY; > type |= 1; > } ># 146 "../../../dist/include/gfx/nsTransform2D.h" > float GetXTranslation(void) { return m20; } > nscoord GetXTranslationCoord(void) { return NSToCoordRound(m20); } ># 157 "../../../dist/include/gfx/nsTransform2D.h" > float GetYTranslation(void) { return m21; } > nscoord GetYTranslationCoord(void) { return NSToCoordRound(m21); } ># 168 "../../../dist/include/gfx/nsTransform2D.h" > void SetMatrix(nsTransform2D *aTransform2D); ># 178 "../../../dist/include/gfx/nsTransform2D.h" > void Concatenate(nsTransform2D *newxform); ># 188 "../../../dist/include/gfx/nsTransform2D.h" > void PreConcatenate(nsTransform2D *newxform); ># 198 "../../../dist/include/gfx/nsTransform2D.h" > void TransformNoXLate(float *ptX, float *ptY); > void TransformNoXLateCoord(nscoord *ptX, nscoord *ptY); ># 209 "../../../dist/include/gfx/nsTransform2D.h" > void Transform(float *ptX, float *ptY); > void TransformCoord(nscoord *ptX, nscoord *ptY); ># 220 "../../../dist/include/gfx/nsTransform2D.h" > void Transform(float *aX, float *aY, float *aWidth, float *aHeight); > void TransformCoord(nscoord *aX, nscoord *aY, nscoord *aWidth, nscoord *aHeight); ># 231 "../../../dist/include/gfx/nsTransform2D.h" > void ScaleXCoords(const nscoord* aSrc, PRUint32 aNumCoords, PRIntn* aDst); > void ScaleYCoords(const nscoord* aSrc, PRUint32 aNumCoords, PRIntn* aDst); ># 243 "../../../dist/include/gfx/nsTransform2D.h" > void AddTranslation(float ptX, float ptY); ># 254 "../../../dist/include/gfx/nsTransform2D.h" > void AddScale(float ptX, float ptY); >}; ># 49 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/widget/nsIWidget.h" 1 ># 43 "../../../dist/include/widget/nsIWidget.h" ># 1 "../../../dist/include/widget/nsIMouseListener.h" 1 ># 42 "../../../dist/include/widget/nsIMouseListener.h" ># 1 "../../../dist/include/widget/nsEvent.h" 1 ># 51 "../../../dist/include/widget/nsEvent.h" >enum nsEventStatus { > > nsEventStatus_eIgnore, > > nsEventStatus_eConsumeNoDefault, > > nsEventStatus_eConsumeDoDefault >}; > >struct nsEvent; > >struct nsGUIEvent; >struct nsSizeEvent; >struct nsSizeModeEvent; >struct nsZLevelEvent; >struct nsPaintEvent; >struct nsScrollbarEvent; >struct nsScrollPortEvent; >struct nsInputEvent; >struct nsMouseEvent; >struct nsAccessibleEvent; >struct nsKeyEvent; >struct nsTextEvent; >struct nsCompositionEvent; >struct nsMouseScrollEvent; >struct nsReconversionEvent; >struct nsTooltipEvent; >struct nsMenuEvent; > >struct nsTextEventReply; >struct nsReconversionEventReply; ># 43 "../../../dist/include/widget/nsIMouseListener.h" 2 ># 55 "../../../dist/include/widget/nsIMouseListener.h" >class nsIMouseListener : public nsISupports { >public: > static const nsIID& GetIID() {static const nsIID iid = { 0xc83f6b81, 0xd7ce, 0x11d2, { 0x83, 0x60, 0xc4, 0xc8, 0x94, 0xc4, 0x91, 0x7c } }; return iid;} > > > > > > > virtual nsEventStatus MousePressed(const nsGUIEvent & aMouseEvent) = 0; > > > > > > > virtual nsEventStatus MouseReleased(const nsGUIEvent & aMouseEvent) = 0; > > > > > > > > virtual nsEventStatus MouseClicked(const nsGUIEvent & aMouseEvent) = 0; > > > > > > > virtual nsEventStatus MouseMoved(const nsGUIEvent & aMouseEvent) = 0; > >}; ># 44 "../../../dist/include/widget/nsIWidget.h" 2 ># 1 "../../../dist/include/widget/nsIMenuListener.h" 1 ># 44 "../../../dist/include/widget/nsIMenuListener.h" >class nsIWidget; ># 58 "../../../dist/include/widget/nsIMenuListener.h" >class nsIMenuListener : public nsISupports { > > public: > static const nsIID& GetIID() {static const nsIID iid = { 0xf2e79602, 0x1700, 0x11d5, { 0xbb, 0x6f, 0x90, 0xf2, 0x40, 0xfe, 0x49, 0x3c } };; return iid;} > > > > > > > virtual nsEventStatus MenuItemSelected(const nsMenuEvent & aMenuEvent) = 0; > > > > > > > virtual nsEventStatus MenuSelected(const nsMenuEvent & aMenuEvent) = 0; > > > > > > > virtual nsEventStatus MenuDeselected(const nsMenuEvent & aMenuEvent) = 0; > > virtual nsEventStatus MenuConstruct( const nsMenuEvent & aMenuEvent, > nsIWidget* aParentWindow, void* aNode, > void* aWebShell) = 0; > > virtual nsEventStatus MenuDestruct(const nsMenuEvent & aMenuEvent) = 0; > > virtual nsEventStatus CheckRebuild(PRBool & aMenuEvent) = 0; > virtual nsEventStatus SetRebuild(PRBool aMenuEvent) = 0; >}; ># 45 "../../../dist/include/widget/nsIWidget.h" 2 > > > > > > > >class nsIAppShell; >class nsIToolkit; >class nsIFontMetrics; >class nsIToolkit; >class nsIRenderingContext; >class nsIEnumerator; >class nsIDeviceContext; >class nsIRegion; >struct nsRect; >struct nsFont; >class nsIMenuBar; >class nsIEventListener; >class nsIRollupListener; >struct nsGUIEvent; >struct nsColorMap; ># 76 "../../../dist/include/widget/nsIWidget.h" >typedef nsEventStatus (* EVENT_CALLBACK)(nsGUIEvent *event); ># 102 "../../../dist/include/widget/nsIWidget.h" >typedef void* nsNativeWidget; > > > > > >enum nsWindowType { > > eWindowType_toplevel, > > eWindowType_dialog, > > eWindowType_popup, > > eWindowType_child, > > eWindowType_invisible, > > eWindowType_plugin, > > eWindowType_java >}; > >enum nsBorderStyle >{ > > eBorderStyle_none = 0, > > > eBorderStyle_all = 1 << 0, > > > eBorderStyle_border = 1 << 1, > > > eBorderStyle_resizeh = 1 << 2, > > > eBorderStyle_title = 1 << 3, > > > eBorderStyle_menu = 1 << 4, > > > > eBorderStyle_minimize = 1 << 5, > > > eBorderStyle_maximize = 1 << 6, > > > eBorderStyle_close = 1 << 7, > > > eBorderStyle_sheet = 1 << 8, > > > eBorderStyle_default = -1 >}; > > > > > >enum nsCursor { > eCursor_standard, > > eCursor_wait, > > eCursor_select, > > eCursor_hyperlink, > > eCursor_sizeWE, > > eCursor_sizeNS, > > eCursor_sizeNW, > eCursor_sizeSE, > eCursor_sizeNE, > eCursor_sizeSW, > eCursor_arrow_north, > eCursor_arrow_north_plus, > eCursor_arrow_south, > eCursor_arrow_south_plus, > eCursor_arrow_west, > eCursor_arrow_west_plus, > eCursor_arrow_east, > eCursor_arrow_east_plus, > eCursor_crosshair, > > eCursor_move, > eCursor_help, > eCursor_copy, > eCursor_alias, > eCursor_context_menu, > eCursor_cell, > eCursor_grab, > eCursor_grabbing, > eCursor_spinning, > eCursor_count_up, > eCursor_count_down, > eCursor_count_up_down, > eCursor_zoom_in, > eCursor_zoom_out, > > eCursorCount > }; > >enum nsContentType { > eContentTypeInherit = -1, > eContentTypeUI = 0, > eContentTypeContent = 1 >}; > >enum nsTopLevelWidgetZPlacement { > eZPlacementBottom = 0, > eZPlacementBelow, > eZPlacementTop >}; > > > > > > >struct nsWidgetInitData { > nsWidgetInitData() > : clipChildren(0), > clipSiblings(0), > mDropShadow(0), > mListenForResizes(0), > mWindowType(eWindowType_child), > mBorderStyle(eBorderStyle_default), > mContentType(eContentTypeInherit), > mUnicode(1) > { > } > > > PRPackedBool clipChildren, clipSiblings, mDropShadow; > PRPackedBool mListenForResizes; > nsWindowType mWindowType; > nsBorderStyle mBorderStyle; > nsContentType mContentType; > PRPackedBool mUnicode; >}; > > > > > >class nsIWidget : public nsISupports { > > public: > > static const nsIID& GetIID() {static const nsIID iid = { 0x18032ad5, 0xb265, 0x11d1, { 0xaa, 0x2a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }; return iid;} ># 288 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Create(nsIWidget *aParent, > const nsRect &aRect, > EVENT_CALLBACK aHandleEventFunction, > nsIDeviceContext *aContext, > nsIAppShell *aAppShell = 0, > nsIToolkit *aToolkit = 0, > nsWidgetInitData *aInitData = 0) = 0; ># 315 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Create(nsNativeWidget aParent, > const nsRect &aRect, > EVENT_CALLBACK aHandleEventFunction, > nsIDeviceContext *aContext, > nsIAppShell *aAppShell = 0, > nsIToolkit *aToolkit = 0, > nsWidgetInitData *aInitData = 0) = 0; > > > > > > > > virtual nsresult GetClientData(void*& aClientData) = 0; > virtual nsresult SetClientData(void* aClientData) = 0; > > > > > > > > virtual nsresult Destroy(void) = 0; ># 348 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetParent(nsIWidget* aNewParent) = 0; ># 358 "../../../dist/include/widget/nsIWidget.h" > virtual nsIWidget* GetParent(void) = 0; ># 367 "../../../dist/include/widget/nsIWidget.h" > virtual nsIEnumerator* GetChildren(void) = 0; > > > > > > > > virtual nsresult Show(PRBool aState) = 0; > > > > > > virtual nsresult SetModal(PRBool aModal) = 0; > > > > > > virtual nsresult IsVisible(PRBool & aState) = 0; ># 404 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult ConstrainPosition(PRBool aAllowSlop, > PRInt32 *aX, > PRInt32 *aY) = 0; ># 415 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Move(PRInt32 aX, PRInt32 aY) = 0; ># 425 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Resize(PRInt32 aWidth, > PRInt32 aHeight, > PRBool aRepaint) = 0; ># 439 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Resize(PRInt32 aX, > PRInt32 aY, > PRInt32 aWidth, > PRInt32 aHeight, > PRBool aRepaint) = 0; > > > > > virtual nsresult SetZIndex(PRInt32 aZIndex) = 0; > > > > > virtual nsresult GetZIndex(PRInt32* aZIndex) = 0; ># 466 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult PlaceBehind(nsTopLevelWidgetZPlacement aPlacement, > nsIWidget *aWidget, PRBool aActivate) = 0; > > > > > > virtual nsresult SetSizeMode(PRInt32 aMode) = 0; > > > > > > virtual nsresult GetSizeMode(PRInt32* aMode) = 0; > > > > > > > > virtual nsresult Enable(PRBool aState) = 0; > > > > > > virtual nsresult IsEnabled(PRBool *aState) = 0; > > > > > virtual nsresult SetFocus(PRBool aRaise = 0) = 0; > > > > > > > > virtual nsresult GetBounds(nsRect &aRect) = 0; ># 518 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult GetScreenBounds(nsRect &aRect) = 0; ># 528 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult GetClientBounds(nsRect &aRect) = 0; > > > > > > > > virtual nsresult GetBorderSize(PRInt32 &aWidth, PRInt32 &aHeight) = 0; > > > > > > > > virtual nscolor GetForegroundColor(void) = 0; ># 553 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetForegroundColor(const nscolor &aColor) = 0; ># 562 "../../../dist/include/widget/nsIWidget.h" > virtual nscolor GetBackgroundColor(void) = 0; ># 571 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetBackgroundColor(const nscolor &aColor) = 0; > > > > > > > > virtual nsIFontMetrics* GetFont(void) = 0; > > > > > > > > virtual nsresult SetFont(const nsFont &aFont) = 0; > > > > > > > > virtual nsCursor GetCursor(void) = 0; > > > > > > > > virtual nsresult SetCursor(nsCursor aCursor) = 0; > > > > > > > virtual nsresult GetWindowType(nsWindowType& aWindowType) = 0; ># 630 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetWindowTranslucency(PRBool aTranslucent) = 0; > > > > > > > > virtual nsresult GetWindowTranslucency(PRBool& aTranslucent) = 0; ># 648 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult UpdateTranslucentWindowAlpha(const nsRect& aRect, PRUint8* aAlphas) = 0; > > > > > > virtual nsresult HideWindowChrome(PRBool aShouldHide) = 0; > > > > > > virtual nsresult MakeFullScreen(PRBool aFullScreen) = 0; > > > > > > virtual nsresult Validate() = 0; ># 675 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Invalidate(PRBool aIsSynchronous) = 0; ># 684 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Invalidate(const nsRect & aRect, PRBool aIsSynchronous) = 0; ># 693 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult InvalidateRegion(const nsIRegion* aRegion, PRBool aIsSynchronous) = 0; > > > > > > > > virtual nsresult Update() = 0; ># 710 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult AddMouseListener(nsIMouseListener * aListener) = 0; ># 719 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult AddEventListener(nsIEventListener * aListener) = 0; ># 728 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult AddMenuListener(nsIMenuListener * aListener) = 0; > > > > > > > > virtual nsIToolkit* GetToolkit() = 0; ># 745 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetColorMap(nsColorMap *aColorMap) = 0; ># 757 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult Scroll(PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect) = 0; ># 769 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult ScrollWidgets(PRInt32 aDx, PRInt32 aDy) = 0; ># 781 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult ScrollRect(nsRect &aSrcRect, PRInt32 aDx, PRInt32 aDy) = 0; > > > > > > > virtual void AddChild(nsIWidget* aChild) = 0; > virtual void RemoveChild(nsIWidget* aChild) = 0; > virtual void* GetNativeData(PRUint32 aDataType) = 0; > virtual void FreeNativeData(void * data, PRUint32 aDataType) = 0; > virtual nsIRenderingContext* GetRenderingContext() = 0; > virtual nsIDeviceContext* GetDeviceContext() = 0; > virtual nsIAppShell *GetAppShell() = 0; ># 803 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetBorderStyle(nsBorderStyle aBorderStyle) = 0; ># 812 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetTitle(const nsString& aTitle) = 0; ># 823 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetIcon(const nsAString& anIconSpec) = 0; ># 832 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult SetMenuBar(nsIMenuBar * aMenuBar) = 0; > > > > > > > > virtual nsresult ShowMenuBar(PRBool aShow) = 0; ># 849 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult WidgetToScreen(const nsRect& aOldRect, nsRect& aNewRect) = 0; ># 858 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult ScreenToWidget(const nsRect& aOldRect, nsRect& aNewRect) = 0; ># 868 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult BeginResizingChildren(void) = 0; > > > > > > > > virtual nsresult EndResizingChildren(void) = 0; > > > > > > virtual nsresult GetPreferredSize(PRInt32& aWidth, PRInt32& aHeight) = 0; > > > > > > virtual nsresult SetPreferredSize(PRInt32 aWidth, PRInt32 aHeight) = 0; > > > > > > virtual nsresult DispatchEvent(nsGUIEvent* event, nsEventStatus & aStatus) = 0; > > > > > > > virtual nsresult Paint(nsIRenderingContext& aRenderingContext, > const nsRect& aDirtyRect) = 0; > > > > > > virtual nsresult EnableDragDrop(PRBool aEnable) = 0; > > virtual void ConvertToDeviceCoordinates(nscoord &aX,nscoord &aY) = 0; > > > > > > > virtual nsresult CaptureMouse(PRBool aCapture) = 0; > > > > > > virtual nsresult GetWindowClass(char *aClass) = 0; > > > > > > virtual nsresult SetWindowClass(char *aClass) = 0; ># 939 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult CaptureRollupEvents(nsIRollupListener * aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent) = 0; ># 952 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult ModalEventFilter(PRBool aRealEvent, void *aEvent, PRBool *aForWindow) = 0; ># 965 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult GetAttention(PRInt32 aCycleCount) = 0; ># 977 "../../../dist/include/widget/nsIWidget.h" > virtual nsresult GetLastInputEventTime(PRUint32& aTime) = 0; > >}; ># 50 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/gfx/nsRect.h" 1 ># 47 "../../../dist/include/gfx/nsRect.h" ># 1 "../../../dist/include/gfx/nsMargin.h" 1 ># 44 "../../../dist/include/gfx/nsMargin.h" >struct nsMargin { > nscoord left, top, right, bottom; > > > nsMargin() {} > nsMargin(const nsMargin& aMargin) {*this = aMargin;} > nsMargin(nscoord aLeft, nscoord aTop, > nscoord aRight, nscoord aBottom) {left = aLeft; top = aTop; > right = aRight; bottom = aBottom;} > > void SizeTo(nscoord aLeft, nscoord aTop, > nscoord aRight, nscoord aBottom) {left = aLeft; top = aTop; > right = aRight; bottom = aBottom;} > void SizeBy(nscoord aLeft, nscoord aTop, > nscoord aRight, nscoord aBottom) {left += aLeft; top += aTop; > right += aRight; bottom += aBottom;} > > > > PRBool operator==(const nsMargin& aMargin) const { > return (PRBool) ((left == aMargin.left) && (top == aMargin.top) && > (right == aMargin.right) && (bottom == aMargin.bottom)); > } > PRBool operator!=(const nsMargin& aMargin) const { > return (PRBool) ((left != aMargin.left) || (top != aMargin.top) || > (right != aMargin.right) || (bottom != aMargin.bottom)); > } > nsMargin operator+(const nsMargin& aMargin) const { > return nsMargin(left + aMargin.left, top + aMargin.top, > right + aMargin.right, bottom + aMargin.bottom); > } > nsMargin operator-(const nsMargin& aMargin) const { > return nsMargin(left - aMargin.left, top - aMargin.top, > right - aMargin.right, bottom - aMargin.bottom); > } > nsMargin& operator+=(const nsMargin& aMargin) {left += aMargin.left; > top += aMargin.top; > right += aMargin.right; > bottom += aMargin.bottom; > return *this;} > nsMargin& operator-=(const nsMargin& aMargin) {left -= aMargin.left; > top -= aMargin.top; > right -= aMargin.right; > bottom -= aMargin.bottom; > return *this;} >}; ># 48 "../../../dist/include/gfx/nsRect.h" 2 > > > >struct nsRect { > nscoord x, y; > nscoord width, height; > > > nsRect() : x(0), y(0), width(0), height(0) {} > nsRect(const nsRect& aRect) {*this = aRect;} > nsRect(const nsPoint& aOrigin, const nsSize &aSize) {x = aOrigin.x; y = aOrigin.y; > width = aSize.width; height = aSize.height;} > nsRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) {x = aX; y = aY; > width = aWidth; height = aHeight;} > > > > PRBool IsEmpty() const { > return (PRBool) ((height <= 0) || (width <= 0)); > } > void Empty() {width = height = 0;} > > > PRBool Contains(const nsRect& aRect) const; > PRBool Contains(nscoord aX, nscoord aY) const; > PRBool Contains(const nsPoint& aPoint) const {return Contains(aPoint.x, aPoint.y);} > > > > PRBool Intersects(const nsRect& aRect) const; > > > > > > > PRBool IntersectRect(const nsRect& aRect1, const nsRect& aRect2); > > > > > > > PRBool UnionRect(const nsRect& aRect1, const nsRect& aRect2); > > > void SetRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) { > x = aX; y = aY; width = aWidth; height = aHeight; > } > void MoveTo(nscoord aX, nscoord aY) {x = aX; y = aY;} > void MoveTo(const nsPoint& aPoint) {x = aPoint.x; y = aPoint.y;} > void MoveBy(nscoord aDx, nscoord aDy) {x += aDx; y += aDy;} > void MoveBy(const nsPoint& aPoint) {x += aPoint.x; y += aPoint.y;} > void SizeTo(nscoord aWidth, nscoord aHeight) {width = aWidth; height = aHeight;} > void SizeTo(const nsSize& aSize) {SizeTo(aSize.width, aSize.height);} > void SizeBy(nscoord aDeltaWidth, nscoord aDeltaHeight) {width += aDeltaWidth; > height += aDeltaHeight;} > > > void Inflate(nscoord aDx, nscoord aDy); > void Inflate(const nsSize& aSize) {Inflate(aSize.width, aSize.height);} > void Inflate(const nsMargin& aMargin); > > > void Deflate(nscoord aDx, nscoord aDy); > void Deflate(const nsSize& aSize) {Deflate(aSize.width, aSize.height);} > void Deflate(const nsMargin& aMargin); > > > > PRBool operator==(const nsRect& aRect) const { > return (PRBool) ((IsEmpty() && aRect.IsEmpty()) || > ((x == aRect.x) && (y == aRect.y) && > (width == aRect.width) && (height == aRect.height))); > } > PRBool operator!=(const nsRect& aRect) const { > return (PRBool) !operator==(aRect); > } > nsRect operator+(const nsRect& aRect) const { > return nsRect(x + aRect.x, y + aRect.y, > width + aRect.width, height + aRect.height); > } > nsRect operator-(const nsRect& aRect) const { > return nsRect(x - aRect.x, y - aRect.y, > width - aRect.width, height - aRect.height); > } > nsRect& operator+=(const nsPoint& aPoint) {x += aPoint.x; y += aPoint.y; return *this;} > nsRect& operator-=(const nsPoint& aPoint) {x -= aPoint.x; y -= aPoint.y; return *this;} > > nsRect& operator*=(const float aScale) {x = NSToCoordRound(x * aScale); > y = NSToCoordRound(y * aScale); > width = NSToCoordRound(width * aScale); > height = NSToCoordRound(height * aScale); > return *this;} > > nsRect& ScaleRoundOut(const float aScale); > nsRect& ScaleRoundIn(const float aScale); > > > nscoord XMost() const {return x + width;} > nscoord YMost() const {return y + height;} >}; > > >extern FILE* operator<<(FILE* out, const nsRect& rect); ># 51 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/gfx/nsIDeviceContext.h" 1 ># 49 "../../../dist/include/gfx/nsIDeviceContext.h" >class nsIView; >class nsIFontMetrics; >class nsIWidget; >class nsIDeviceContextSpec; >class nsIAtom; > >struct nsFont; >struct nsColor; > > >typedef void * nsNativeDeviceContext; ># 158 "../../../dist/include/gfx/nsIDeviceContext.h" >const PRUint8 kUseAltDCFor_NONE = 0x00; >const PRUint8 kUseAltDCFor_FONTMETRICS = 0x01; >const PRUint8 kUseAltDCFor_CREATERC_REFLOW = 0x02; >const PRUint8 kUseAltDCFor_CREATERC_PAINT = 0x04; >const PRUint8 kUseAltDCFor_SURFACE_DIM = 0x08; > > > > > > > >typedef void * nsPalette; > > > struct nsPaletteInfo { > PRPackedBool isPaletteDevice; > PRUint16 sizePalette; > PRUint16 numReserved; > nsPalette palette; > }; > > typedef enum { > eSystemFont_Caption, > eSystemFont_Icon, > eSystemFont_Menu, > eSystemFont_MessageBox, > eSystemFont_SmallCaption, > eSystemFont_StatusBar, > > eSystemFont_Window, > eSystemFont_Document, > eSystemFont_Workspace, > eSystemFont_Desktop, > eSystemFont_Info, > eSystemFont_Dialog, > eSystemFont_Button, > eSystemFont_PullDownMenu, > eSystemFont_List, > eSystemFont_Field, > > eSystemFont_Tooltips, > eSystemFont_Widget > } nsSystemFontID; > >class nsIDeviceContext : public nsISupports >{ >public: > static const nsIID& GetIID() {static const nsIID iid = { 0x5931c580, 0xb917, 0x11d1, { 0xa8, 0x24, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }; return iid;} > > > > > > > virtual nsresult Init(nsNativeWidget aWidget) = 0; > > > > > > > > virtual nsresult CreateRenderingContext(nsIView *aView, nsIRenderingContext *&aContext) = 0; > > > > > > > > virtual nsresult CreateRenderingContext(nsDrawingSurface aSurface, nsIRenderingContext *&aContext) = 0; > > > > > > > > virtual nsresult CreateRenderingContext(nsIWidget *aWidget, nsIRenderingContext *&aContext) = 0; > > > > > > > > virtual nsresult CreateRenderingContext(nsIRenderingContext *&aContext) = 0; > > > > > > > virtual nsresult CreateRenderingContextInstance(nsIRenderingContext *&aContext) = 0; ># 261 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult SupportsNativeWidgets(PRBool &aSupportsWidgets) = 0; > > > > > > > > virtual nsresult GetDevUnitsToTwips(float &aDevUnitsToTwips) const = 0; > > > > > > > virtual nsresult GetTwipsToDevUnits(float &aTwipsToDevUnits) const = 0; ># 290 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult SetAppUnitsToDevUnits(float aAppUnits) = 0; ># 300 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult SetDevUnitsToAppUnits(float aDevUnits) = 0; > > > > > > > > virtual nsresult GetAppUnitsToDevUnits(float &aAppUnits) const = 0; > > > > > > > > virtual nsresult GetDevUnitsToAppUnits(float &aDevUnits) const = 0; ># 328 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetCanonicalPixelScale(float &aScale) const = 0; ># 340 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult SetCanonicalPixelScale(float aScale) = 0; ># 349 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetScrollBarDimensions(float &aWidth, float &aHeight) const = 0; ># 360 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetSystemFont(nsSystemFontID aID, nsFont *aFont) const = 0; ># 370 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetMetricsFor(const nsFont& aFont, nsIAtom* aLangGroup, > nsIFontMetrics*& aMetrics) = 0; ># 380 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetMetricsFor(const nsFont& aFont, nsIFontMetrics*& aMetrics) = 0; > > > > virtual nsresult SetZoom(float aZoom) = 0; > virtual nsresult GetZoom(float &aZoom) const = 0; > > > > > virtual nsresult SetTextZoom(float aTextZoom) = 0; > virtual nsresult GetTextZoom(float &aTextZoom) const = 0; > > > > > > > virtual nsresult CheckFontExistence(const nsString& aFaceName) = 0; > virtual nsresult FirstExistingFont(const nsFont& aFont, nsString& aFaceName) = 0; > > virtual nsresult GetLocalFontName(const nsString& aFaceName, nsString& aLocalName, > PRBool& aAliased) = 0; > > > > > > virtual nsresult FontMetricsDeleted(const nsIFontMetrics* aFontMetrics) = 0; > > > > > > > virtual nsresult FlushFontCache(void) = 0; > > > > > virtual nsresult GetDepth(PRUint32& aDepth) = 0; > > > > > virtual nsresult GetPaletteInfo(nsPaletteInfo& aPaletteInfo) = 0; > > > > > virtual nsresult ConvertPixel(nscolor aColor, PRUint32 & aPixel) = 0; ># 439 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetDeviceSurfaceDimensions(PRInt32 &aWidth, PRInt32 &aHeight) = 0; ># 448 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetRect ( nsRect &aRect ) = 0; ># 460 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetClientRect(nsRect &aRect) = 0; ># 472 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult GetDeviceContextFor(nsIDeviceContextSpec *aDevice, > nsIDeviceContext *&aContext) = 0; ># 483 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult PrepareDocument(PRUnichar * aTitle, > PRUnichar* aPrintToFileName) = 0; ># 501 "../../../dist/include/gfx/nsIDeviceContext.h" > virtual nsresult BeginDocument(PRUnichar* aTitle, > PRUnichar* aPrintToFileName, > PRInt32 aStartPage, > PRInt32 aEndPage) = 0; > > > > > > > > virtual nsresult EndDocument(void) = 0; > > > > > > > virtual nsresult AbortDocument(void) = 0; > > > > > > > > virtual nsresult BeginPage(void) = 0; > > > > > > > > virtual nsresult EndPage(void) = 0; > > > > > > > virtual nsresult SetAltDevice(nsIDeviceContext* aAltDC) = 0; > > > > > virtual nsresult GetAltDevice(nsIDeviceContext** aAltDC) = 0; > > > > > > virtual nsresult SetUseAltDC(PRUint8 aValue, PRBool aOn) = 0; > > >}; ># 52 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/xpcom/nsVoidArray.h" 1 ># 46 "../../../dist/include/xpcom/nsVoidArray.h" >typedef int (* nsVoidArrayComparatorFunc) > (const void* aElement1, const void* aElement2, void* aData); > > >typedef PRBool (* nsVoidArrayEnumFunc)(void* aElement, void *aData); > > >class nsVoidArray { >public: > nsVoidArray(); > nsVoidArray(PRInt32 aCount); > virtual ~nsVoidArray(); > > nsVoidArray& operator=(const nsVoidArray& other); > > inline PRInt32 Count() const { > return mImpl ? mImpl->mCount : 0; > } > > inline PRInt32 GetArraySize() const { > return mImpl ? (PRInt32(mImpl->mBits) & kArraySizeMask) : 0; > } > > void* ElementAt(PRInt32 aIndex) const > { > ; > ; > > > > if (aIndex >= Count()) > { > return 0; > } > return mImpl ? mImpl->mArray[aIndex] : 0; > } > > > void* SafeElementAt(PRInt32 aIndex) const > { > if (aIndex < 0 || aIndex >= Count()) > { > return 0; > } > return mImpl ? mImpl->mArray[aIndex] : 0; > } > > void* operator[](PRInt32 aIndex) const { return ElementAt(aIndex); } > > PRInt32 IndexOf(void* aPossibleElement) const; > > PRBool InsertElementAt(void* aElement, PRInt32 aIndex); > PRBool InsertElementsAt(const nsVoidArray &other, PRInt32 aIndex); > > PRBool ReplaceElementAt(void* aElement, PRInt32 aIndex); > > > PRBool MoveElement(PRInt32 aFrom, PRInt32 aTo); > > PRBool AppendElement(void* aElement) { > return InsertElementAt(aElement, Count()); > } > > PRBool AppendElements(nsVoidArray& aElements) { > return InsertElementsAt(aElements, Count()); > } > > PRBool RemoveElement(void* aElement); > PRBool RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount); > PRBool RemoveElementAt(PRInt32 aIndex) { return RemoveElementsAt(aIndex,1); } > > virtual void Clear(); > > virtual PRBool SizeTo(PRInt32 aMin); > > > virtual void Compact(); > > void Sort(nsVoidArrayComparatorFunc aFunc, void* aData); > > PRBool EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData); > PRBool EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData); > >protected: > virtual PRBool GrowArrayBy(PRInt32 aGrowBy); > > struct Impl { > > > > > > > PRUint32 mBits; > > > > > PRInt32 mCount; > > > > > void* mArray[1]; > }; > > Impl* mImpl; > > > > > > > enum { > kArrayOwnerMask = 1 << 31, > kArraySizeMask = ~kArrayOwnerMask > }; > > > > void SetArray(Impl *newImpl, PRInt32 aSize, PRInt32 aCount, PRBool owner); > inline PRBool IsArrayOwner() const { > return mImpl ? (PRBool(mImpl->mBits) & kArrayOwnerMask) : 0; > } > >private: > > nsVoidArray(const nsVoidArray& other); >}; > > > >class nsAutoVoidArray : public nsVoidArray { >public: > nsAutoVoidArray(); > void Clear(); > > virtual PRBool SizeTo(PRInt32 aMin); > virtual void Compact(); > >protected: > > enum { kAutoBufSize = 8 }; > char mAutoBuf[sizeof(Impl) + (kAutoBufSize - 1) * sizeof(void*)]; >}; > > >class nsString; > >typedef int (* nsStringArrayComparatorFunc) > (const nsString* aElement1, const nsString* aElement2, void* aData); > >typedef PRBool (*nsStringArrayEnumFunc)(nsString& aElement, void *aData); > >class nsStringArray: protected nsVoidArray >{ >public: > nsStringArray(void); > nsStringArray(PRInt32 aCount); > virtual ~nsStringArray(void); > > nsStringArray& operator=(const nsStringArray& other); > > PRInt32 Count(void) const { > return nsVoidArray::Count(); > } > > void StringAt(PRInt32 aIndex, nsAString& aString) const; > nsString* StringAt(PRInt32 aIndex) const; > nsString* operator[](PRInt32 aIndex) const { return StringAt(aIndex); } > > PRInt32 IndexOf(const nsAString& aPossibleString) const; > > PRBool InsertStringAt(const nsAString& aString, PRInt32 aIndex); > > PRBool ReplaceStringAt(const nsAString& aString, PRInt32 aIndex); > > PRBool AppendString(const nsAString& aString) { > return InsertStringAt(aString, Count()); > } > > PRBool RemoveString(const nsAString& aString); > PRBool RemoveStringAt(PRInt32 aIndex); > void Clear(void); > > void Compact(void) { > nsVoidArray::Compact(); > } > > void Sort(void); > void Sort(nsStringArrayComparatorFunc aFunc, void* aData); > > PRBool EnumerateForwards(nsStringArrayEnumFunc aFunc, void* aData); > PRBool EnumerateBackwards(nsStringArrayEnumFunc aFunc, void* aData); > >private: > > nsStringArray(const nsStringArray& other); >}; > > >class nsCString; > >typedef int (* nsCStringArrayComparatorFunc) > (const nsCString* aElement1, const nsCString* aElement2, void* aData); > >typedef PRBool (*nsCStringArrayEnumFunc)(nsCString& aElement, void *aData); > >class nsCStringArray: protected nsVoidArray >{ >public: > nsCStringArray(void); > nsCStringArray(PRInt32 aCount); > virtual ~nsCStringArray(void); > > nsCStringArray& operator=(const nsCStringArray& other); > > > > > > > void ParseString(const char* string, const char* delimiter); > > PRInt32 Count(void) const { > return nsVoidArray::Count(); > } > > void CStringAt(PRInt32 aIndex, nsCString& aCString) const; > nsCString* CStringAt(PRInt32 aIndex) const; > nsCString* operator[](PRInt32 aIndex) const { return CStringAt(aIndex); } > > PRInt32 IndexOf(const nsCString& aPossibleString) const; > PRInt32 IndexOfIgnoreCase(const nsCString& aPossibleString) const; > > PRBool InsertCStringAt(const nsCString& aCString, PRInt32 aIndex); > > PRBool ReplaceCStringAt(const nsCString& aCString, PRInt32 aIndex); > > PRBool AppendCString(const nsCString& aCString) { > return InsertCStringAt(aCString, Count()); > } > > PRBool RemoveCString(const nsCString& aCString); > PRBool RemoveCStringIgnoreCase(const nsCString& aCString); > PRBool RemoveCStringAt(PRInt32 aIndex); > void Clear(void); > > void Compact(void) { > nsVoidArray::Compact(); > } > > void Sort(void); > void SortIgnoreCase(void); > void Sort(nsCStringArrayComparatorFunc aFunc, void* aData); > > PRBool EnumerateForwards(nsCStringArrayEnumFunc aFunc, void* aData); > PRBool EnumerateBackwards(nsCStringArrayEnumFunc aFunc, void* aData); > >private: > > nsCStringArray(const nsCStringArray& other); >}; ># 335 "../../../dist/include/xpcom/nsVoidArray.h" >class nsSmallVoidArray >{ >public: > nsSmallVoidArray(); > ~nsSmallVoidArray(); > > nsSmallVoidArray& operator=(nsSmallVoidArray& other); > void* operator[](PRInt32 aIndex) const { return ElementAt(aIndex); } > > PRInt32 GetArraySize() const; > > PRInt32 Count() const; > void* ElementAt(PRInt32 aIndex) const; > void* SafeElementAt(PRInt32 aIndex) const { > > if (aIndex < 0 || aIndex >= Count()) > return 0; > return ElementAt(aIndex); > } > PRInt32 IndexOf(void* aPossibleElement) const; > PRBool InsertElementAt(void* aElement, PRInt32 aIndex); > PRBool InsertElementsAt(const nsVoidArray &other, PRInt32 aIndex); > PRBool ReplaceElementAt(void* aElement, PRInt32 aIndex); > PRBool MoveElement(PRInt32 aFrom, PRInt32 aTo); > PRBool AppendElement(void* aElement); > PRBool AppendElements(nsVoidArray& aElements) { > return InsertElementsAt(aElements, Count()); > } > PRBool RemoveElement(void* aElement); > PRBool RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount); > PRBool RemoveElementAt(PRInt32 aIndex); > > void Clear(); > PRBool SizeTo(PRInt32 aMin); > void Compact(); > void Sort(nsVoidArrayComparatorFunc aFunc, void* aData); > > PRBool EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData); > PRBool EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData); > >private: > typedef unsigned long PtrBits; > > PRBool HasSingleChild() const > { > return (mChildren && (PtrBits(mChildren) & 0x1)); > } > PRBool HasVector() const > { > return (mChildren && !(PtrBits(mChildren) & 0x1)); > } > void* GetSingleChild() const > { > return (mChildren ? ((void*)(PtrBits(mChildren) & ~0x1)) : 0); > } > void SetSingleChild(void *aChild); > nsVoidArray* GetChildVector() const > { > return (nsVoidArray*)mChildren; > } > nsVoidArray* SwitchToVector(); > > > > > > void *mChildren; >}; ># 53 "nsRenderingContextGTK.h" 2 ># 1 "../../../dist/include/gfx/nsGfxCIID.h" 1 ># 43 "../../../dist/include/gfx/nsGfxCIID.h" ># 1 "../../../dist/include/xpcom/nsIFactory.h" 1 ># 31 "../../../dist/include/xpcom/nsIFactory.h" >class nsIFactory : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0x00000001, 0x0000, 0x0000, { 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 }}; return iid;} ># 53 "../../../dist/include/xpcom/nsIFactory.h" > virtual nsresult CreateInstance(nsISupports *aOuter, const nsIID & iid, void * *result) = 0; ># 66 "../../../dist/include/xpcom/nsIFactory.h" > virtual nsresult LockFactory(PRBool lock) = 0; > >}; ># 44 "../../../dist/include/gfx/nsGfxCIID.h" 2 ># 1 "../../../dist/include/xpcom/nsIComponentManager.h" 1 ># 17 "../../../dist/include/xpcom/nsIComponentManager.h" >class nsIFactory; ># 27 "../../../dist/include/xpcom/nsIComponentManager.h" >class nsIComponentManager : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0xa88e5a60, 0x205a, 0x4bb1, { 0x94, 0xe1, 0x26, 0x28, 0xda, 0xf5, 0x1e, 0xae }}; return iid;} ># 41 "../../../dist/include/xpcom/nsIComponentManager.h" > virtual nsresult GetClassObject(const nsCID & aClass, const nsIID & aIID, void * *result) = 0; ># 52 "../../../dist/include/xpcom/nsIComponentManager.h" > virtual nsresult GetClassObjectByContractID(const char *aContractID, const nsIID & aIID, void * *result) = 0; ># 64 "../../../dist/include/xpcom/nsIComponentManager.h" > virtual nsresult CreateInstance(const nsCID & aClass, nsISupports *aDelegate, const nsIID & aIID, void * *result) = 0; ># 77 "../../../dist/include/xpcom/nsIComponentManager.h" > virtual nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate, const nsIID & aIID, void * *result) = 0; > >}; ># 158 "../../../dist/include/xpcom/nsIComponentManager.h" ># 1 "../../../dist/include/xpcom/nsComponentManagerUtils.h" 1 ># 28 "../../../dist/include/xpcom/nsComponentManagerUtils.h" ># 1 "../../../dist/include/xpcom/nsCOMPtr.h" 1 ># 130 "../../../dist/include/xpcom/nsCOMPtr.h" > typedef PRBool NSCAP_BOOL; ># 186 "../../../dist/include/xpcom/nsCOMPtr.h" >template <class T> >class nsDerivedSafe : public T ># 197 "../../../dist/include/xpcom/nsCOMPtr.h" > { > private: > > > > > nsrefcnt AddRef(void); > nsrefcnt Release(void); > > > > void operator delete( void*, size_t ); > > > > nsDerivedSafe<T>& operator=( const T& ); ># 222 "../../../dist/include/xpcom/nsCOMPtr.h" > protected: > nsDerivedSafe(); > > > > > }; > > >template <class T> >nsrefcnt >nsDerivedSafe<T>::AddRef() > { > return 0; > } > >template <class T> >nsrefcnt >nsDerivedSafe<T>::Release() > { > return 0; > } > > > > > >template <class T> >struct already_AddRefed ># 266 "../../../dist/include/xpcom/nsCOMPtr.h" > { > already_AddRefed( T* aRawPtr ) > : mRawPtr(aRawPtr) > { > > } > > T* get() const { return mRawPtr; } > > T* mRawPtr; > }; > >template <class T> >inline >const already_AddRefed<T> >getter_AddRefs( T* aRawPtr ) > > > > > { > return already_AddRefed<T>(aRawPtr); > } > >template <class T> >inline >const already_AddRefed<T> >getter_AddRefs( const already_AddRefed<T> aAlreadyAddRefedPtr ) > { > return aAlreadyAddRefedPtr; > } > >template <class T> >inline >const already_AddRefed<T> >dont_AddRef( T* aRawPtr ) > { > return already_AddRefed<T>(aRawPtr); > } > >template <class T> >inline >const already_AddRefed<T> >dont_AddRef( const already_AddRefed<T> aAlreadyAddRefedPtr ) > { > return aAlreadyAddRefedPtr; > } > > > >class nsCOMPtr_helper ># 332 "../../../dist/include/xpcom/nsCOMPtr.h" > { > public: > virtual nsresult operator()( const nsIID&, void** ) const = 0; > }; > >class nsQueryInterface : public nsCOMPtr_helper > { > public: > nsQueryInterface( nsISupports* aRawPtr, nsresult* error ) > : mRawPtr(aRawPtr), > mErrorPtr(error) > { > > } > > virtual nsresult operator()( const nsIID& aIID, void** ) const; > > private: > nsISupports* mRawPtr; > nsresult* mErrorPtr; > }; > >inline >const nsQueryInterface >do_QueryInterface( nsISupports* aRawPtr, nsresult* error = 0 ) > { > return nsQueryInterface(aRawPtr, error); > } > >template <class T> >inline >void >do_QueryInterface( already_AddRefed<T>& ) > { > > > > } > >template <class T> >inline >void >do_QueryInterface( already_AddRefed<T>&, nsresult* ) > { > > > > } > > > >class nsCOMPtr_base ># 396 "../../../dist/include/xpcom/nsCOMPtr.h" > { > public: > > nsCOMPtr_base( nsISupports* rawPtr = 0 ) > : mRawPtr(rawPtr) > { > > } > > ~nsCOMPtr_base(); > > void assign_with_AddRef( nsISupports* ); > void assign_from_helper( const nsCOMPtr_helper&, const nsIID& ); > void** begin_assignment(); > > protected: > nsISupports* __attribute__((__may_alias__)) mRawPtr; > > void > assign_assuming_AddRef( nsISupports* newPtr ) > { ># 425 "../../../dist/include/xpcom/nsCOMPtr.h" > nsISupports* oldPtr = mRawPtr; > mRawPtr = newPtr; > ; > ; > if ( oldPtr ) > (oldPtr)->Release(); > } > }; > > > >template <class T> >class nsCOMPtr > > : private nsCOMPtr_base > > { ># 468 "../../../dist/include/xpcom/nsCOMPtr.h" > public: > typedef T element_type; ># 499 "../../../dist/include/xpcom/nsCOMPtr.h" > nsCOMPtr() > : nsCOMPtr_base(0) > > { > ; > } > > nsCOMPtr( const nsCOMPtr<T>& aSmartPtr ) > : nsCOMPtr_base(aSmartPtr.mRawPtr) > > { > if ( mRawPtr ) > (mRawPtr)->AddRef(); > ; > } > > nsCOMPtr( T* aRawPtr ) > : nsCOMPtr_base(aRawPtr) > > { > if ( mRawPtr ) > (mRawPtr)->AddRef(); > ; > ; > } > > nsCOMPtr( const already_AddRefed<T>& aSmartPtr ) > : nsCOMPtr_base(aSmartPtr.mRawPtr) > > { > ; > ; > } > > nsCOMPtr( const nsCOMPtr_helper& helper ) > : nsCOMPtr_base(0) > > > { > ; > assign_from_helper(helper, nsCOMTypeInfo<T>::GetIID()); > ; > } ># 558 "../../../dist/include/xpcom/nsCOMPtr.h" > nsCOMPtr<T>& > operator=( const nsCOMPtr<T>& rhs ) > > { > assign_with_AddRef(rhs.mRawPtr); > return *this; > } > > nsCOMPtr<T>& > operator=( T* rhs ) > > { > assign_with_AddRef(rhs); > ; > return *this; > } > > nsCOMPtr<T>& > operator=( const already_AddRefed<T>& rhs ) > > { > assign_assuming_AddRef(rhs.mRawPtr); > ; > return *this; > } > > nsCOMPtr<T>& > operator=( const nsCOMPtr_helper& rhs ) > > > { > assign_from_helper(rhs, nsCOMTypeInfo<T>::GetIID()); > ; > return *this; > } ># 606 "../../../dist/include/xpcom/nsCOMPtr.h" > void > swap( nsCOMPtr<T>& rhs ) > > { > > nsISupports* temp = rhs.mRawPtr; > > > > ; > ; > ; > ; > rhs.mRawPtr = mRawPtr; > mRawPtr = temp; > > } > > void > swap( T*& rhs ) > > { > > nsISupports* temp = rhs; > > > > ; > ; > rhs = reinterpret_cast< T* >(mRawPtr); > mRawPtr = temp; > ; > } > > > > > nsDerivedSafe<T>* > get() const > > > > > > > { > return reinterpret_cast< nsDerivedSafe<T>* >(mRawPtr); > } > > operator nsDerivedSafe<T>*() const > > > > > > > > { > return get(); > } > > nsDerivedSafe<T>* > operator->() const > { > ; > return get(); > } ># 687 "../../../dist/include/xpcom/nsCOMPtr.h" > nsCOMPtr<T>* > get_address() > > > { > return this; > } > > const nsCOMPtr<T>* > get_address() const > > > { > return this; > } > > > > public: > nsDerivedSafe<T>& > operator*() const > { > ; > return *get(); > } > > > > > > > T** > StartAssignment() > { > > return reinterpret_cast< T** >(begin_assignment()); > > > > > } > }; ># 741 "../../../dist/include/xpcom/nsCOMPtr.h" >template <> >class nsCOMPtr<nsISupports> > : private nsCOMPtr_base > { > public: > typedef nsISupports element_type; > > > > nsCOMPtr() > : nsCOMPtr_base(0) > > { > ; > } > > nsCOMPtr( const nsCOMPtr<nsISupports>& aSmartPtr ) > : nsCOMPtr_base(aSmartPtr.mRawPtr) > > { > if ( mRawPtr ) > (mRawPtr)->AddRef(); > ; > } > > nsCOMPtr( nsISupports* aRawPtr ) > : nsCOMPtr_base(aRawPtr) > > { > if ( mRawPtr ) > (mRawPtr)->AddRef(); > ; > } > > nsCOMPtr( const already_AddRefed<nsISupports>& aSmartPtr ) > : nsCOMPtr_base(aSmartPtr.mRawPtr) > > { > ; > } > > nsCOMPtr( const nsCOMPtr_helper& helper ) > : nsCOMPtr_base(0) > > > { > ; > assign_from_helper(helper, nsCOMTypeInfo<nsISupports>::GetIID()); > } > > > > > nsCOMPtr<nsISupports>& > operator=( const nsCOMPtr<nsISupports>& rhs ) > > { > assign_with_AddRef(rhs.mRawPtr); > return *this; > } > > nsCOMPtr<nsISupports>& > operator=( nsISupports* rhs ) > > { > assign_with_AddRef(rhs); > return *this; > } > > nsCOMPtr<nsISupports>& > operator=( const already_AddRefed<nsISupports>& rhs ) > > { > assign_assuming_AddRef(rhs.mRawPtr); > return *this; > } > > nsCOMPtr<nsISupports>& > operator=( const nsCOMPtr_helper& rhs ) > > > { > assign_from_helper(rhs, nsCOMTypeInfo<nsISupports>::GetIID()); > return *this; > } > > void > swap( nsCOMPtr<nsISupports>& rhs ) > > { > nsISupports* temp = rhs.mRawPtr; > ; > ; > ; > ; > rhs.mRawPtr = mRawPtr; > mRawPtr = temp; > } > > void > swap( nsISupports*& rhs ) > > { > nsISupports* temp = rhs; > ; > ; > rhs = mRawPtr; > mRawPtr = temp; > } > > > > > nsDerivedSafe<nsISupports>* > get() const > > > > > > > { > return reinterpret_cast< nsDerivedSafe<nsISupports>* >(mRawPtr); > } > > operator nsDerivedSafe<nsISupports>*() const > > > > > > > > { > return get(); > } > > nsDerivedSafe<nsISupports>* > operator->() const > { > ; > return get(); > } ># 898 "../../../dist/include/xpcom/nsCOMPtr.h" > nsCOMPtr<nsISupports>* > get_address() > > > { > return this; > } > > const nsCOMPtr<nsISupports>* > get_address() const > > > { > return this; > } > > > > public: > > nsDerivedSafe<nsISupports>& > operator*() const > { > ; > return *get(); > } > > > > > > > nsISupports** > StartAssignment() > { > > return reinterpret_cast< nsISupports** >(begin_assignment()); > > > > > } > }; ># 985 "../../../dist/include/xpcom/nsCOMPtr.h" >template <class T> >inline >nsCOMPtr<T>* >address_of( nsCOMPtr<T>& aPtr ) > { > return aPtr.get_address(); > } > >template <class T> >inline >const nsCOMPtr<T>* >address_of( const nsCOMPtr<T>& aPtr ) > { > return aPtr.get_address(); > } > > > >template <class T> >class nsGetterAddRefs ># 1022 "../../../dist/include/xpcom/nsCOMPtr.h" > { > public: > explicit > nsGetterAddRefs( nsCOMPtr<T>& aSmartPtr ) > : mTargetSmartPtr(aSmartPtr) > { > > } ># 1044 "../../../dist/include/xpcom/nsCOMPtr.h" > operator void**() > { > return reinterpret_cast< void** >(mTargetSmartPtr.StartAssignment()); > } > > operator nsISupports**() > { > return reinterpret_cast< nsISupports** >(mTargetSmartPtr.StartAssignment()); > } > > operator T**() > { > return mTargetSmartPtr.StartAssignment(); > } > > T*& > operator*() > { > return *(mTargetSmartPtr.StartAssignment()); > } > > private: > nsCOMPtr<T>& mTargetSmartPtr; > }; > > >template <> >class nsGetterAddRefs<nsISupports> > { > public: > explicit > nsGetterAddRefs( nsCOMPtr<nsISupports>& aSmartPtr ) > : mTargetSmartPtr(aSmartPtr) > { > > } ># 1088 "../../../dist/include/xpcom/nsCOMPtr.h" > operator void**() > { > return reinterpret_cast< void** >(mTargetSmartPtr.StartAssignment()); > } > > operator nsISupports**() > { > return mTargetSmartPtr.StartAssignment(); > } > > nsISupports*& > operator*() > { > return *(mTargetSmartPtr.StartAssignment()); > } > > private: > nsCOMPtr<nsISupports>& mTargetSmartPtr; > }; > > >template <class T> >inline >nsGetterAddRefs<T> >getter_AddRefs( nsCOMPtr<T>& aSmartPtr ) > > > > > { > return nsGetterAddRefs<T>(aSmartPtr); > } > > > > > >template <class T, class U> >inline >NSCAP_BOOL >operator==( const nsCOMPtr<T>& lhs, const nsCOMPtr<U>& rhs ) > { > return static_cast< const T* >(lhs.get()) == static_cast< const U* >(rhs.get()); > } > > >template <class T, class U> >inline >NSCAP_BOOL >operator!=( const nsCOMPtr<T>& lhs, const nsCOMPtr<U>& rhs ) > { > return static_cast< const T* >(lhs.get()) != static_cast< const U* >(rhs.get()); > } > > > > >template <class T, class U> >inline >NSCAP_BOOL >operator==( const nsCOMPtr<T>& lhs, const U* rhs ) > { > return static_cast< const T* >(lhs.get()) == rhs; > } > >template <class T, class U> >inline >NSCAP_BOOL >operator==( const U* lhs, const nsCOMPtr<T>& rhs ) > { > return lhs == static_cast< const T* >(rhs.get()); > } > >template <class T, class U> >inline >NSCAP_BOOL >operator!=( const nsCOMPtr<T>& lhs, const U* rhs ) > { > return static_cast< const T* >(lhs.get()) != rhs; > } > >template <class T, class U> >inline >NSCAP_BOOL >operator!=( const U* lhs, const nsCOMPtr<T>& rhs ) > { > return lhs != static_cast< const T* >(rhs.get()); > } ># 1192 "../../../dist/include/xpcom/nsCOMPtr.h" >template <class T, class U> >inline >NSCAP_BOOL >operator==( const nsCOMPtr<T>& lhs, U* rhs ) > { > return static_cast< const T* >(lhs.get()) == const_cast< const U* >(rhs); > } > >template <class T, class U> >inline >NSCAP_BOOL >operator==( U* lhs, const nsCOMPtr<T>& rhs ) > { > return const_cast< const U* >(lhs) == static_cast< const T* >(rhs.get()); > } > >template <class T, class U> >inline >NSCAP_BOOL >operator!=( const nsCOMPtr<T>& lhs, U* rhs ) > { > return static_cast< const T* >(lhs.get()) != const_cast< const U* >(rhs); > } > >template <class T, class U> >inline >NSCAP_BOOL >operator!=( U* lhs, const nsCOMPtr<T>& rhs ) > { > return const_cast< const U* >(lhs) != static_cast< const T* >(rhs.get()); > } > > > > > > >class NSCAP_Zero; > >template <class T> >inline >NSCAP_BOOL >operator==( const nsCOMPtr<T>& lhs, NSCAP_Zero* rhs ) > > { > return static_cast< const void* >(lhs.get()) == reinterpret_cast< const void* >(rhs); > } > >template <class T> >inline >NSCAP_BOOL >operator==( NSCAP_Zero* lhs, const nsCOMPtr<T>& rhs ) > > { > return reinterpret_cast< const void* >(lhs) == static_cast< const void* >(rhs.get()); > } > >template <class T> >inline >NSCAP_BOOL >operator!=( const nsCOMPtr<T>& lhs, NSCAP_Zero* rhs ) > > { > return static_cast< const void* >(lhs.get()) != reinterpret_cast< const void* >(rhs); > } > >template <class T> >inline >NSCAP_BOOL >operator!=( NSCAP_Zero* lhs, const nsCOMPtr<T>& rhs ) > > { > return reinterpret_cast< const void* >(lhs) != static_cast< const void* >(rhs.get()); > } ># 1295 "../../../dist/include/xpcom/nsCOMPtr.h" >inline >NSCAP_BOOL >SameCOMIdentity( nsISupports* lhs, nsISupports* rhs ) > { > return nsCOMPtr<nsISupports>( do_QueryInterface(lhs) ) == nsCOMPtr<nsISupports>( do_QueryInterface(rhs) ); > } > > > >template <class SourceType, class DestinationType> >inline >nsresult >CallQueryInterface( nsCOMPtr<SourceType>& aSourcePtr, DestinationType** aDestPtr ) > { > return CallQueryInterface(aSourcePtr.get(), aDestPtr); > } ># 29 "../../../dist/include/xpcom/nsComponentManagerUtils.h" 2 > > > ># 1 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" 1 ># 40 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" ># 1 "../../../dist/include/xpcom/nsIComponentManager.h" 1 ># 41 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" 2 ># 1 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" 1 ># 21 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" >class nsIFile; > >class nsIEnumerator; ># 33 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" >class nsIComponentManagerObsolete : public nsISupports { > public: > > static const nsIID& GetIID() {static const nsIID iid = {0x8458a740, 0xd5dc, 0x11d2, { 0x92, 0xfb, 0x00, 0xe0, 0x98, 0x05, 0x57, 0x0f }}; return iid;} ># 47 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult FindFactory(const nsCID & aClass, nsIFactory **_retval) = 0; ># 58 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult GetClassObject(const nsCID & aClass, const nsIID & aIID, void * *_retval) = 0; ># 71 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult ContractIDToClassID(const char *aContractID, nsCID *aClass) = 0; ># 84 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult CLSIDToContractID(const nsCID & aClass, char **aClassName, char **_retval) = 0; ># 96 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult CreateInstance(const nsCID & aClass, nsISupports *aDelegate, const nsIID & aIID, void * *_retval) = 0; ># 110 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate, const nsIID & IID, void * *_retval) = 0; ># 122 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegistryLocationForSpec(nsIFile *aSpec, char **_retval) = 0; ># 131 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult SpecForRegistryLocation(const char *aLocation, nsIFile **_retval) = 0; ># 146 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegisterFactory(const nsCID & aClass, const char *aClassName, const char *aContractID, nsIFactory *aFactory, PRBool aReplace) = 0; ># 167 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegisterComponent(const nsCID & aClass, const char *aClassName, const char *aContractID, const char *aLocation, PRBool aReplace, PRBool aPersist) = 0; ># 189 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegisterComponentWithType(const nsCID & aClass, const char *aClassName, const char *aContractID, nsIFile *aSpec, const char *aLocation, PRBool aReplace, PRBool aPersist, const char *aType) = 0; ># 207 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegisterComponentSpec(const nsCID & aClass, const char *aClassName, const char *aContractID, nsIFile *aLibrary, PRBool aReplace, PRBool aPersist) = 0; ># 226 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult RegisterComponentLib(const nsCID & aClass, const char *aClassName, const char *aContractID, const char *aDllName, PRBool aReplace, PRBool aPersist) = 0; ># 238 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult UnregisterFactory(const nsCID & aClass, nsIFactory *aFactory) = 0; ># 252 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult UnregisterComponent(const nsCID & aClass, const char *aLocation) = 0; ># 261 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult UnregisterComponentSpec(const nsCID & aClass, nsIFile *aLibrarySpec) = 0; > > > > > > > > virtual nsresult FreeLibraries(void) = 0; > > > > > enum { NS_Startup = 0 }; > > enum { NS_Script = 1 }; > > enum { NS_Timer = 2 }; > > enum { NS_Shutdown = 3 }; ># 293 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult AutoRegister(PRInt32 when, nsIFile *directory) = 0; ># 306 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult AutoRegisterComponent(PRInt32 when, nsIFile *aFileLocation) = 0; ># 315 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult AutoUnregisterComponent(PRInt32 when, nsIFile *aFileLocation) = 0; ># 327 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult IsRegistered(const nsCID & aClass, PRBool *_retval) = 0; ># 337 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult EnumerateCLSIDs(nsIEnumerator **_retval) = 0; ># 347 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" > virtual nsresult EnumerateContractIDs(nsIEnumerator **_retval) = 0; > >}; ># 599 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" ># 1 "../../../dist/include/xpcom/nsComponentManagerUtils.h" 1 ># 600 "../../../dist/include/xpcom/nsIComponentManagerObsolete.h" 2 ># 42 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" 2 > >class nsIEnumerator; >class nsIFactory; >class nsIFile; ># 68 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" >extern nsresult >NS_GetGlobalComponentManager(nsIComponentManager* *result); > > > > >class nsComponentManager { >public: > static nsresult Initialize(void); > > > static nsresult FindFactory(const nsCID &aClass, > nsIFactory **aFactory); > > > static nsresult GetClassObject(const nsCID &aClass, const nsIID &aIID, > void **aResult); > > > static nsresult ContractIDToClassID(const char *aContractID, > nsCID *aClass); > > > > static nsresult CLSIDToContractID(nsCID *aClass, > char* *aClassName, > char* *aContractID); > > > static nsresult CreateInstance(const nsCID &aClass, > nsISupports *aDelegate, > const nsIID &aIID, > void **aResult); > > > static nsresult CreateInstance(const char *aContractID, > nsISupports *aDelegate, > const nsIID &aIID, > void **aResult); > > > static nsresult RegisterFactory(const nsCID &aClass, > const char *aClassName, > const char *aContractID, > nsIFactory *aFactory, > PRBool aReplace); ># 122 "../../../dist/include/xpcom/nsComponentManagerObsolete.h" > static nsresult RegisterComponent(const nsCID &aClass, > const char *aClassName, > const char *aContractID, > const char *aLibraryPersistentDescriptor, > PRBool aReplace, > PRBool aPersist); > > > > static nsresult RegisterComponentSpec(const nsCID &aClass, > const char *aClassName, > const char *aContractID, > nsIFile *aLibrary, > PRBool aReplace, > PRBool aPersist); > > > > > static nsresult RegisterComponentLib(const nsCID &aClass, > const char *aClassName, > const char *aContractID, > const char *adllName, > PRBool aReplace, > PRBool aPersist); > > > > static nsresult UnregisterFactory(const nsCID &aClass, > nsIFactory *aFactory); > > > static nsresult UnregisterComponent(const nsCID &aClass, > const char *aLibrary); > > > static nsresult UnregisterComponentSpec(const nsCID &aClass, > nsIFile *aLibrarySpec); > > > static nsresult FreeLibraries(void); > > > > > > static nsresult AutoRegister(PRInt32 when, nsIFile* directory); > static nsresult AutoRegisterComponent(PRInt32 when, nsIFile *component); > static nsresult AutoUnregisterComponent(PRInt32 when, nsIFile *component); > > > static nsresult IsRegistered(const nsCID &aClass, > PRBool *aRegistered); > > > static nsresult EnumerateCLSIDs(nsIEnumerator** aEmumerator); > > > static nsresult EnumerateContractIDs(nsIEnumerator** aEmumerator); > >}; ># 33 "../../../dist/include/xpcom/nsComponentManagerUtils.h" 2 ># 43 "../../../dist/include/xpcom/nsComponentManagerUtils.h" >class nsCreateInstanceByCID : public nsCOMPtr_helper >{ >public: > nsCreateInstanceByCID( const nsCID& aCID, nsISupports* aOuter, nsresult* aErrorPtr ) > : mCID(aCID), > mOuter(aOuter), > mErrorPtr(aErrorPtr) > { > > } > > virtual nsresult operator()( const nsIID&, void** ) const; > >private: > const nsCID& mCID; > nsISupports* mOuter; > nsresult* mErrorPtr; >}; > >class nsCreateInstanceByContractID : public nsCOMPtr_helper >{ >public: > nsCreateInstanceByContractID( const char* aContractID, nsISupports* aOuter, nsresult* aErrorPtr ) > : mContractID(aContractID), > mOuter(aOuter), > mErrorPtr(aErrorPtr) > { > > } > > virtual nsresult operator()( const nsIID&, void** ) const; > >private: > const char* mContractID; > nsISupports* mOuter; > nsresult* mErrorPtr; >}; > >inline >const nsCreateInstanceByCID >do_CreateInstance( const nsCID& aCID, nsresult* error = 0 ) >{ > return nsCreateInstanceByCID(aCID, 0, error); >} > >inline >const nsCreateInstanceByCID >do_CreateInstance( const nsCID& aCID, nsISupports* aOuter, nsresult* error = 0 ) >{ > return nsCreateInstanceByCID(aCID, aOuter, error); >} > >inline >const nsCreateInstanceByContractID >do_CreateInstance( const char* aContractID, nsresult* error = 0 ) >{ > return nsCreateInstanceByContractID(aContractID, 0, error); >} > >inline >const nsCreateInstanceByContractID >do_CreateInstance( const char* aContractID, nsISupports* aOuter, nsresult* error = 0 ) >{ > return nsCreateInstanceByContractID(aContractID, aOuter, error); >} > > >template <class DestinationType> >inline >nsresult >CallCreateInstance( const nsCID &aClass, > nsISupports *aDelegate, > DestinationType** aDestination ) >{ > ; > > return nsComponentManager::CreateInstance(aClass, aDelegate, > nsCOMTypeInfo<DestinationType>::GetIID(), > reinterpret_cast< void** >(aDestination)); >} > >template <class DestinationType> >inline >nsresult >CallCreateInstance( const nsCID &aClass, > DestinationType** aDestination ) >{ > ; > > return nsComponentManager::CreateInstance(aClass, 0, > nsCOMTypeInfo<DestinationType>::GetIID(), > reinterpret_cast< void** >(aDestination)); >} > >template <class DestinationType> >inline >nsresult >CallCreateInstance( const char *aContractID, > nsISupports *aDelegate, > DestinationType** aDestination ) >{ > ; > ; > > return nsComponentManager::CreateInstance(aContractID, > aDelegate, > nsCOMTypeInfo<DestinationType>::GetIID(), > reinterpret_cast< void** >(aDestination)); >} > >template <class DestinationType> >inline >nsresult >CallCreateInstance( const char *aContractID, > DestinationType** aDestination ) >{ > ; > ; > > return nsComponentManager::CreateInstance(aContractID, 0, > nsCOMTypeInfo<DestinationType>::GetIID(), > reinterpret_cast< void** >(aDestination)); >} > > >extern const char xpcomKeyName[]; >extern const char xpcomComponentsKeyName[]; >extern const char lastModValueName[]; >extern const char fileSizeValueName[]; >extern const char nativeComponentType[]; >extern const char staticComponentType[]; ># 159 "../../../dist/include/xpcom/nsIComponentManager.h" 2 ># 45 "../../../dist/include/gfx/nsGfxCIID.h" 2 ># 54 "nsRenderingContextGTK.h" 2 ># 1 "nsDrawingSurfaceGTK.h" 1 ># 44 "nsDrawingSurfaceGTK.h" ># 1 "../../../dist/include/util/nsTimer.h" 1 ># 45 "nsDrawingSurfaceGTK.h" 2 ># 1 "../../../dist/include/gfx/nsIRegion.h" 1 ># 46 "../../../dist/include/gfx/nsIRegion.h" >enum nsRegionComplexity >{ > eRegionComplexity_empty = 0, > eRegionComplexity_rect = 1, > eRegionComplexity_complex = 2 >}; > >typedef struct >{ > PRInt32 x; > PRInt32 y; > PRUint32 width; > PRUint32 height; >} nsRegionRect; > >typedef struct >{ > PRUint32 mNumRects; > PRUint32 mRectsLen; > PRUint32 mArea; > nsRegionRect mRects[1]; >} nsRegionRectSet; ># 78 "../../../dist/include/gfx/nsIRegion.h" >class nsIRegion : public nsISupports >{ >public: > static const nsIID& GetIID() {static const nsIID iid = { 0x8ef366e0, 0xee94, 0x11d1, { 0xa8, 0x2a, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }; return iid;} > > virtual nsresult Init(void) = 0; ># 93 "../../../dist/include/gfx/nsIRegion.h" > virtual void SetTo(const nsIRegion &aRegion) = 0; ># 106 "../../../dist/include/gfx/nsIRegion.h" > virtual void SetTo(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight) = 0; ># 116 "../../../dist/include/gfx/nsIRegion.h" > virtual void Intersect(const nsIRegion &aRegion) = 0; ># 129 "../../../dist/include/gfx/nsIRegion.h" > virtual void Intersect(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight) = 0; ># 139 "../../../dist/include/gfx/nsIRegion.h" > virtual void Union(const nsIRegion &aRegion) = 0; ># 152 "../../../dist/include/gfx/nsIRegion.h" > virtual void Union(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight) = 0; ># 162 "../../../dist/include/gfx/nsIRegion.h" > virtual void Subtract(const nsIRegion &aRegion) = 0; ># 175 "../../../dist/include/gfx/nsIRegion.h" > virtual void Subtract(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight) = 0; ># 185 "../../../dist/include/gfx/nsIRegion.h" > virtual PRBool IsEmpty(void) = 0; ># 196 "../../../dist/include/gfx/nsIRegion.h" > virtual PRBool IsEqual(const nsIRegion &aRegion) = 0; ># 209 "../../../dist/include/gfx/nsIRegion.h" > virtual void GetBoundingBox(PRInt32 *aX, PRInt32 *aY, PRInt32 *aWidth, PRInt32 *aHeight) = 0; ># 219 "../../../dist/include/gfx/nsIRegion.h" > virtual void Offset(PRInt32 aXOffset, PRInt32 aYOffset) = 0; ># 229 "../../../dist/include/gfx/nsIRegion.h" > virtual PRBool ContainsRect(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight) = 0; ># 242 "../../../dist/include/gfx/nsIRegion.h" > virtual nsresult GetRects(nsRegionRectSet **aRects) = 0; ># 251 "../../../dist/include/gfx/nsIRegion.h" > virtual nsresult FreeRects(nsRegionRectSet *aRects) = 0; > > > > > > > virtual nsresult GetNativeRegion(void *&aRegion) const = 0; > > > > > > > > virtual nsresult GetRegionComplexity(nsRegionComplexity &aComplexity) const = 0; ># 276 "../../../dist/include/gfx/nsIRegion.h" > virtual nsresult GetNumRects(PRUint32 *aRects) const = 0; >}; ># 46 "nsDrawingSurfaceGTK.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtk.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtk.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkaccelgroup.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkaccelgroup.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkenums.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkenums.h" >extern "C" { > > > > >typedef enum >{ > GTK_ANCHOR_CENTER, > GTK_ANCHOR_NORTH, > GTK_ANCHOR_NORTH_WEST, > GTK_ANCHOR_NORTH_EAST, > GTK_ANCHOR_SOUTH, > GTK_ANCHOR_SOUTH_WEST, > GTK_ANCHOR_SOUTH_EAST, > GTK_ANCHOR_WEST, > GTK_ANCHOR_EAST, > GTK_ANCHOR_N = GTK_ANCHOR_NORTH, > GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST, > GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST, > GTK_ANCHOR_S = GTK_ANCHOR_SOUTH, > GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST, > GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST, > GTK_ANCHOR_W = GTK_ANCHOR_WEST, > GTK_ANCHOR_E = GTK_ANCHOR_EAST >} GtkAnchorType; > > >typedef enum >{ > GTK_ARROW_UP, > GTK_ARROW_DOWN, > GTK_ARROW_LEFT, > GTK_ARROW_RIGHT >} GtkArrowType; > > >typedef enum >{ > GTK_EXPAND = 1 << 0, > GTK_SHRINK = 1 << 1, > GTK_FILL = 1 << 2 >} GtkAttachOptions; > > >typedef enum >{ > GTK_BUTTONBOX_DEFAULT_STYLE, > GTK_BUTTONBOX_SPREAD, > GTK_BUTTONBOX_EDGE, > GTK_BUTTONBOX_START, > GTK_BUTTONBOX_END >} GtkButtonBoxStyle; > > >typedef enum >{ > GTK_CURVE_TYPE_LINEAR, > GTK_CURVE_TYPE_SPLINE, > GTK_CURVE_TYPE_FREE >} GtkCurveType; > >typedef enum { > GTK_DELETE_CHARS, > GTK_DELETE_WORD_ENDS, > > > GTK_DELETE_WORDS, > GTK_DELETE_DISPLAY_LINES, > GTK_DELETE_DISPLAY_LINE_ENDS, > GTK_DELETE_PARAGRAPH_ENDS, > GTK_DELETE_PARAGRAPHS, > GTK_DELETE_WHITESPACE >} GtkDeleteType; > > >typedef enum >{ > GTK_DIR_TAB_FORWARD, > GTK_DIR_TAB_BACKWARD, > GTK_DIR_UP, > GTK_DIR_DOWN, > GTK_DIR_LEFT, > GTK_DIR_RIGHT >} GtkDirectionType; > > >typedef enum >{ > GTK_EXPANDER_COLLAPSED, > GTK_EXPANDER_SEMI_COLLAPSED, > GTK_EXPANDER_SEMI_EXPANDED, > GTK_EXPANDER_EXPANDED >} GtkExpanderStyle; > > >typedef enum >{ > GTK_ICON_SIZE_INVALID, > GTK_ICON_SIZE_MENU, > GTK_ICON_SIZE_SMALL_TOOLBAR, > GTK_ICON_SIZE_LARGE_TOOLBAR, > GTK_ICON_SIZE_BUTTON, > GTK_ICON_SIZE_DND, > GTK_ICON_SIZE_DIALOG >} GtkIconSize; > > > >typedef enum >{ > GTK_SIDE_TOP, > GTK_SIDE_BOTTOM, > GTK_SIDE_LEFT, > GTK_SIDE_RIGHT >} GtkSideType; > > > >typedef enum >{ > GTK_TEXT_DIR_NONE, > GTK_TEXT_DIR_LTR, > GTK_TEXT_DIR_RTL >} GtkTextDirection; > > >typedef enum >{ > GTK_JUSTIFY_LEFT, > GTK_JUSTIFY_RIGHT, > GTK_JUSTIFY_CENTER, > GTK_JUSTIFY_FILL >} GtkJustification; > > > >typedef enum >{ > GTK_MATCH_ALL, > GTK_MATCH_ALL_TAIL, > GTK_MATCH_HEAD, > GTK_MATCH_TAIL, > GTK_MATCH_EXACT, > GTK_MATCH_LAST >} GtkMatchType; > > > >typedef enum >{ > GTK_MENU_DIR_PARENT, > GTK_MENU_DIR_CHILD, > GTK_MENU_DIR_NEXT, > GTK_MENU_DIR_PREV >} GtkMenuDirectionType; > >typedef enum >{ > GTK_PIXELS, > GTK_INCHES, > GTK_CENTIMETERS >} GtkMetricType; > >typedef enum >{ > GTK_MOVEMENT_LOGICAL_POSITIONS, > GTK_MOVEMENT_VISUAL_POSITIONS, > GTK_MOVEMENT_WORDS, > GTK_MOVEMENT_DISPLAY_LINES, > GTK_MOVEMENT_DISPLAY_LINE_ENDS, > GTK_MOVEMENT_PARAGRAPHS, > GTK_MOVEMENT_PARAGRAPH_ENDS, > GTK_MOVEMENT_PAGES, > GTK_MOVEMENT_BUFFER_ENDS, > GTK_MOVEMENT_HORIZONTAL_PAGES >} GtkMovementStep; > >typedef enum >{ > GTK_SCROLL_STEPS, > GTK_SCROLL_PAGES, > GTK_SCROLL_ENDS, > GTK_SCROLL_HORIZONTAL_STEPS, > GTK_SCROLL_HORIZONTAL_PAGES, > GTK_SCROLL_HORIZONTAL_ENDS >} GtkScrollStep; > > >typedef enum >{ > GTK_ORIENTATION_HORIZONTAL, > GTK_ORIENTATION_VERTICAL >} GtkOrientation; > > >typedef enum >{ > GTK_CORNER_TOP_LEFT, > GTK_CORNER_BOTTOM_LEFT, > GTK_CORNER_TOP_RIGHT, > GTK_CORNER_BOTTOM_RIGHT >} GtkCornerType; > > >typedef enum >{ > GTK_PACK_START, > GTK_PACK_END >} GtkPackType; > > >typedef enum >{ > GTK_PATH_PRIO_LOWEST = 0, > GTK_PATH_PRIO_GTK = 4, > GTK_PATH_PRIO_APPLICATION = 8, > GTK_PATH_PRIO_THEME = 10, > GTK_PATH_PRIO_RC = 12, > GTK_PATH_PRIO_HIGHEST = 15 >} GtkPathPriorityType; > > > >typedef enum >{ > GTK_PATH_WIDGET, > GTK_PATH_WIDGET_CLASS, > GTK_PATH_CLASS >} GtkPathType; > > >typedef enum >{ > GTK_POLICY_ALWAYS, > GTK_POLICY_AUTOMATIC, > GTK_POLICY_NEVER >} GtkPolicyType; > >typedef enum >{ > GTK_POS_LEFT, > GTK_POS_RIGHT, > GTK_POS_TOP, > GTK_POS_BOTTOM >} GtkPositionType; > > >typedef enum >{ > GTK_PREVIEW_COLOR, > GTK_PREVIEW_GRAYSCALE >} GtkPreviewType; > > > >typedef enum >{ > GTK_RELIEF_NORMAL, > GTK_RELIEF_HALF, > GTK_RELIEF_NONE >} GtkReliefStyle; > > >typedef enum >{ > GTK_RESIZE_PARENT, > GTK_RESIZE_QUEUE, > GTK_RESIZE_IMMEDIATE >} GtkResizeMode; > > > >typedef enum >{ > GTK_RUN_FIRST = G_SIGNAL_RUN_FIRST, > GTK_RUN_LAST = G_SIGNAL_RUN_LAST, > GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST), > GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE, > GTK_RUN_ACTION = G_SIGNAL_ACTION, > GTK_RUN_NO_HOOKS = G_SIGNAL_NO_HOOKS >} GtkSignalRunType; > > > >typedef enum >{ > GTK_SCROLL_NONE, > GTK_SCROLL_JUMP, > GTK_SCROLL_STEP_BACKWARD, > GTK_SCROLL_STEP_FORWARD, > GTK_SCROLL_PAGE_BACKWARD, > GTK_SCROLL_PAGE_FORWARD, > GTK_SCROLL_STEP_UP, > GTK_SCROLL_STEP_DOWN, > GTK_SCROLL_PAGE_UP, > GTK_SCROLL_PAGE_DOWN, > GTK_SCROLL_STEP_LEFT, > GTK_SCROLL_STEP_RIGHT, > GTK_SCROLL_PAGE_LEFT, > GTK_SCROLL_PAGE_RIGHT, > GTK_SCROLL_START, > GTK_SCROLL_END >} GtkScrollType; > > >typedef enum >{ > GTK_SELECTION_NONE, > GTK_SELECTION_SINGLE, > GTK_SELECTION_BROWSE, > GTK_SELECTION_MULTIPLE, > GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE >} GtkSelectionMode; > > >typedef enum >{ > GTK_SHADOW_NONE, > GTK_SHADOW_IN, > GTK_SHADOW_OUT, > GTK_SHADOW_ETCHED_IN, > GTK_SHADOW_ETCHED_OUT >} GtkShadowType; > > >typedef enum >{ > GTK_STATE_NORMAL, > GTK_STATE_ACTIVE, > GTK_STATE_PRELIGHT, > GTK_STATE_SELECTED, > GTK_STATE_INSENSITIVE >} GtkStateType; > > > >typedef enum >{ > GTK_DIRECTION_LEFT, > GTK_DIRECTION_RIGHT >} GtkSubmenuDirection; > > >typedef enum >{ > GTK_TOP_BOTTOM, > GTK_LEFT_RIGHT >} GtkSubmenuPlacement; > > > >typedef enum >{ > GTK_TOOLBAR_ICONS, > GTK_TOOLBAR_TEXT, > GTK_TOOLBAR_BOTH, > GTK_TOOLBAR_BOTH_HORIZ >} GtkToolbarStyle; > > >typedef enum >{ > GTK_UPDATE_CONTINUOUS, > GTK_UPDATE_DISCONTINUOUS, > GTK_UPDATE_DELAYED >} GtkUpdateType; > > >typedef enum >{ > GTK_VISIBILITY_NONE, > GTK_VISIBILITY_PARTIAL, > GTK_VISIBILITY_FULL >} GtkVisibility; > > >typedef enum >{ > GTK_WIN_POS_NONE, > GTK_WIN_POS_CENTER, > GTK_WIN_POS_MOUSE, > GTK_WIN_POS_CENTER_ALWAYS, > GTK_WIN_POS_CENTER_ON_PARENT >} GtkWindowPosition; > > >typedef enum >{ > GTK_WINDOW_TOPLEVEL, > GTK_WINDOW_POPUP >} GtkWindowType; > > >typedef enum >{ > GTK_WRAP_NONE, > GTK_WRAP_CHAR, > GTK_WRAP_WORD, > GTK_WRAP_WORD_CHAR >} GtkWrapMode; > > >typedef enum >{ > GTK_SORT_ASCENDING, > GTK_SORT_DESCENDING >} GtkSortType; > > >typedef enum >{ > GTK_IM_PREEDIT_NOTHING, > GTK_IM_PREEDIT_CALLBACK, > GTK_IM_PREEDIT_NONE >} GtkIMPreeditStyle; > >typedef enum >{ > GTK_IM_STATUS_NOTHING, > GTK_IM_STATUS_CALLBACK, > GTK_IM_STATUS_NONE >} GtkIMStatusStyle; > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkaccelgroup.h" 2 > >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkaccelgroup.h" >typedef enum >{ > GTK_ACCEL_VISIBLE = 1 << 0, > GTK_ACCEL_LOCKED = 1 << 1, > GTK_ACCEL_MASK = 0x07 >} GtkAccelFlags; > > > >typedef struct _GtkAccelGroup GtkAccelGroup; >typedef struct _GtkAccelGroupClass GtkAccelGroupClass; >typedef struct _GtkAccelKey GtkAccelKey; >typedef struct _GtkAccelGroupEntry GtkAccelGroupEntry; >typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group, > GObject *acceleratable, > guint keyval, > GdkModifierType modifier); > >typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key, > GClosure *closure, > gpointer data); > >struct _GtkAccelGroup >{ > GObject parent; > guint lock_count; > GdkModifierType modifier_mask; > GSList *acceleratables; > guint n_accels; > GtkAccelGroupEntry *priv_accels; >}; > >struct _GtkAccelGroupClass >{ > GObjectClass parent_class; > > void (*accel_changed) (GtkAccelGroup *accel_group, > guint keyval, > GdkModifierType modifier, > GClosure *accel_closure); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >struct _GtkAccelKey >{ > guint accel_key; > GdkModifierType accel_mods; > guint accel_flags : 16; >}; > > > >GType gtk_accel_group_get_type (void); >GtkAccelGroup* gtk_accel_group_new (void); >void gtk_accel_group_lock (GtkAccelGroup *accel_group); >void gtk_accel_group_unlock (GtkAccelGroup *accel_group); >void gtk_accel_group_connect (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkAccelFlags accel_flags, > GClosure *closure); >void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, > const gchar *accel_path, > GClosure *closure); >gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group, > GClosure *closure); >gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, > GQuark accel_quark, > GObject *acceleratable, > guint accel_key, > GdkModifierType accel_mods); > > > >void _gtk_accel_group_attach (GtkAccelGroup *accel_group, > GObject *object); >void _gtk_accel_group_detach (GtkAccelGroup *accel_group, > GObject *object); >gboolean gtk_accel_groups_activate (GObject *object, > guint accel_key, > GdkModifierType accel_mods); >GSList* gtk_accel_groups_from_object (GObject *object); >GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group, > GtkAccelGroupFindFunc find_func, > gpointer data); >GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure); > > > >gboolean gtk_accelerator_valid (guint keyval, > GdkModifierType modifiers) __attribute__((__const__)); >void gtk_accelerator_parse (const gchar *accelerator, > guint *accelerator_key, > GdkModifierType *accelerator_mods); >gchar* gtk_accelerator_name (guint accelerator_key, > GdkModifierType accelerator_mods); >void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask); >guint gtk_accelerator_get_default_mod_mask (void); > > > >GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > guint *n_entries); > >void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, > GQuark accel_path_quark); > >struct _GtkAccelGroupEntry >{ > GtkAccelKey key; > GClosure *closure; > GQuark accel_path_quark; >}; > > > > > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkaccellabel.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkaccellabel.h" ># 1 "/usr/include/gtk-2.0/gtk/gtklabel.h" 1 ># 31 "/usr/include/gtk-2.0/gtk/gtklabel.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkmisc.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkmisc.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkwidget.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkobject.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkobject.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" >extern "C" { ># 62 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" >typedef GType GtkFundamentalType; ># 89 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" >typedef GType GtkType; > > > >typedef GTypeInstance GtkTypeObject; >typedef GTypeClass GtkTypeClass; >typedef GBaseInitFunc GtkClassInitFunc; >typedef GInstanceInitFunc GtkObjectInitFunc; > > > >} > > > ># 1 "/usr/include/gtk-2.0/gtk/gtktypebuiltins.h" 1 ># 9 "/usr/include/gtk-2.0/gtk/gtktypebuiltins.h" >extern "C" { > > > >GType gtk_accel_flags_get_type (void); > > > > >GType gtk_calendar_display_options_get_type (void); > > > > >GType gtk_cell_renderer_state_get_type (void); > > >GType gtk_cell_renderer_mode_get_type (void); > > > > >GType gtk_cell_type_get_type (void); > > >GType gtk_clist_drag_pos_get_type (void); > > >GType gtk_button_action_get_type (void); > > > > >GType gtk_ctree_pos_get_type (void); > > >GType gtk_ctree_line_style_get_type (void); > > >GType gtk_ctree_expander_style_get_type (void); > > >GType gtk_ctree_expansion_type_get_type (void); > > > > >GType gtk_debug_flag_get_type (void); > > > > >GType gtk_dialog_flags_get_type (void); > > >GType gtk_response_type_get_type (void); > > > > >GType gtk_dest_defaults_get_type (void); > > >GType gtk_target_flags_get_type (void); > > > > >GType gtk_anchor_type_get_type (void); > > >GType gtk_arrow_type_get_type (void); > > >GType gtk_attach_options_get_type (void); > > >GType gtk_button_box_style_get_type (void); > > >GType gtk_curve_type_get_type (void); > > >GType gtk_delete_type_get_type (void); > > >GType gtk_direction_type_get_type (void); > > >GType gtk_expander_style_get_type (void); > > >GType gtk_icon_size_get_type (void); > > >GType gtk_side_type_get_type (void); > > >GType gtk_text_direction_get_type (void); > > >GType gtk_justification_get_type (void); > > >GType gtk_match_type_get_type (void); > > >GType gtk_menu_direction_type_get_type (void); > > >GType gtk_metric_type_get_type (void); > > >GType gtk_movement_step_get_type (void); > > >GType gtk_scroll_step_get_type (void); > > >GType gtk_orientation_get_type (void); > > >GType gtk_corner_type_get_type (void); > > >GType gtk_pack_type_get_type (void); > > >GType gtk_path_priority_type_get_type (void); > > >GType gtk_path_type_get_type (void); > > >GType gtk_policy_type_get_type (void); > > >GType gtk_position_type_get_type (void); > > >GType gtk_preview_type_get_type (void); > > >GType gtk_relief_style_get_type (void); > > >GType gtk_resize_mode_get_type (void); > > >GType gtk_signal_run_type_get_type (void); > > >GType gtk_scroll_type_get_type (void); > > >GType gtk_selection_mode_get_type (void); > > >GType gtk_shadow_type_get_type (void); > > >GType gtk_state_type_get_type (void); > > >GType gtk_submenu_direction_get_type (void); > > >GType gtk_submenu_placement_get_type (void); > > >GType gtk_toolbar_style_get_type (void); > > >GType gtk_update_type_get_type (void); > > >GType gtk_visibility_get_type (void); > > >GType gtk_window_position_get_type (void); > > >GType gtk_window_type_get_type (void); > > >GType gtk_wrap_mode_get_type (void); > > >GType gtk_sort_type_get_type (void); > > >GType gtk_im_preedit_style_get_type (void); > > >GType gtk_im_status_style_get_type (void); > > > > >GType gtk_file_chooser_action_get_type (void); > > >GType gtk_file_chooser_error_get_type (void); > > > > >GType gtk_file_filter_flags_get_type (void); > > > > >GType gtk_icon_lookup_flags_get_type (void); > > >GType gtk_icon_theme_error_get_type (void); > > > > >GType gtk_image_type_get_type (void); > > > > >GType gtk_message_type_get_type (void); > > >GType gtk_buttons_type_get_type (void); > > > > >GType gtk_notebook_tab_get_type (void); > > > > >GType gtk_object_flags_get_type (void); > > >GType gtk_arg_flags_get_type (void); > > > > >GType gtk_private_flags_get_type (void); > > > > >GType gtk_progress_bar_style_get_type (void); > > >GType gtk_progress_bar_orientation_get_type (void); > > > > >GType gtk_rc_flags_get_type (void); > > >GType gtk_rc_token_type_get_type (void); > > > > >GType gtk_size_group_mode_get_type (void); > > > > >GType gtk_spin_button_update_policy_get_type (void); > > >GType gtk_spin_type_get_type (void); > > > > >GType gtk_text_search_flags_get_type (void); > > > > >GType gtk_text_window_type_get_type (void); > > > > >GType gtk_toolbar_child_type_get_type (void); > > >GType gtk_toolbar_space_style_get_type (void); > > > > >GType gtk_tree_view_mode_get_type (void); > > > > >GType gtk_tree_model_flags_get_type (void); > > > > >GType gtk_tree_view_drop_position_get_type (void); > > > > >GType gtk_tree_view_column_sizing_get_type (void); > > > > >GType gtk_ui_manager_item_type_get_type (void); > > > > >GType gtk_widget_flags_get_type (void); > > >GType gtk_widget_help_type_get_type (void); > > >} ># 105 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" 2 > >extern "C" { > > > >GType gtk_identifier_get_type (void); > > > > > >typedef struct _GtkArg GtkArg; >typedef struct _GtkObject GtkObject; >typedef gboolean (*GtkFunction) (gpointer data); >typedef void (*GtkDestroyNotify) (gpointer data); >typedef void (*GtkCallbackMarshal) (GtkObject *object, > gpointer data, > guint n_args, > GtkArg *args); >typedef void (*GtkSignalFunc) (void); > > > >typedef struct _GtkTypeInfo GtkTypeInfo; >typedef GSignalCMarshaller GtkSignalMarshaller; > > > > > > >struct _GtkArg >{ > GtkType type; > gchar *name; > > > > > > > > union { > > gchar char_data; > guchar uchar_data; > gboolean bool_data; > gint int_data; > guint uint_data; > glong long_data; > gulong ulong_data; > gfloat float_data; > gdouble double_data; > gchar *string_data; > GtkObject *object_data; > gpointer pointer_data; > > > struct { > GtkSignalFunc f; > gpointer d; > } signal_data; > } d; >}; ># 218 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" >struct _GtkTypeInfo >{ > gchar *type_name; > guint object_size; > guint class_size; > GtkClassInitFunc class_init_func; > GtkObjectInitFunc object_init_func; > gpointer reserved_1; > gpointer reserved_2; > GtkClassInitFunc base_class_init_func; >}; > > > >gpointer gtk_type_class (GtkType type); > > > >GtkType gtk_type_unique (GtkType parent_type, > const GtkTypeInfo *gtkinfo); >gpointer gtk_type_new (GtkType type); ># 249 "/usr/include/gtk-2.0/gtk/gtktypeutils.h" >typedef GEnumValue GtkEnumValue; >typedef GFlagsValue GtkFlagValue; >GtkEnumValue* gtk_type_enum_get_values (GtkType enum_type); >GtkFlagValue* gtk_type_flags_get_values (GtkType flags_type); >GtkEnumValue* gtk_type_enum_find_value (GtkType enum_type, > const gchar *value_name); >GtkFlagValue* gtk_type_flags_find_value (GtkType flags_type, > const gchar *value_name); > > > > > >void gtk_type_init (GTypeDebugFlags debug_flags); > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkobject.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkdebug.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkdebug.h" >extern "C" { > >typedef enum { > GTK_DEBUG_MISC = 1 << 0, > GTK_DEBUG_PLUGSOCKET = 1 << 1, > GTK_DEBUG_TEXT = 1 << 2, > GTK_DEBUG_TREE = 1 << 3, > GTK_DEBUG_UPDATES = 1 << 4, > GTK_DEBUG_KEYBINDINGS = 1 << 5, > GTK_DEBUG_MULTIHEAD = 1 << 6 >} GtkDebugFlag; ># 66 "/usr/include/gtk-2.0/gtk/gtkdebug.h" >extern guint gtk_debug_flags; > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkobject.h" 2 > >extern "C" { ># 58 "/usr/include/gtk-2.0/gtk/gtkobject.h" >typedef enum >{ > GTK_IN_DESTRUCTION = 1 << 0, > GTK_FLOATING = 1 << 1, > GTK_RESERVED_1 = 1 << 2, > GTK_RESERVED_2 = 1 << 3 >} GtkObjectFlags; ># 76 "/usr/include/gtk-2.0/gtk/gtkobject.h" >typedef struct _GtkObjectClass GtkObjectClass; > > >struct _GtkObject >{ > GObject parent_instance; > > > > > > > guint32 flags; >}; > >struct _GtkObjectClass >{ > GObjectClass parent_class; > > > void (*set_arg) (GtkObject *object, > GtkArg *arg, > guint arg_id); > void (*get_arg) (GtkObject *object, > GtkArg *arg, > guint arg_id); ># 111 "/usr/include/gtk-2.0/gtk/gtkobject.h" > void (*destroy) (GtkObject *object); >}; > > > > > >GtkType gtk_object_get_type (void) __attribute__((__const__)); > >void gtk_object_sink (GtkObject *object); >void gtk_object_destroy (GtkObject *object); > > > > > >GtkObject* gtk_object_new (GtkType type, > const gchar *first_property_name, > ...); >GtkObject* gtk_object_ref (GtkObject *object); >void gtk_object_unref (GtkObject *object); >void gtk_object_weakref (GtkObject *object, > GtkDestroyNotify notify, > gpointer data); >void gtk_object_weakunref (GtkObject *object, > GtkDestroyNotify notify, > gpointer data); ># 151 "/usr/include/gtk-2.0/gtk/gtkobject.h" >void gtk_object_set_data (GtkObject *object, > const gchar *key, > gpointer data); >void gtk_object_set_data_full (GtkObject *object, > const gchar *key, > gpointer data, > GtkDestroyNotify destroy); >void gtk_object_remove_data (GtkObject *object, > const gchar *key); >gpointer gtk_object_get_data (GtkObject *object, > const gchar *key); >void gtk_object_remove_no_notify (GtkObject *object, > const gchar *key); > > > > > > >void gtk_object_set_user_data (GtkObject *object, > gpointer data); >gpointer gtk_object_get_user_data (GtkObject *object); > > > > > >void gtk_object_set_data_by_id (GtkObject *object, > GQuark data_id, > gpointer data); >void gtk_object_set_data_by_id_full (GtkObject *object, > GQuark data_id, > gpointer data, > GtkDestroyNotify destroy); >gpointer gtk_object_get_data_by_id (GtkObject *object, > GQuark data_id); >void gtk_object_remove_data_by_id (GtkObject *object, > GQuark data_id); >void gtk_object_remove_no_notify_by_id (GtkObject *object, > GQuark key_id); > > > > > >typedef enum >{ > GTK_ARG_READABLE = G_PARAM_READABLE, > GTK_ARG_WRITABLE = G_PARAM_WRITABLE, > GTK_ARG_CONSTRUCT = G_PARAM_CONSTRUCT, > GTK_ARG_CONSTRUCT_ONLY = G_PARAM_CONSTRUCT_ONLY, > GTK_ARG_CHILD_ARG = 1 << 4 >} GtkArgFlags; > >void gtk_object_get (GtkObject *object, > const gchar *first_property_name, > ...); >void gtk_object_set (GtkObject *object, > const gchar *first_property_name, > ...); >void gtk_object_add_arg_type (const gchar *arg_name, > GtkType arg_type, > guint arg_flags, > guint arg_id); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkadjustment.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkadjustment.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkadjustment.h" >typedef struct _GtkAdjustment GtkAdjustment; >typedef struct _GtkAdjustmentClass GtkAdjustmentClass; > >struct _GtkAdjustment >{ > GtkObject parent_instance; > > gdouble lower; > gdouble upper; > gdouble value; > gdouble step_increment; > gdouble page_increment; > gdouble page_size; >}; > >struct _GtkAdjustmentClass >{ > GtkObjectClass parent_class; > > void (* changed) (GtkAdjustment *adjustment); > void (* value_changed) (GtkAdjustment *adjustment); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_adjustment_get_type (void) __attribute__((__const__)); >GtkObject* gtk_adjustment_new (gdouble value, > gdouble lower, > gdouble upper, > gdouble step_increment, > gdouble page_increment, > gdouble page_size); >void gtk_adjustment_changed (GtkAdjustment *adjustment); >void gtk_adjustment_value_changed (GtkAdjustment *adjustment); >void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, > gdouble lower, > gdouble upper); >gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment); >void gtk_adjustment_set_value (GtkAdjustment *adjustment, > gdouble value); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkstyle.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkstyle.h" >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtkstyle.h" >typedef struct _GtkBorder GtkBorder; >typedef struct _GtkStyle GtkStyle; >typedef struct _GtkStyleClass GtkStyleClass; >typedef struct _GtkThemeEngine GtkThemeEngine; >typedef struct _GtkRcStyle GtkRcStyle; >typedef struct _GtkIconSet GtkIconSet; >typedef struct _GtkIconSource GtkIconSource; >typedef struct _GtkRcProperty GtkRcProperty; >typedef struct _GtkSettings GtkSettings; >typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec, > const GString *rc_string, > GValue *property_value); > > > > >typedef struct _GtkWidget GtkWidget; > > > >struct _GtkStyle >{ > GObject parent_instance; > > > > GdkColor fg[5]; > GdkColor bg[5]; > GdkColor light[5]; > GdkColor dark[5]; > GdkColor mid[5]; > GdkColor text[5]; > GdkColor base[5]; > GdkColor text_aa[5]; > > GdkColor black; > GdkColor white; > PangoFontDescription *font_desc; > > gint xthickness; > gint ythickness; > > GdkGC *fg_gc[5]; > GdkGC *bg_gc[5]; > GdkGC *light_gc[5]; > GdkGC *dark_gc[5]; > GdkGC *mid_gc[5]; > GdkGC *text_gc[5]; > GdkGC *base_gc[5]; > GdkGC *text_aa_gc[5]; > GdkGC *black_gc; > GdkGC *white_gc; > > GdkPixmap *bg_pixmap[5]; > > > > gint attach_count; > > gint depth; > GdkColormap *colormap; > GdkFont *private_font; > PangoFontDescription *private_font_desc; > > > GtkRcStyle *rc_style; > > GSList *styles; > GArray *property_cache; > GSList *icon_factories; >}; > >struct _GtkStyleClass >{ > GObjectClass parent_class; > > > > > > void (*realize) (GtkStyle *style); > > > > > void (*unrealize) (GtkStyle *style); > > > > void (*copy) (GtkStyle *style, > GtkStyle *src); > > > > > > > GtkStyle *(*clone) (GtkStyle *style); > > > > > void (*init_from_rc) (GtkStyle *style, > GtkRcStyle *rc_style); > > void (*set_background) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type); > > > GdkPixbuf * (* render_icon) (GtkStyle *style, > const GtkIconSource *source, > GtkTextDirection direction, > GtkStateType state, > GtkIconSize size, > GtkWidget *widget, > const gchar *detail); > > > > > void (*draw_hline) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x1, > gint x2, > gint y); > void (*draw_vline) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint y1_, > gint y2_, > gint x); > void (*draw_shadow) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_polygon) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GdkPoint *point, > gint npoints, > gboolean fill); > void (*draw_arrow) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); > void (*draw_diamond) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_string) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > const gchar *string); > void (*draw_box) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_flat_box) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_check) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_option) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_tab) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_shadow_gap) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); > void (*draw_box_gap) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); > void (*draw_extension) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); > void (*draw_focus) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); > void (*draw_slider) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); > void (*draw_handle) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); > > void (*draw_expander) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > GtkExpanderStyle expander_style); > void (*draw_layout) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gboolean use_text, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > PangoLayout *layout); > void (*draw_resize_grip) (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GdkWindowEdge edge, > gint x, > gint y, > gint width, > gint height); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); > void (*_gtk_reserved5) (void); > void (*_gtk_reserved6) (void); > void (*_gtk_reserved7) (void); > void (*_gtk_reserved8) (void); > void (*_gtk_reserved9) (void); > void (*_gtk_reserved10) (void); > void (*_gtk_reserved11) (void); > void (*_gtk_reserved12) (void); >}; > >struct _GtkBorder >{ > gint left; > gint right; > gint top; > gint bottom; >}; > >GType gtk_style_get_type (void) __attribute__((__const__)); >GtkStyle* gtk_style_new (void); >GtkStyle* gtk_style_copy (GtkStyle *style); >GtkStyle* gtk_style_attach (GtkStyle *style, > GdkWindow *window); >void gtk_style_detach (GtkStyle *style); > > >GtkStyle* gtk_style_ref (GtkStyle *style); >void gtk_style_unref (GtkStyle *style); > >GdkFont * gtk_style_get_font (GtkStyle *style); >void gtk_style_set_font (GtkStyle *style, > GdkFont *font); > > >void gtk_style_set_background (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type); >void gtk_style_apply_default_background (GtkStyle *style, > GdkWindow *window, > gboolean set_bg, > GtkStateType state_type, > GdkRectangle *area, > gint x, > gint y, > gint width, > gint height); > >GtkIconSet* gtk_style_lookup_icon_set (GtkStyle *style, > const gchar *stock_id); >GdkPixbuf* gtk_style_render_icon (GtkStyle *style, > const GtkIconSource *source, > GtkTextDirection direction, > GtkStateType state, > GtkIconSize size, > GtkWidget *widget, > const gchar *detail); > >void gtk_draw_hline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint x1, > gint x2, > gint y); >void gtk_draw_vline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint y1_, > gint y2_, > gint x); >void gtk_draw_shadow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_polygon (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkPoint *points, > gint npoints, > gboolean fill); >void gtk_draw_arrow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_diamond (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_flat_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_check (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_option (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_tab (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_shadow_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_draw_box_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_draw_extension (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); >void gtk_draw_focus (GtkStyle *style, > GdkWindow *window, > gint x, > gint y, > gint width, > gint height); >void gtk_draw_slider (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_draw_handle (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_draw_expander (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint x, > gint y, > GtkExpanderStyle expander_style); >void gtk_draw_layout (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gboolean use_text, > gint x, > gint y, > PangoLayout *layout); >void gtk_draw_resize_grip (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkWindowEdge edge, > gint x, > gint y, > gint width, > gint height); > > >void gtk_paint_hline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x1, > gint x2, > gint y); >void gtk_paint_vline (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint y1_, > gint y2_, > gint x); >void gtk_paint_shadow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_polygon (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GdkPoint *points, > gint npoints, > gboolean fill); >void gtk_paint_arrow (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GtkArrowType arrow_type, > gboolean fill, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_diamond (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_flat_box (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_check (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_option (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_tab (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_shadow_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_paint_box_gap (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side, > gint gap_x, > gint gap_width); >void gtk_paint_extension (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkPositionType gap_side); >void gtk_paint_focus (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height); >void gtk_paint_slider (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_paint_handle (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GtkShadowType shadow_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > gint width, > gint height, > GtkOrientation orientation); >void gtk_paint_expander (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > GtkExpanderStyle expander_style); >void gtk_paint_layout (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gboolean use_text, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > PangoLayout *layout); > >void gtk_paint_resize_grip (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > GdkWindowEdge edge, > gint x, > gint y, > gint width, > gint height); > > >GType gtk_border_get_type (void); >GtkBorder *gtk_border_copy (const GtkBorder *border_); >void gtk_border_free ( GtkBorder *border_); > > >const GValue* _gtk_style_peek_property_value (GtkStyle *style, > GType widget_type, > GParamSpec *pspec, > GtkRcPropertyParser parser); > >void _gtk_style_init_for_settings (GtkStyle *style, > GtkSettings *settings); > > > > >void gtk_draw_string (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > gint x, > gint y, > const gchar *string); >void gtk_paint_string (GtkStyle *style, > GdkWindow *window, > GtkStateType state_type, > GdkRectangle *area, > GtkWidget *widget, > const gchar *detail, > gint x, > gint y, > const gchar *string); > > >void gtk_draw_insertion_cursor (GtkWidget *widget, > GdkDrawable *drawable, > GdkRectangle *area, > GdkRectangle *location, > gboolean is_primary, > GtkTextDirection direction, > gboolean draw_arrow); > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtksettings.h" 1 ># 21 "/usr/include/gtk-2.0/gtk/gtksettings.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkrc.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkrc.h" >extern "C" { > > > >typedef struct _GtkIconFactory GtkIconFactory; >typedef struct _GtkRcContext GtkRcContext; > >typedef struct _GtkRcStyleClass GtkRcStyleClass; ># 50 "/usr/include/gtk-2.0/gtk/gtkrc.h" >typedef enum >{ > GTK_RC_FG = 1 << 0, > GTK_RC_BG = 1 << 1, > GTK_RC_TEXT = 1 << 2, > GTK_RC_BASE = 1 << 3 >} GtkRcFlags; > >struct _GtkRcStyle >{ > GObject parent_instance; > > > > gchar *name; > gchar *bg_pixmap_name[5]; > PangoFontDescription *font_desc; > > GtkRcFlags color_flags[5]; > GdkColor fg[5]; > GdkColor bg[5]; > GdkColor text[5]; > GdkColor base[5]; > > gint xthickness; > gint ythickness; > > > GArray *rc_properties; > > > GSList *rc_style_lists; > > GSList *icon_factories; > > guint engine_specified : 1; >}; > >struct _GtkRcStyleClass >{ > GObjectClass parent_class; > > > > > > > GtkRcStyle * (*create_rc_style) (GtkRcStyle *rc_style); > > > > > > guint (*parse) (GtkRcStyle *rc_style, > GtkSettings *settings, > GScanner *scanner); > > > > > void (*merge) (GtkRcStyle *dest, > GtkRcStyle *src); > > > > GtkStyle * (*create_style) (GtkRcStyle *rc_style); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >void _gtk_rc_init (void); >void gtk_rc_add_default_file (const gchar *filename); >void gtk_rc_set_default_files (gchar **filenames); >gchar** gtk_rc_get_default_files (void); >GtkStyle* gtk_rc_get_style (GtkWidget *widget); >GtkStyle* gtk_rc_get_style_by_paths (GtkSettings *settings, > const char *widget_path, > const char *class_path, > GType type); > >gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings, > gboolean force_load); >void gtk_rc_reset_styles (GtkSettings *settings); > >gchar* gtk_rc_find_pixmap_in_path (GtkSettings *settings, > GScanner *scanner, > const gchar *pixmap_file); > >void gtk_rc_parse (const gchar *filename); >void gtk_rc_parse_string (const gchar *rc_string); >gboolean gtk_rc_reparse_all (void); > > >void gtk_rc_add_widget_name_style (GtkRcStyle *rc_style, > const gchar *pattern); >void gtk_rc_add_widget_class_style (GtkRcStyle *rc_style, > const gchar *pattern); >void gtk_rc_add_class_style (GtkRcStyle *rc_style, > const gchar *pattern); > > > >GType gtk_rc_style_get_type (void) __attribute__((__const__)); >GtkRcStyle* gtk_rc_style_new (void); >GtkRcStyle* gtk_rc_style_copy (GtkRcStyle *orig); >void gtk_rc_style_ref (GtkRcStyle *rc_style); >void gtk_rc_style_unref (GtkRcStyle *rc_style); > >gchar* gtk_rc_find_module_in_path (const gchar *module_file); >gchar* gtk_rc_get_theme_dir (void); >gchar* gtk_rc_get_module_dir (void); >gchar* gtk_rc_get_im_module_path (void); >gchar* gtk_rc_get_im_module_file (void); > > >typedef enum { > GTK_RC_TOKEN_INVALID = G_TOKEN_LAST, > GTK_RC_TOKEN_INCLUDE, > GTK_RC_TOKEN_NORMAL, > GTK_RC_TOKEN_ACTIVE, > GTK_RC_TOKEN_PRELIGHT, > GTK_RC_TOKEN_SELECTED, > GTK_RC_TOKEN_INSENSITIVE, > GTK_RC_TOKEN_FG, > GTK_RC_TOKEN_BG, > GTK_RC_TOKEN_TEXT, > GTK_RC_TOKEN_BASE, > GTK_RC_TOKEN_XTHICKNESS, > GTK_RC_TOKEN_YTHICKNESS, > GTK_RC_TOKEN_FONT, > GTK_RC_TOKEN_FONTSET, > GTK_RC_TOKEN_FONT_NAME, > GTK_RC_TOKEN_BG_PIXMAP, > GTK_RC_TOKEN_PIXMAP_PATH, > GTK_RC_TOKEN_STYLE, > GTK_RC_TOKEN_BINDING, > GTK_RC_TOKEN_BIND, > GTK_RC_TOKEN_WIDGET, > GTK_RC_TOKEN_WIDGET_CLASS, > GTK_RC_TOKEN_CLASS, > GTK_RC_TOKEN_LOWEST, > GTK_RC_TOKEN_GTK, > GTK_RC_TOKEN_APPLICATION, > GTK_RC_TOKEN_THEME, > GTK_RC_TOKEN_RC, > GTK_RC_TOKEN_HIGHEST, > GTK_RC_TOKEN_ENGINE, > GTK_RC_TOKEN_MODULE_PATH, > GTK_RC_TOKEN_IM_MODULE_PATH, > GTK_RC_TOKEN_IM_MODULE_FILE, > GTK_RC_TOKEN_STOCK, > GTK_RC_TOKEN_LTR, > GTK_RC_TOKEN_RTL, > GTK_RC_TOKEN_LAST >} GtkRcTokenType; > >GScanner* gtk_rc_scanner_new (void); >guint gtk_rc_parse_color (GScanner *scanner, > GdkColor *color); >guint gtk_rc_parse_state (GScanner *scanner, > GtkStateType *state); >guint gtk_rc_parse_priority (GScanner *scanner, > GtkPathPriorityType *priority); > > > > >struct _GtkRcProperty >{ > > GQuark type_name; > GQuark property_name; > > > gchar *origin; > GValue value; >}; >const GtkRcProperty* _gtk_rc_style_lookup_rc_property (GtkRcStyle *rc_style, > GQuark type_name, > GQuark property_name); > >const gchar* _gtk_rc_context_get_default_font_name (GtkSettings *settings); > > >} ># 22 "/usr/include/gtk-2.0/gtk/gtksettings.h" 2 > >extern "C" { ># 36 "/usr/include/gtk-2.0/gtk/gtksettings.h" >typedef struct _GtkSettingsClass GtkSettingsClass; >typedef struct _GtkSettingsValue GtkSettingsValue; >typedef struct _GtkSettingsPropertyValue GtkSettingsPropertyValue; > > > >struct _GtkSettings >{ > GObject parent_instance; > > GData *queued_settings; > GtkSettingsPropertyValue *property_values; > > GtkRcContext *rc_context; > GdkScreen *screen; >}; >struct _GtkSettingsClass >{ > GObjectClass parent_class; > >}; >struct _GtkSettingsValue >{ > > > > gchar *origin; > > > > > GValue value; >}; > > > >GType gtk_settings_get_type (void); > >GtkSettings* gtk_settings_get_default (void); > >GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); > >void gtk_settings_install_property (GParamSpec *pspec); >void gtk_settings_install_property_parser (GParamSpec *pspec, > GtkRcPropertyParser parser); > > >gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, > const GString *gstring, > GValue *property_value); >gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, > const GString *gstring, > GValue *property_value); >gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, > const GString *gstring, > GValue *property_value); >gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec, > const GString *gstring, > GValue *property_value); >gboolean gtk_rc_property_parse_border (const GParamSpec *pspec, > const GString *gstring, > GValue *property_value); > > >void gtk_settings_set_property_value (GtkSettings *settings, > const gchar *name, > const GtkSettingsValue *svalue); >void gtk_settings_set_string_property (GtkSettings *settings, > const gchar *name, > const gchar *v_string, > const gchar *origin); >void gtk_settings_set_long_property (GtkSettings *settings, > const gchar *name, > glong v_long, > const gchar *origin); >void gtk_settings_set_double_property (GtkSettings *settings, > const gchar *name, > gdouble v_double, > const gchar *origin); > > > >void _gtk_settings_set_property_value_from_rc (GtkSettings *settings, > const gchar *name, > const GtkSettingsValue *svalue); >void _gtk_settings_reset_rc_values (GtkSettings *settings); > >void _gtk_settings_handle_event (GdkEventSetting *event); >GtkRcPropertyParser _gtk_rc_property_parser_from_type (GType type); >gboolean _gtk_settings_parse_convert (GtkRcPropertyParser parser, > const GValue *src_value, > GParamSpec *pspec, > GValue *dest_value); > > >} ># 36 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkobject.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkobject.h" >extern "C" { > > > ># 1 "/usr/include/atk-1.0/atk/atkstate.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkstate.h" >extern "C" { ># 68 "/usr/include/atk-1.0/atk/atkstate.h" >typedef enum >{ > ATK_STATE_INVALID, > ATK_STATE_ACTIVE, > ATK_STATE_ARMED, > ATK_STATE_BUSY, > ATK_STATE_CHECKED, > ATK_STATE_DEFUNCT, > ATK_STATE_EDITABLE, > ATK_STATE_ENABLED, > ATK_STATE_EXPANDABLE, > ATK_STATE_EXPANDED, > ATK_STATE_FOCUSABLE, > ATK_STATE_FOCUSED, > ATK_STATE_HORIZONTAL, > ATK_STATE_ICONIFIED, > ATK_STATE_MODAL, > ATK_STATE_MULTI_LINE, > ATK_STATE_MULTISELECTABLE, > ATK_STATE_OPAQUE, > ATK_STATE_PRESSED, > ATK_STATE_RESIZABLE, > ATK_STATE_SELECTABLE, > ATK_STATE_SELECTED, > ATK_STATE_SENSITIVE, > ATK_STATE_SHOWING, > ATK_STATE_SINGLE_LINE, > ATK_STATE_STALE, > ATK_STATE_TRANSIENT, > ATK_STATE_VERTICAL, > ATK_STATE_VISIBLE, > ATK_STATE_MANAGES_DESCENDANTS, > ATK_STATE_INDETERMINATE, > ATK_STATE_LAST_DEFINED >} AtkStateType; > >typedef guint64 AtkState; > >AtkStateType atk_state_type_register (const gchar *name); > >const gchar* atk_state_type_get_name (AtkStateType type); >AtkStateType atk_state_type_for_name (const gchar *name); > > >} ># 29 "/usr/include/atk-1.0/atk/atkobject.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkrelationtype.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkrelationtype.h" >extern "C" { ># 51 "/usr/include/atk-1.0/atk/atkrelationtype.h" >typedef enum >{ > ATK_RELATION_NULL = 0, > ATK_RELATION_CONTROLLED_BY, > ATK_RELATION_CONTROLLER_FOR, > ATK_RELATION_LABEL_FOR, > ATK_RELATION_LABELLED_BY, > ATK_RELATION_MEMBER_OF, > ATK_RELATION_NODE_CHILD_OF, > ATK_RELATION_FLOWS_TO, > ATK_RELATION_FLOWS_FROM, > ATK_RELATION_SUBWINDOW_OF, > ATK_RELATION_EMBEDS, > ATK_RELATION_EMBEDDED_BY, > ATK_RELATION_POPUP_FOR, > ATK_RELATION_LAST_DEFINED >} AtkRelationType; > > >} ># 30 "/usr/include/atk-1.0/atk/atkobject.h" 2 ># 127 "/usr/include/atk-1.0/atk/atkobject.h" >typedef enum >{ > ATK_ROLE_INVALID = 0, > ATK_ROLE_ACCEL_LABEL, > ATK_ROLE_ALERT, > ATK_ROLE_ANIMATION, > ATK_ROLE_ARROW, > ATK_ROLE_CALENDAR, > ATK_ROLE_CANVAS, > ATK_ROLE_CHECK_BOX, > ATK_ROLE_CHECK_MENU_ITEM, > ATK_ROLE_COLOR_CHOOSER, > ATK_ROLE_COLUMN_HEADER, > ATK_ROLE_COMBO_BOX, > ATK_ROLE_DATE_EDITOR, > ATK_ROLE_DESKTOP_ICON, > ATK_ROLE_DESKTOP_FRAME, > ATK_ROLE_DIAL, > ATK_ROLE_DIALOG, > ATK_ROLE_DIRECTORY_PANE, > ATK_ROLE_DRAWING_AREA, > ATK_ROLE_FILE_CHOOSER, > ATK_ROLE_FILLER, > ATK_ROLE_FONT_CHOOSER, > ATK_ROLE_FRAME, > ATK_ROLE_GLASS_PANE, > ATK_ROLE_HTML_CONTAINER, > ATK_ROLE_ICON, > ATK_ROLE_IMAGE, > ATK_ROLE_INTERNAL_FRAME, > ATK_ROLE_LABEL, > ATK_ROLE_LAYERED_PANE, > ATK_ROLE_LIST, > ATK_ROLE_LIST_ITEM, > ATK_ROLE_MENU, > ATK_ROLE_MENU_BAR, > ATK_ROLE_MENU_ITEM, > ATK_ROLE_OPTION_PANE, > ATK_ROLE_PAGE_TAB, > ATK_ROLE_PAGE_TAB_LIST, > ATK_ROLE_PANEL, > ATK_ROLE_PASSWORD_TEXT, > ATK_ROLE_POPUP_MENU, > ATK_ROLE_PROGRESS_BAR, > ATK_ROLE_PUSH_BUTTON, > ATK_ROLE_RADIO_BUTTON, > ATK_ROLE_RADIO_MENU_ITEM, > ATK_ROLE_ROOT_PANE, > ATK_ROLE_ROW_HEADER, > ATK_ROLE_SCROLL_BAR, > ATK_ROLE_SCROLL_PANE, > ATK_ROLE_SEPARATOR, > ATK_ROLE_SLIDER, > ATK_ROLE_SPLIT_PANE, > ATK_ROLE_SPIN_BUTTON, > ATK_ROLE_STATUSBAR, > ATK_ROLE_TABLE, > ATK_ROLE_TABLE_CELL, > ATK_ROLE_TABLE_COLUMN_HEADER, > ATK_ROLE_TABLE_ROW_HEADER, > ATK_ROLE_TEAR_OFF_MENU_ITEM, > ATK_ROLE_TERMINAL, > ATK_ROLE_TEXT, > ATK_ROLE_TOGGLE_BUTTON, > ATK_ROLE_TOOL_BAR, > ATK_ROLE_TOOL_TIP, > ATK_ROLE_TREE, > ATK_ROLE_TREE_TABLE, > ATK_ROLE_UNKNOWN, > ATK_ROLE_VIEWPORT, > ATK_ROLE_WINDOW, > ATK_ROLE_HEADER, > ATK_ROLE_FOOTER, > ATK_ROLE_PARAGRAPH, > ATK_ROLE_RULER, > ATK_ROLE_APPLICATION, > ATK_ROLE_AUTOCOMPLETE, > ATK_ROLE_EDITBAR, > ATK_ROLE_LAST_DEFINED >} AtkRole; > >AtkRole atk_role_register (const gchar *name); ># 227 "/usr/include/atk-1.0/atk/atkobject.h" >typedef enum >{ > ATK_LAYER_INVALID, > ATK_LAYER_BACKGROUND, > ATK_LAYER_CANVAS, > ATK_LAYER_WIDGET, > ATK_LAYER_MDI, > ATK_LAYER_POPUP, > ATK_LAYER_OVERLAY, > ATK_LAYER_WINDOW >} AtkLayer; ># 252 "/usr/include/atk-1.0/atk/atkobject.h" >typedef struct _AtkImplementor AtkImplementor; >typedef struct _AtkImplementorIface AtkImplementorIface; > > >typedef struct _AtkObject AtkObject; >typedef struct _AtkObjectClass AtkObjectClass; >typedef struct _AtkRelationSet AtkRelationSet; >typedef struct _AtkStateSet AtkStateSet; > >struct _AtkPropertyValues >{ > const gchar *property_name; > GValue old_value; > GValue new_value; >}; > >typedef struct _AtkPropertyValues AtkPropertyValues; > >typedef gboolean (*AtkFunction) (gpointer data); ># 283 "/usr/include/atk-1.0/atk/atkobject.h" >typedef void (*AtkPropertyChangeHandler) (AtkObject*, AtkPropertyValues*); > > >struct _AtkObject >{ > GObject parent; > > gchar *description; > gchar *name; > AtkObject *accessible_parent; > AtkRole role; > AtkRelationSet *relation_set; > AtkLayer layer; >}; > >struct _AtkObjectClass >{ > GObjectClass parent; > > > > > const gchar* (* get_name) (AtkObject *accessible); > > > > const gchar* (* get_description) (AtkObject *accessible); > > > > AtkObject* (*get_parent) (AtkObject *accessible); > > > > > gint (* get_n_children) (AtkObject *accessible); > > > > > > AtkObject* (* ref_child) (AtkObject *accessible, > gint i); > > > > > gint (* get_index_in_parent) (AtkObject *accessible); > > > > AtkRelationSet* (* ref_relation_set) (AtkObject *accessible); > > > > AtkRole (* get_role) (AtkObject *accessible); > AtkLayer (* get_layer) (AtkObject *accessible); > gint (* get_mdi_zorder) (AtkObject *accessible); > > > > AtkStateSet* (* ref_state_set) (AtkObject *accessible); > > > > void (* set_name) (AtkObject *accessible, > const gchar *name); > > > > void (* set_description) (AtkObject *accessible, > const gchar *description); > > > > void (* set_parent) (AtkObject *accessible, > AtkObject *parent); > > > > void (* set_role) (AtkObject *accessible, > AtkRole role); > > > >guint (* connect_property_change_handler) (AtkObject > *accessible, > AtkPropertyChangeHandler *handler); > > > > >void (* remove_property_change_handler) (AtkObject > *accessible, > guint > handler_id); >void (* initialize) (AtkObject *accessible, > gpointer data); > > > > > void (* children_changed) (AtkObject *accessible, > guint change_index, > gpointer changed_child); > > > > > void (* focus_event) (AtkObject *accessible, > gboolean focus_in); > > > > > void (* property_change) (AtkObject *accessible, > AtkPropertyValues *values); > > > > > void (* state_change) (AtkObject *accessible, > const gchar *name, > gboolean state_set); > > > > > void (*visible_data_changed) (AtkObject *accessible); > > > > > > > > void (*active_descendant_changed) (AtkObject *accessible, > gpointer *child); > > AtkFunction pad1; > AtkFunction pad2; > AtkFunction pad3; > >}; > >GType atk_object_get_type (void); > >struct _AtkImplementorIface >{ > GTypeInterface parent; > > AtkObject* (*ref_accessible) (AtkImplementor *implementor); >}; >GType atk_implementor_get_type (void); ># 450 "/usr/include/atk-1.0/atk/atkobject.h" >AtkObject* atk_implementor_ref_accessible (AtkImplementor *implementor); > > > > > >const gchar* atk_object_get_name (AtkObject *accessible); >const gchar* atk_object_get_description (AtkObject *accessible); >AtkObject* atk_object_get_parent (AtkObject *accessible); >gint atk_object_get_n_accessible_children (AtkObject *accessible); >AtkObject* atk_object_ref_accessible_child (AtkObject *accessible, > gint i); >AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible); >AtkRole atk_object_get_role (AtkObject *accessible); >AtkLayer atk_object_get_layer (AtkObject *accessible); >gint atk_object_get_mdi_zorder (AtkObject *accessible); >AtkStateSet* atk_object_ref_state_set (AtkObject *accessible); >gint atk_object_get_index_in_parent (AtkObject *accessible); >void atk_object_set_name (AtkObject *accessible, > const gchar *name); >void atk_object_set_description (AtkObject *accessible, > const gchar *description); >void atk_object_set_parent (AtkObject *accessible, > AtkObject *parent); >void atk_object_set_role (AtkObject *accessible, > AtkRole role); > > >guint atk_object_connect_property_change_handler (AtkObject *accessible, > AtkPropertyChangeHandler *handler); >void atk_object_remove_property_change_handler (AtkObject *accessible, > guint handler_id); > >void atk_object_notify_state_change (AtkObject *accessible, > AtkState state, > gboolean value); >void atk_object_initialize (AtkObject *accessible, > gpointer data); > >const gchar* atk_role_get_name (AtkRole role); >AtkRole atk_role_for_name (const gchar *name); > > > >gboolean atk_object_add_relationship (AtkObject *object, > AtkRelationType relationship, > AtkObject *target); >gboolean atk_object_remove_relationship (AtkObject *object, > AtkRelationType relationship, > AtkObject *target); >const gchar* atk_role_get_localized_name (AtkRole role); ># 561 "/usr/include/atk-1.0/atk/atkobject.h" >} ># 37 "/usr/include/gtk-2.0/gtk/gtkwidget.h" 2 > > >extern "C" { > > > > > > >typedef enum >{ > GTK_TOPLEVEL = 1 << 4, > GTK_NO_WINDOW = 1 << 5, > GTK_REALIZED = 1 << 6, > GTK_MAPPED = 1 << 7, > GTK_VISIBLE = 1 << 8, > GTK_SENSITIVE = 1 << 9, > GTK_PARENT_SENSITIVE = 1 << 10, > GTK_CAN_FOCUS = 1 << 11, > GTK_HAS_FOCUS = 1 << 12, > > > > > GTK_CAN_DEFAULT = 1 << 13, > > > > > GTK_HAS_DEFAULT = 1 << 14, > > GTK_HAS_GRAB = 1 << 15, > GTK_RC_STYLE = 1 << 16, > GTK_COMPOSITE_CHILD = 1 << 17, > GTK_NO_REPARENT = 1 << 18, > GTK_APP_PAINTABLE = 1 << 19, > > > > > GTK_RECEIVES_DEFAULT = 1 << 20, > > GTK_DOUBLE_BUFFERED = 1 << 21, > GTK_NO_SHOW_ALL = 1 << 22 >} GtkWidgetFlags; > > >typedef enum >{ > GTK_WIDGET_HELP_TOOLTIP, > GTK_WIDGET_HELP_WHATS_THIS >} GtkWidgetHelpType; ># 139 "/usr/include/gtk-2.0/gtk/gtkwidget.h" >typedef struct _GtkRequisition GtkRequisition; >typedef GdkRectangle GtkAllocation; >typedef struct _GtkSelectionData GtkSelectionData; >typedef struct _GtkWidgetClass GtkWidgetClass; >typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; >typedef struct _GtkWidgetShapeInfo GtkWidgetShapeInfo; >typedef struct _GtkClipboard GtkClipboard; >typedef void (*GtkCallback) (GtkWidget *widget, > gpointer data); > > > > >struct _GtkRequisition >{ > gint width; > gint height; >}; > > > > > > >struct _GtkWidget >{ > > > > > > > GtkObject object; > > > > > > > guint16 private_flags; > > > > > guint8 state; > > > > > > > > guint8 saved_state; > > > > > > > > gchar *name; ># 208 "/usr/include/gtk-2.0/gtk/gtkwidget.h" > GtkStyle *style; > > > > GtkRequisition requisition; > > > > GtkAllocation allocation; > > > > > > GdkWindow *window; > > > > GtkWidget *parent; >}; > >struct _GtkWidgetClass >{ > > > > > > > GtkObjectClass parent_class; > > > > guint activate_signal; > > guint set_scroll_adjustments_signal; > > > > > void (*dispatch_child_properties_changed) (GtkWidget *widget, > guint n_pspecs, > GParamSpec **pspecs); > > > void (* show) (GtkWidget *widget); > void (* show_all) (GtkWidget *widget); > void (* hide) (GtkWidget *widget); > void (* hide_all) (GtkWidget *widget); > void (* map) (GtkWidget *widget); > void (* unmap) (GtkWidget *widget); > void (* realize) (GtkWidget *widget); > void (* unrealize) (GtkWidget *widget); > void (* size_request) (GtkWidget *widget, > GtkRequisition *requisition); > void (* size_allocate) (GtkWidget *widget, > GtkAllocation *allocation); > void (* state_changed) (GtkWidget *widget, > GtkStateType previous_state); > void (* parent_set) (GtkWidget *widget, > GtkWidget *previous_parent); > void (* hierarchy_changed) (GtkWidget *widget, > GtkWidget *previous_toplevel); > void (* style_set) (GtkWidget *widget, > GtkStyle *previous_style); > void (* direction_changed) (GtkWidget *widget, > GtkTextDirection previous_direction); > void (* grab_notify) (GtkWidget *widget, > gboolean was_grabbed); > void (* child_notify) (GtkWidget *widget, > GParamSpec *pspec); > > > gboolean (* mnemonic_activate) (GtkWidget *widget, > gboolean group_cycling); > > > void (* grab_focus) (GtkWidget *widget); > gboolean (* focus) (GtkWidget *widget, > GtkDirectionType direction); > > > gboolean (* event) (GtkWidget *widget, > GdkEvent *event); > gboolean (* button_press_event) (GtkWidget *widget, > GdkEventButton *event); > gboolean (* button_release_event) (GtkWidget *widget, > GdkEventButton *event); > gboolean (* scroll_event) (GtkWidget *widget, > GdkEventScroll *event); > gboolean (* motion_notify_event) (GtkWidget *widget, > GdkEventMotion *event); > gboolean (* delete_event) (GtkWidget *widget, > GdkEventAny *event); > gboolean (* destroy_event) (GtkWidget *widget, > GdkEventAny *event); > gboolean (* expose_event) (GtkWidget *widget, > GdkEventExpose *event); > gboolean (* key_press_event) (GtkWidget *widget, > GdkEventKey *event); > gboolean (* key_release_event) (GtkWidget *widget, > GdkEventKey *event); > gboolean (* enter_notify_event) (GtkWidget *widget, > GdkEventCrossing *event); > gboolean (* leave_notify_event) (GtkWidget *widget, > GdkEventCrossing *event); > gboolean (* configure_event) (GtkWidget *widget, > GdkEventConfigure *event); > gboolean (* focus_in_event) (GtkWidget *widget, > GdkEventFocus *event); > gboolean (* focus_out_event) (GtkWidget *widget, > GdkEventFocus *event); > gboolean (* map_event) (GtkWidget *widget, > GdkEventAny *event); > gboolean (* unmap_event) (GtkWidget *widget, > GdkEventAny *event); > gboolean (* property_notify_event) (GtkWidget *widget, > GdkEventProperty *event); > gboolean (* selection_clear_event) (GtkWidget *widget, > GdkEventSelection *event); > gboolean (* selection_request_event) (GtkWidget *widget, > GdkEventSelection *event); > gboolean (* selection_notify_event) (GtkWidget *widget, > GdkEventSelection *event); > gboolean (* proximity_in_event) (GtkWidget *widget, > GdkEventProximity *event); > gboolean (* proximity_out_event) (GtkWidget *widget, > GdkEventProximity *event); > gboolean (* visibility_notify_event) (GtkWidget *widget, > GdkEventVisibility *event); > gboolean (* client_event) (GtkWidget *widget, > GdkEventClient *event); > gboolean (* no_expose_event) (GtkWidget *widget, > GdkEventAny *event); > gboolean (* window_state_event) (GtkWidget *widget, > GdkEventWindowState *event); > > > void (* selection_get) (GtkWidget *widget, > GtkSelectionData *selection_data, > guint info, > guint time_); > void (* selection_received) (GtkWidget *widget, > GtkSelectionData *selection_data, > guint time_); > > > void (* drag_begin) (GtkWidget *widget, > GdkDragContext *context); > void (* drag_end) (GtkWidget *widget, > GdkDragContext *context); > void (* drag_data_get) (GtkWidget *widget, > GdkDragContext *context, > GtkSelectionData *selection_data, > guint info, > guint time_); > void (* drag_data_delete) (GtkWidget *widget, > GdkDragContext *context); > > > void (* drag_leave) (GtkWidget *widget, > GdkDragContext *context, > guint time_); > gboolean (* drag_motion) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > guint time_); > gboolean (* drag_drop) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > guint time_); > void (* drag_data_received) (GtkWidget *widget, > GdkDragContext *context, > gint x, > gint y, > GtkSelectionData *selection_data, > guint info, > guint time_); > > > gboolean (* popup_menu) (GtkWidget *widget); > > > > > > > gboolean (* show_help) (GtkWidget *widget, > GtkWidgetHelpType help_type); > > > > AtkObject* (*get_accessible) (GtkWidget *widget); > > void (*screen_changed) (GtkWidget *widget, > GdkScreen *previous_screen); > gboolean (*can_activate_accel) (GtkWidget *widget, > guint signal_id); > > > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); > void (*_gtk_reserved5) (void); > void (*_gtk_reserved6) (void); > void (*_gtk_reserved7) (void); >}; > >struct _GtkWidgetAuxInfo >{ > gint x; > gint y; > gint width; > gint height; > guint x_set : 1; > guint y_set : 1; >}; > >struct _GtkWidgetShapeInfo >{ > gint16 offset_x; > gint16 offset_y; > GdkBitmap *shape_mask; >}; > >GType gtk_widget_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_widget_new (GType type, > const gchar *first_property_name, > ...); >GtkWidget* gtk_widget_ref (GtkWidget *widget); >void gtk_widget_unref (GtkWidget *widget); >void gtk_widget_destroy (GtkWidget *widget); >void gtk_widget_destroyed (GtkWidget *widget, > GtkWidget **widget_pointer); > >void gtk_widget_set (GtkWidget *widget, > const gchar *first_property_name, > ...); > >void gtk_widget_unparent (GtkWidget *widget); >void gtk_widget_show (GtkWidget *widget); >void gtk_widget_show_now (GtkWidget *widget); >void gtk_widget_hide (GtkWidget *widget); >void gtk_widget_show_all (GtkWidget *widget); >void gtk_widget_hide_all (GtkWidget *widget); >void gtk_widget_set_no_show_all (GtkWidget *widget, > gboolean no_show_all); >gboolean gtk_widget_get_no_show_all (GtkWidget *widget); >void gtk_widget_map (GtkWidget *widget); >void gtk_widget_unmap (GtkWidget *widget); >void gtk_widget_realize (GtkWidget *widget); >void gtk_widget_unrealize (GtkWidget *widget); > > >void gtk_widget_queue_draw (GtkWidget *widget); >void gtk_widget_queue_draw_area (GtkWidget *widget, > gint x, > gint y, > gint width, > gint height); > >void gtk_widget_queue_clear (GtkWidget *widget); >void gtk_widget_queue_clear_area (GtkWidget *widget, > gint x, > gint y, > gint width, > gint height); > > > >void gtk_widget_queue_resize (GtkWidget *widget); >void gtk_widget_queue_resize_no_redraw (GtkWidget *widget); > >void gtk_widget_draw (GtkWidget *widget, > GdkRectangle *area); > >void gtk_widget_size_request (GtkWidget *widget, > GtkRequisition *requisition); >void gtk_widget_size_allocate (GtkWidget *widget, > GtkAllocation *allocation); >void gtk_widget_get_child_requisition (GtkWidget *widget, > GtkRequisition *requisition); >void gtk_widget_add_accelerator (GtkWidget *widget, > const gchar *accel_signal, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods, > GtkAccelFlags accel_flags); >gboolean gtk_widget_remove_accelerator (GtkWidget *widget, > GtkAccelGroup *accel_group, > guint accel_key, > GdkModifierType accel_mods); >void gtk_widget_set_accel_path (GtkWidget *widget, > const gchar *accel_path, > GtkAccelGroup *accel_group); >const gchar* _gtk_widget_get_accel_path (GtkWidget *widget, > gboolean *locked); >GList* gtk_widget_list_accel_closures (GtkWidget *widget); >gboolean gtk_widget_can_activate_accel (GtkWidget *widget, > guint signal_id); >gboolean gtk_widget_mnemonic_activate (GtkWidget *widget, > gboolean group_cycling); >gboolean gtk_widget_event (GtkWidget *widget, > GdkEvent *event); >gint gtk_widget_send_expose (GtkWidget *widget, > GdkEvent *event); > >gboolean gtk_widget_activate (GtkWidget *widget); >gboolean gtk_widget_set_scroll_adjustments (GtkWidget *widget, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > >void gtk_widget_reparent (GtkWidget *widget, > GtkWidget *new_parent); >gboolean gtk_widget_intersect (GtkWidget *widget, > GdkRectangle *area, > GdkRectangle *intersection); >GdkRegion *gtk_widget_region_intersect (GtkWidget *widget, > GdkRegion *region); > >void gtk_widget_freeze_child_notify (GtkWidget *widget); >void gtk_widget_child_notify (GtkWidget *widget, > const gchar *child_property); >void gtk_widget_thaw_child_notify (GtkWidget *widget); > >gboolean gtk_widget_is_focus (GtkWidget *widget); >void gtk_widget_grab_focus (GtkWidget *widget); >void gtk_widget_grab_default (GtkWidget *widget); > >void gtk_widget_set_name (GtkWidget *widget, > const gchar *name); >const gchar* gtk_widget_get_name (GtkWidget *widget); >void gtk_widget_set_state (GtkWidget *widget, > GtkStateType state); >void gtk_widget_set_sensitive (GtkWidget *widget, > gboolean sensitive); >void gtk_widget_set_app_paintable (GtkWidget *widget, > gboolean app_paintable); >void gtk_widget_set_double_buffered (GtkWidget *widget, > gboolean double_buffered); >void gtk_widget_set_redraw_on_allocate (GtkWidget *widget, > gboolean redraw_on_allocate); >void gtk_widget_set_parent (GtkWidget *widget, > GtkWidget *parent); >void gtk_widget_set_parent_window (GtkWidget *widget, > GdkWindow *parent_window); >void gtk_widget_set_child_visible (GtkWidget *widget, > gboolean is_visible); >gboolean gtk_widget_get_child_visible (GtkWidget *widget); > >GtkWidget *gtk_widget_get_parent (GtkWidget *widget); >GdkWindow *gtk_widget_get_parent_window (GtkWidget *widget); > >gboolean gtk_widget_child_focus (GtkWidget *widget, > GtkDirectionType direction); > >void gtk_widget_set_size_request (GtkWidget *widget, > gint width, > gint height); >void gtk_widget_get_size_request (GtkWidget *widget, > gint *width, > gint *height); > >void gtk_widget_set_uposition (GtkWidget *widget, > gint x, > gint y); >void gtk_widget_set_usize (GtkWidget *widget, > gint width, > gint height); > > >void gtk_widget_set_events (GtkWidget *widget, > gint events); >void gtk_widget_add_events (GtkWidget *widget, > gint events); >void gtk_widget_set_extension_events (GtkWidget *widget, > GdkExtensionMode mode); > >GdkExtensionMode gtk_widget_get_extension_events (GtkWidget *widget); >GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget); >GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, > GType widget_type); >GdkColormap* gtk_widget_get_colormap (GtkWidget *widget); >GdkVisual* gtk_widget_get_visual (GtkWidget *widget); > >GdkScreen * gtk_widget_get_screen (GtkWidget *widget); >gboolean gtk_widget_has_screen (GtkWidget *widget); >GdkDisplay * gtk_widget_get_display (GtkWidget *widget); >GdkWindow * gtk_widget_get_root_window (GtkWidget *widget); >GtkSettings* gtk_widget_get_settings (GtkWidget *widget); >GtkClipboard *gtk_widget_get_clipboard (GtkWidget *widget, > GdkAtom selection); ># 611 "/usr/include/gtk-2.0/gtk/gtkwidget.h" >AtkObject* gtk_widget_get_accessible (GtkWidget *widget); > > > > > > > >void gtk_widget_set_colormap (GtkWidget *widget, > GdkColormap *colormap); > >gint gtk_widget_get_events (GtkWidget *widget); >void gtk_widget_get_pointer (GtkWidget *widget, > gint *x, > gint *y); > >gboolean gtk_widget_is_ancestor (GtkWidget *widget, > GtkWidget *ancestor); > >gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, > GtkWidget *dest_widget, > gint src_x, > gint src_y, > gint *dest_x, > gint *dest_y); > > > >gboolean gtk_widget_hide_on_delete (GtkWidget *widget); > > > >void gtk_widget_set_style (GtkWidget *widget, > GtkStyle *style); >void gtk_widget_ensure_style (GtkWidget *widget); >GtkStyle* gtk_widget_get_style (GtkWidget *widget); > >void gtk_widget_modify_style (GtkWidget *widget, > GtkRcStyle *style); >GtkRcStyle *gtk_widget_get_modifier_style (GtkWidget *widget); >void gtk_widget_modify_fg (GtkWidget *widget, > GtkStateType state, > const GdkColor *color); >void gtk_widget_modify_bg (GtkWidget *widget, > GtkStateType state, > const GdkColor *color); >void gtk_widget_modify_text (GtkWidget *widget, > GtkStateType state, > const GdkColor *color); >void gtk_widget_modify_base (GtkWidget *widget, > GtkStateType state, > const GdkColor *color); >void gtk_widget_modify_font (GtkWidget *widget, > PangoFontDescription *font_desc); > > > > > > >PangoContext *gtk_widget_create_pango_context (GtkWidget *widget); >PangoContext *gtk_widget_get_pango_context (GtkWidget *widget); >PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget, > const gchar *text); > >GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, > const gchar *stock_id, > GtkIconSize size, > const gchar *detail); > > > > >void gtk_widget_set_composite_name (GtkWidget *widget, > const gchar *name); >gchar* gtk_widget_get_composite_name (GtkWidget *widget); > > >void gtk_widget_reset_rc_styles (GtkWidget *widget); > > > > > >void gtk_widget_push_colormap (GdkColormap *cmap); >void gtk_widget_push_composite_child (void); >void gtk_widget_pop_composite_child (void); >void gtk_widget_pop_colormap (void); > > > >void gtk_widget_class_install_style_property (GtkWidgetClass *klass, > GParamSpec *pspec); >void gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, > GParamSpec *pspec, > GtkRcPropertyParser parser); >GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass, > const gchar *property_name); >GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass, > guint *n_properties); >void gtk_widget_style_get_property (GtkWidget *widget, > const gchar *property_name, > GValue *value); >void gtk_widget_style_get_valist (GtkWidget *widget, > const gchar *first_property_name, > va_list var_args); >void gtk_widget_style_get (GtkWidget *widget, > const gchar *first_property_name, > ...); > > > > >void gtk_widget_set_default_colormap (GdkColormap *colormap); >GtkStyle* gtk_widget_get_default_style (void); > >GdkColormap* gtk_widget_get_default_colormap (void); >GdkVisual* gtk_widget_get_default_visual (void); > > > > > >void gtk_widget_set_direction (GtkWidget *widget, > GtkTextDirection dir); >GtkTextDirection gtk_widget_get_direction (GtkWidget *widget); > >void gtk_widget_set_default_direction (GtkTextDirection dir); >GtkTextDirection gtk_widget_get_default_direction (void); > > > >void gtk_widget_shape_combine_mask (GtkWidget *widget, > GdkBitmap *shape_mask, > gint offset_x, > gint offset_y); > > >void gtk_widget_reset_shapes (GtkWidget *widget); > > > > >void gtk_widget_path (GtkWidget *widget, > guint *path_length, > gchar **path, > gchar **path_reversed); >void gtk_widget_class_path (GtkWidget *widget, > guint *path_length, > gchar **path, > gchar **path_reversed); > >GList* gtk_widget_list_mnemonic_labels (GtkWidget *widget); >void gtk_widget_add_mnemonic_label (GtkWidget *widget, > GtkWidget *label); >void gtk_widget_remove_mnemonic_label (GtkWidget *widget, > GtkWidget *label); > >GType gtk_requisition_get_type (void); >GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition); >void gtk_requisition_free (GtkRequisition *requisition); > > > > > > >GtkWidgetAuxInfo *_gtk_widget_get_aux_info (GtkWidget *widget, > gboolean create); >void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget, > GtkWidget *previous_toplevel); >void _gtk_widget_propagate_screen_changed (GtkWidget *widget, > GdkScreen *previous_screen); > >GdkColormap* _gtk_widget_peek_colormap (void); > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkmisc.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkmisc.h" >typedef struct _GtkMisc GtkMisc; >typedef struct _GtkMiscClass GtkMiscClass; > >struct _GtkMisc >{ > GtkWidget widget; > > gfloat xalign; > gfloat yalign; > > guint16 xpad; > guint16 ypad; >}; > >struct _GtkMiscClass >{ > GtkWidgetClass parent_class; >}; > > >GType gtk_misc_get_type (void) __attribute__((__const__)); >void gtk_misc_set_alignment (GtkMisc *misc, > gfloat xalign, > gfloat yalign); >void gtk_misc_get_alignment (GtkMisc *misc, > gfloat *xalign, > gfloat *yalign); >void gtk_misc_set_padding (GtkMisc *misc, > gint xpad, > gint ypad); >void gtk_misc_get_padding (GtkMisc *misc, > gint *xpad, > gint *ypad); > > > >} ># 32 "/usr/include/gtk-2.0/gtk/gtklabel.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkwindow.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkwindow.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkbin.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkbin.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkcontainer.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkcontainer.h" >extern "C" { ># 52 "/usr/include/gtk-2.0/gtk/gtkcontainer.h" >typedef struct _GtkContainer GtkContainer; >typedef struct _GtkContainerClass GtkContainerClass; > >struct _GtkContainer >{ > GtkWidget widget; > > GtkWidget *focus_child; > > guint border_width : 16; > guint need_resize : 1; > guint resize_mode : 2; > guint reallocate_redraws : 1; > guint has_focus_chain : 1; >}; > >struct _GtkContainerClass >{ > GtkWidgetClass parent_class; > > void (*add) (GtkContainer *container, > GtkWidget *widget); > void (*remove) (GtkContainer *container, > GtkWidget *widget); > void (*check_resize) (GtkContainer *container); > void (*forall) (GtkContainer *container, > gboolean include_internals, > GtkCallback callback, > gpointer callback_data); > void (*set_focus_child) (GtkContainer *container, > GtkWidget *widget); > GType (*child_type) (GtkContainer *container); > gchar* (*composite_name) (GtkContainer *container, > GtkWidget *child); > void (*set_child_property) (GtkContainer *container, > GtkWidget *child, > guint property_id, > const GValue *value, > GParamSpec *pspec); > void (*get_child_property) (GtkContainer *container, > GtkWidget *child, > guint property_id, > GValue *value, > GParamSpec *pspec); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > >GType gtk_container_get_type (void) __attribute__((__const__)); >void gtk_container_set_border_width (GtkContainer *container, > guint border_width); >guint gtk_container_get_border_width (GtkContainer *container); >void gtk_container_add (GtkContainer *container, > GtkWidget *widget); >void gtk_container_remove (GtkContainer *container, > GtkWidget *widget); > >void gtk_container_set_resize_mode (GtkContainer *container, > GtkResizeMode resize_mode); >GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container); > >void gtk_container_check_resize (GtkContainer *container); > >void gtk_container_foreach (GtkContainer *container, > GtkCallback callback, > gpointer callback_data); > >void gtk_container_foreach_full (GtkContainer *container, > GtkCallback callback, > GtkCallbackMarshal marshal, > gpointer callback_data, > GtkDestroyNotify notify); > >GList* gtk_container_get_children (GtkContainer *container); > > > > > >void gtk_container_propagate_expose (GtkContainer *container, > GtkWidget *child, > GdkEventExpose *event); > >void gtk_container_set_focus_chain (GtkContainer *container, > GList *focusable_widgets); >gboolean gtk_container_get_focus_chain (GtkContainer *container, > GList **focusable_widgets); >void gtk_container_unset_focus_chain (GtkContainer *container); > > > >void gtk_container_set_reallocate_redraws (GtkContainer *container, > gboolean needs_redraws); >void gtk_container_set_focus_child (GtkContainer *container, > GtkWidget *child); >void gtk_container_set_focus_vadjustment (GtkContainer *container, > GtkAdjustment *adjustment); >GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container); >void gtk_container_set_focus_hadjustment (GtkContainer *container, > GtkAdjustment *adjustment); >GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container); > >void gtk_container_resize_children (GtkContainer *container); > >GType gtk_container_child_type (GtkContainer *container); > > >void gtk_container_class_install_child_property (GtkContainerClass *cclass, > guint property_id, > GParamSpec *pspec); >GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass, > const gchar *property_name); >GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass, > guint *n_properties); >void gtk_container_add_with_properties (GtkContainer *container, > GtkWidget *widget, > const gchar *first_prop_name, > ...); >void gtk_container_child_set (GtkContainer *container, > GtkWidget *child, > const gchar *first_prop_name, > ...); >void gtk_container_child_get (GtkContainer *container, > GtkWidget *child, > const gchar *first_prop_name, > ...); >void gtk_container_child_set_valist (GtkContainer *container, > GtkWidget *child, > const gchar *first_property_name, > va_list var_args); >void gtk_container_child_get_valist (GtkContainer *container, > GtkWidget *child, > const gchar *first_property_name, > va_list var_args); >void gtk_container_child_set_property (GtkContainer *container, > GtkWidget *child, > const gchar *property_name, > const GValue *value); >void gtk_container_child_get_property (GtkContainer *container, > GtkWidget *child, > const gchar *property_name, > GValue *value); > > > > > >void gtk_container_forall (GtkContainer *container, > GtkCallback callback, > gpointer callback_data); > > >void _gtk_container_queue_resize (GtkContainer *container); >void _gtk_container_clear_resize_widgets (GtkContainer *container); >gchar* _gtk_container_child_composite_name (GtkContainer *container, > GtkWidget *child); >void _gtk_container_dequeue_resize_handler (GtkContainer *container); >GList *_gtk_container_focus_sort (GtkContainer *container, > GList *children, > GtkDirectionType direction, > GtkWidget *old_focus); > > > > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkbin.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkbin.h" >typedef struct _GtkBin GtkBin; >typedef struct _GtkBinClass GtkBinClass; > >struct _GtkBin >{ > GtkContainer container; > > GtkWidget *child; >}; > >struct _GtkBinClass >{ > GtkContainerClass parent_class; >}; > > >GType gtk_bin_get_type (void) __attribute__((__const__)); > >GtkWidget *gtk_bin_get_child (GtkBin *bin); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkwindow.h" 2 > > > > >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkwindow.h" >typedef struct _GtkWindow GtkWindow; >typedef struct _GtkWindowClass GtkWindowClass; >typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo; >typedef struct _GtkWindowGroup GtkWindowGroup; >typedef struct _GtkWindowGroupClass GtkWindowGroupClass; > >struct _GtkWindow >{ > GtkBin bin; > > gchar *title; > gchar *wmclass_name; > gchar *wmclass_class; > gchar *wm_role; > > GtkWidget *focus_widget; > GtkWidget *default_widget; > GtkWindow *transient_parent; > GtkWindowGeometryInfo *geometry_info; > GdkWindow *frame; > GtkWindowGroup *group; > > guint16 configure_request_count; > guint allow_shrink : 1; > guint allow_grow : 1; > guint configure_notify_received : 1; > > > > > > > guint need_default_position : 1; > guint need_default_size : 1; > guint position : 3; > guint type : 4; > guint has_user_ref_count : 1; > guint has_focus : 1; > > guint modal : 1; > guint destroy_with_parent : 1; > > guint has_frame : 1; > > > guint iconify_initially : 1; > guint stick_initially : 1; > guint maximize_initially : 1; > guint decorated : 1; > > guint type_hint : 3; > guint gravity : 5; > > guint is_active : 1; > guint has_toplevel_focus : 1; > > guint frame_left; > guint frame_top; > guint frame_right; > guint frame_bottom; > > guint keys_changed_handler; > > GdkModifierType mnemonic_modifier; > GdkScreen *screen; >}; > >struct _GtkWindowClass >{ > GtkBinClass parent_class; > > void (* set_focus) (GtkWindow *window, > GtkWidget *focus); > gboolean (* frame_event) (GtkWindow *window, > GdkEvent *event); > > > > void (* activate_focus) (GtkWindow *window); > void (* activate_default) (GtkWindow *window); > void (* move_focus) (GtkWindow *window, > GtkDirectionType direction); > > void (*keys_changed) (GtkWindow *window); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; ># 149 "/usr/include/gtk-2.0/gtk/gtkwindow.h" >struct _GtkWindowGroup >{ > GObject parent_instance; > > GSList *grabs; >}; > >struct _GtkWindowGroupClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_window_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_window_new (GtkWindowType type); >void gtk_window_set_title (GtkWindow *window, > const gchar *title); >const gchar *gtk_window_get_title (GtkWindow *window); >void gtk_window_set_wmclass (GtkWindow *window, > const gchar *wmclass_name, > const gchar *wmclass_class); >void gtk_window_set_role (GtkWindow *window, > const gchar *role); >const gchar *gtk_window_get_role (GtkWindow *window); >void gtk_window_add_accel_group (GtkWindow *window, > GtkAccelGroup *accel_group); >void gtk_window_remove_accel_group (GtkWindow *window, > GtkAccelGroup *accel_group); >void gtk_window_set_position (GtkWindow *window, > GtkWindowPosition position); >gboolean gtk_window_activate_focus (GtkWindow *window); >void gtk_window_set_focus (GtkWindow *window, > GtkWidget *focus); >GtkWidget *gtk_window_get_focus (GtkWindow *window); >void gtk_window_set_default (GtkWindow *window, > GtkWidget *default_widget); >gboolean gtk_window_activate_default (GtkWindow *window); > >void gtk_window_set_transient_for (GtkWindow *window, > GtkWindow *parent); >GtkWindow *gtk_window_get_transient_for (GtkWindow *window); >void gtk_window_set_type_hint (GtkWindow *window, > GdkWindowTypeHint hint); >GdkWindowTypeHint gtk_window_get_type_hint (GtkWindow *window); >void gtk_window_set_skip_taskbar_hint (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_skip_taskbar_hint (GtkWindow *window); >void gtk_window_set_skip_pager_hint (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_skip_pager_hint (GtkWindow *window); >void gtk_window_set_accept_focus (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_accept_focus (GtkWindow *window); >void gtk_window_set_destroy_with_parent (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_destroy_with_parent (GtkWindow *window); > >void gtk_window_set_resizable (GtkWindow *window, > gboolean resizable); >gboolean gtk_window_get_resizable (GtkWindow *window); > >void gtk_window_set_gravity (GtkWindow *window, > GdkGravity gravity); >GdkGravity gtk_window_get_gravity (GtkWindow *window); > > >void gtk_window_set_geometry_hints (GtkWindow *window, > GtkWidget *geometry_widget, > GdkGeometry *geometry, > GdkWindowHints geom_mask); > >void gtk_window_set_screen (GtkWindow *window, > GdkScreen *screen); >GdkScreen* gtk_window_get_screen (GtkWindow *window); > >gboolean gtk_window_is_active (GtkWindow *window); >gboolean gtk_window_has_toplevel_focus (GtkWindow *window); > > > > >void gtk_window_set_has_frame (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_has_frame (GtkWindow *window); >void gtk_window_set_frame_dimensions (GtkWindow *window, > gint left, > gint top, > gint right, > gint bottom); >void gtk_window_get_frame_dimensions (GtkWindow *window, > gint *left, > gint *top, > gint *right, > gint *bottom); >void gtk_window_set_decorated (GtkWindow *window, > gboolean setting); >gboolean gtk_window_get_decorated (GtkWindow *window); > >void gtk_window_set_icon_list (GtkWindow *window, > GList *list); >GList* gtk_window_get_icon_list (GtkWindow *window); >void gtk_window_set_icon (GtkWindow *window, > GdkPixbuf *icon); >gboolean gtk_window_set_icon_from_file (GtkWindow *window, > const gchar *filename, > GError **err); >GdkPixbuf* gtk_window_get_icon (GtkWindow *window); >void gtk_window_set_default_icon_list (GList *list); >GList* gtk_window_get_default_icon_list (void); >void gtk_window_set_default_icon (GdkPixbuf *icon); >gboolean gtk_window_set_default_icon_from_file (const gchar *filename, > GError **err); > >void gtk_window_set_auto_startup_notification (gboolean setting); > > >void gtk_window_set_modal (GtkWindow *window, > gboolean modal); >gboolean gtk_window_get_modal (GtkWindow *window); >GList* gtk_window_list_toplevels (void); > >void gtk_window_add_mnemonic (GtkWindow *window, > guint keyval, > GtkWidget *target); >void gtk_window_remove_mnemonic (GtkWindow *window, > guint keyval, > GtkWidget *target); >gboolean gtk_window_mnemonic_activate (GtkWindow *window, > guint keyval, > GdkModifierType modifier); >void gtk_window_set_mnemonic_modifier (GtkWindow *window, > GdkModifierType modifier); >GdkModifierType gtk_window_get_mnemonic_modifier (GtkWindow *window); > >gboolean gtk_window_activate_key (GtkWindow *window, > GdkEventKey *event); >gboolean gtk_window_propagate_key_event (GtkWindow *window, > GdkEventKey *event); > >void gtk_window_present (GtkWindow *window); >void gtk_window_iconify (GtkWindow *window); >void gtk_window_deiconify (GtkWindow *window); >void gtk_window_stick (GtkWindow *window); >void gtk_window_unstick (GtkWindow *window); >void gtk_window_maximize (GtkWindow *window); >void gtk_window_unmaximize (GtkWindow *window); >void gtk_window_fullscreen (GtkWindow *window); >void gtk_window_unfullscreen (GtkWindow *window); >void gtk_window_set_keep_above (GtkWindow *window, gboolean setting); >void gtk_window_set_keep_below (GtkWindow *window, gboolean setting); > >void gtk_window_begin_resize_drag (GtkWindow *window, > GdkWindowEdge edge, > gint button, > gint root_x, > gint root_y, > guint32 timestamp); >void gtk_window_begin_move_drag (GtkWindow *window, > gint button, > gint root_x, > gint root_y, > guint32 timestamp); > > >void gtk_window_set_policy (GtkWindow *window, > gint allow_shrink, > gint allow_grow, > gint auto_shrink); > > > > > > >void gtk_window_set_default_size (GtkWindow *window, > gint width, > gint height); >void gtk_window_get_default_size (GtkWindow *window, > gint *width, > gint *height); >void gtk_window_resize (GtkWindow *window, > gint width, > gint height); >void gtk_window_get_size (GtkWindow *window, > gint *width, > gint *height); >void gtk_window_move (GtkWindow *window, > gint x, > gint y); >void gtk_window_get_position (GtkWindow *window, > gint *root_x, > gint *root_y); >gboolean gtk_window_parse_geometry (GtkWindow *window, > const gchar *geometry); > > >void gtk_window_reshow_with_initial_size (GtkWindow *window); > > > >GType gtk_window_group_get_type (void) __attribute__((__const__)); > >GtkWindowGroup * gtk_window_group_new (void); >void gtk_window_group_add_window (GtkWindowGroup *window_group, > GtkWindow *window); >void gtk_window_group_remove_window (GtkWindowGroup *window_group, > GtkWindow *window); > > >void _gtk_window_internal_set_focus (GtkWindow *window, > GtkWidget *focus); >void gtk_window_remove_embedded_xid (GtkWindow *window, > guint xid); >void gtk_window_add_embedded_xid (GtkWindow *window, > guint xid); >void _gtk_window_reposition (GtkWindow *window, > gint x, > gint y); >void _gtk_window_constrain_size (GtkWindow *window, > gint width, > gint height, > gint *new_width, > gint *new_height); >GtkWindowGroup *_gtk_window_get_group (GtkWindow *window); > >void _gtk_window_set_has_toplevel_focus (GtkWindow *window, > gboolean has_toplevel_focus); >void _gtk_window_unset_focus_and_default (GtkWindow *window, > GtkWidget *widget); > >void _gtk_window_set_is_active (GtkWindow *window, > gboolean is_active); > >typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window, > guint keyval, > GdkModifierType modifiers, > gboolean is_mnemonic, > gpointer data); > >void _gtk_window_keys_foreach (GtkWindow *window, > GtkWindowKeysForeachFunc func, > gpointer func_data); > > >gboolean _gtk_window_query_nonaccels (GtkWindow *window, > guint accel_key, > GdkModifierType accel_mods); > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtklabel.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkmenu.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkmenu.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkmenushell.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkmenushell.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkmenushell.h" >typedef struct _GtkMenuShell GtkMenuShell; >typedef struct _GtkMenuShellClass GtkMenuShellClass; > >struct _GtkMenuShell >{ > GtkContainer container; > > GList *children; > GtkWidget *active_menu_item; > GtkWidget *parent_menu_shell; > > guint button; > guint32 activate_time; > > guint active : 1; > guint have_grab : 1; > guint have_xgrab : 1; > guint ignore_leave : 1; > guint menu_flag : 1; > guint ignore_enter : 1; >}; > >struct _GtkMenuShellClass >{ > GtkContainerClass parent_class; > > guint submenu_placement : 1; > > void (*deactivate) (GtkMenuShell *menu_shell); > void (*selection_done) (GtkMenuShell *menu_shell); > > void (*move_current) (GtkMenuShell *menu_shell, > GtkMenuDirectionType direction); > void (*activate_current) (GtkMenuShell *menu_shell, > gboolean force_hide); > void (*cancel) (GtkMenuShell *menu_shell); > void (*select_item) (GtkMenuShell *menu_shell, > GtkWidget *menu_item); > void (*insert) (GtkMenuShell *menu_shell, > GtkWidget *child, > gint position); > gint (*get_popup_delay) (GtkMenuShell *menu_shell); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > > >GType gtk_menu_shell_get_type (void) __attribute__((__const__)); >void gtk_menu_shell_append (GtkMenuShell *menu_shell, > GtkWidget *child); >void gtk_menu_shell_prepend (GtkMenuShell *menu_shell, > GtkWidget *child); >void gtk_menu_shell_insert (GtkMenuShell *menu_shell, > GtkWidget *child, > gint position); >void gtk_menu_shell_deactivate (GtkMenuShell *menu_shell); >void gtk_menu_shell_select_item (GtkMenuShell *menu_shell, > GtkWidget *menu_item); >void gtk_menu_shell_deselect (GtkMenuShell *menu_shell); >void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, > GtkWidget *menu_item, > gboolean force_deactivate); >void gtk_menu_shell_select_first (GtkMenuShell *menu_shell, > gboolean search_sensitive); >void _gtk_menu_shell_select_last (GtkMenuShell *menu_shell, > gboolean search_sensitive); >void _gtk_menu_shell_activate (GtkMenuShell *menu_shell); >gint _gtk_menu_shell_get_popup_delay (GtkMenuShell *menu_shell); >void gtk_menu_shell_cancel (GtkMenuShell *menu_shell); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkmenu.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkmenu.h" >typedef struct _GtkMenu GtkMenu; >typedef struct _GtkMenuClass GtkMenuClass; > >typedef void (*GtkMenuPositionFunc) (GtkMenu *menu, > gint *x, > gint *y, > gboolean *push_in, > gpointer user_data); >typedef void (*GtkMenuDetachFunc) (GtkWidget *attach_widget, > GtkMenu *menu); > >struct _GtkMenu >{ > GtkMenuShell menu_shell; > > GtkWidget *parent_menu_item; > GtkWidget *old_active_menu_item; > > GtkAccelGroup *accel_group; > gchar *accel_path; > GtkMenuPositionFunc position_func; > gpointer position_func_data; > > guint toggle_size; > > > > > GtkWidget *toplevel; > > GtkWidget *tearoff_window; > GtkWidget *tearoff_hbox; > GtkWidget *tearoff_scrollbar; > GtkAdjustment *tearoff_adjustment; > > GdkWindow *view_window; > GdkWindow *bin_window; > > gint scroll_offset; > gint saved_scroll_offset; > gint scroll_step; > guint timeout_id; > > > > > GdkRegion *navigation_region; > guint navigation_timeout; > > guint needs_destruction_ref_count : 1; > guint torn_off : 1; > > > > guint tearoff_active : 1; > > guint scroll_fast : 1; > > guint upper_arrow_visible : 1; > guint lower_arrow_visible : 1; > guint upper_arrow_prelight : 1; > guint lower_arrow_prelight : 1; >}; > >struct _GtkMenuClass >{ > GtkMenuShellClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_menu_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_menu_new (void); > > >void gtk_menu_popup (GtkMenu *menu, > GtkWidget *parent_menu_shell, > GtkWidget *parent_menu_item, > GtkMenuPositionFunc func, > gpointer data, > guint button, > guint32 activate_time); > > > > >void gtk_menu_reposition (GtkMenu *menu); > >void gtk_menu_popdown (GtkMenu *menu); > > > > >GtkWidget* gtk_menu_get_active (GtkMenu *menu); >void gtk_menu_set_active (GtkMenu *menu, > guint index_); > > > > >void gtk_menu_set_accel_group (GtkMenu *menu, > GtkAccelGroup *accel_group); >GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu *menu); >void gtk_menu_set_accel_path (GtkMenu *menu, > const gchar *accel_path); > > > > > >void gtk_menu_attach_to_widget (GtkMenu *menu, > GtkWidget *attach_widget, > GtkMenuDetachFunc detacher); >void gtk_menu_detach (GtkMenu *menu); > > > > > >GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu); > >void gtk_menu_set_tearoff_state (GtkMenu *menu, > gboolean torn_off); >gboolean gtk_menu_get_tearoff_state (GtkMenu *menu); > > > > >void gtk_menu_set_title (GtkMenu *menu, > const gchar *title); >const gchar *gtk_menu_get_title (GtkMenu *menu); > >void gtk_menu_reorder_child (GtkMenu *menu, > GtkWidget *child, > gint position); > >void gtk_menu_set_screen (GtkMenu *menu, > GdkScreen *screen); > >void gtk_menu_attach (GtkMenu *menu, > GtkWidget *child, > guint left_attach, > guint right_attach, > guint top_attach, > guint bottom_attach); > >void gtk_menu_set_monitor (GtkMenu *menu, > gint monitor_num); ># 209 "/usr/include/gtk-2.0/gtk/gtkmenu.h" >} ># 34 "/usr/include/gtk-2.0/gtk/gtklabel.h" 2 > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtklabel.h" >typedef struct _GtkLabel GtkLabel; >typedef struct _GtkLabelClass GtkLabelClass; > >typedef struct _GtkLabelSelectionInfo GtkLabelSelectionInfo; > >struct _GtkLabel >{ > GtkMisc misc; > > > gchar *label; > guint jtype : 2; > guint wrap : 1; > guint use_underline : 1; > guint use_markup : 1; > > guint mnemonic_keyval; > > gchar *text; > PangoAttrList *attrs; > PangoAttrList *effective_attrs; > > PangoLayout *layout; > > GtkWidget *mnemonic_widget; > GtkWindow *mnemonic_window; > > GtkLabelSelectionInfo *select_info; >}; > >struct _GtkLabelClass >{ > GtkMiscClass parent_class; > > void (* move_cursor) (GtkLabel *label, > GtkMovementStep step, > gint count, > gboolean extend_selection); > void (* copy_clipboard) (GtkLabel *label); > > > void (* populate_popup) (GtkLabel *label, > GtkMenu *menu); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_label_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_label_new (const char *str); >GtkWidget* gtk_label_new_with_mnemonic (const char *str); >void gtk_label_set_text (GtkLabel *label, > const char *str); >const gchar* gtk_label_get_text (GtkLabel *label); >void gtk_label_set_attributes (GtkLabel *label, > PangoAttrList *attrs); >PangoAttrList *gtk_label_get_attributes (GtkLabel *label); >void gtk_label_set_label (GtkLabel *label, > const gchar *str); >const gchar *gtk_label_get_label (GtkLabel *label); >void gtk_label_set_markup (GtkLabel *label, > const gchar *str); >void gtk_label_set_use_markup (GtkLabel *label, > gboolean setting); >gboolean gtk_label_get_use_markup (GtkLabel *label); >void gtk_label_set_use_underline (GtkLabel *label, > gboolean setting); >gboolean gtk_label_get_use_underline (GtkLabel *label); > >void gtk_label_set_markup_with_mnemonic (GtkLabel *label, > const gchar *str); >guint gtk_label_get_mnemonic_keyval (GtkLabel *label); >void gtk_label_set_mnemonic_widget (GtkLabel *label, > GtkWidget *widget); >GtkWidget *gtk_label_get_mnemonic_widget (GtkLabel *label); >void gtk_label_set_text_with_mnemonic (GtkLabel *label, > const gchar *str); >void gtk_label_set_justify (GtkLabel *label, > GtkJustification jtype); >GtkJustification gtk_label_get_justify (GtkLabel *label); >void gtk_label_set_pattern (GtkLabel *label, > const gchar *pattern); >void gtk_label_set_line_wrap (GtkLabel *label, > gboolean wrap); >gboolean gtk_label_get_line_wrap (GtkLabel *label); >void gtk_label_set_selectable (GtkLabel *label, > gboolean setting); >gboolean gtk_label_get_selectable (GtkLabel *label); >void gtk_label_select_region (GtkLabel *label, > gint start_offset, > gint end_offset); >gboolean gtk_label_get_selection_bounds (GtkLabel *label, > gint *start, > gint *end); > >PangoLayout *gtk_label_get_layout (GtkLabel *label); >void gtk_label_get_layout_offsets (GtkLabel *label, > gint *x, > gint *y); > > > > > >void gtk_label_get (GtkLabel *label, > char **str); > > > > > >guint gtk_label_parse_uline (GtkLabel *label, > const gchar *string); > > > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtkaccellabel.h" 2 > > > >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkaccellabel.h" >typedef struct _GtkAccelLabel GtkAccelLabel; >typedef struct _GtkAccelLabelClass GtkAccelLabelClass; > >struct _GtkAccelLabel >{ > GtkLabel label; > > guint gtk_reserved; > guint accel_padding; > GtkWidget *accel_widget; > GClosure *accel_closure; > GtkAccelGroup *accel_group; > gchar *accel_string; > guint16 accel_string_width; >}; > >struct _GtkAccelLabelClass >{ > GtkLabelClass parent_class; > > gchar *signal_quote1; > gchar *signal_quote2; > gchar *mod_name_shift; > gchar *mod_name_control; > gchar *mod_name_alt; > gchar *mod_separator; > gchar *accel_seperator; > guint latin1_to_char : 1; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > > > >GType gtk_accel_label_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_accel_label_new (const gchar *string); >GtkWidget* gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label); >guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label); >void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label, > GtkWidget *accel_widget); >void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label, > GClosure *accel_closure); >gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkaccelmap.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkaccelmap.h" >extern "C" { ># 35 "/usr/include/gtk-2.0/gtk/gtkaccelmap.h" >typedef struct _GtkAccelMap GtkAccelMap; >typedef struct _GtkAccelMapClass GtkAccelMapClass; > > >typedef void (*GtkAccelMapForeach) (gpointer data, > const gchar *accel_path, > guint accel_key, > GdkModifierType accel_mods, > gboolean changed); > > > >void gtk_accel_map_add_entry (const gchar *accel_path, > guint accel_key, > GdkModifierType accel_mods); >gboolean gtk_accel_map_lookup_entry (const gchar *accel_path, > GtkAccelKey *key); >gboolean gtk_accel_map_change_entry (const gchar *accel_path, > guint accel_key, > GdkModifierType accel_mods, > gboolean replace); >void gtk_accel_map_load (const gchar *file_name); >void gtk_accel_map_save (const gchar *file_name); >void gtk_accel_map_foreach (gpointer data, > GtkAccelMapForeach foreach_func); >void gtk_accel_map_load_fd (gint fd); >void gtk_accel_map_load_scanner (GScanner *scanner); >void gtk_accel_map_save_fd (gint fd); > >void gtk_accel_map_lock_path (const gchar *accel_path); >void gtk_accel_map_unlock_path (const gchar *accel_path); > > >void gtk_accel_map_add_filter (const gchar *filter_pattern); >void gtk_accel_map_foreach_unfiltered (gpointer data, > GtkAccelMapForeach foreach_func); > > >GType gtk_accel_map_get_type (void); >GtkAccelMap *gtk_accel_map_get (void); > > > >void _gtk_accel_map_init (void); > >void _gtk_accel_map_add_group (const gchar *accel_path, > GtkAccelGroup *accel_group); >void _gtk_accel_map_remove_group (const gchar *accel_path, > GtkAccelGroup *accel_group); >gboolean _gtk_accel_path_is_valid (const gchar *accel_path); > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkaccessible.h" 1 ># 23 "/usr/include/gtk-2.0/gtk/gtkaccessible.h" ># 1 "/usr/include/atk-1.0/atk/atk.h" 1 ># 24 "/usr/include/atk-1.0/atk/atk.h" ># 1 "/usr/include/atk-1.0/atk/atkaction.h" 1 ># 26 "/usr/include/atk-1.0/atk/atkaction.h" >extern "C" { ># 45 "/usr/include/atk-1.0/atk/atkaction.h" >typedef struct _AtkAction AtkAction; > >typedef struct _AtkActionIface AtkActionIface; > >struct _AtkActionIface >{ > GTypeInterface parent; > > gboolean (*do_action) (AtkAction *action, > gint i); > gint (*get_n_actions) (AtkAction *action); > const gchar* (*get_description) (AtkAction *action, > gint i); > const gchar* (*get_name) (AtkAction *action, > gint i); > const gchar* (*get_keybinding) (AtkAction *action, > gint i); > gboolean (*set_description) (AtkAction *action, > gint i, > const gchar *desc); > const gchar* (*get_localized_name)(AtkAction *action, > gint i); > AtkFunction pad2; >}; > >GType atk_action_get_type (void); ># 83 "/usr/include/atk-1.0/atk/atkaction.h" >gboolean atk_action_do_action (AtkAction *action, > gint i); >gint atk_action_get_n_actions (AtkAction *action); >const gchar* atk_action_get_description (AtkAction *action, > gint i); >const gchar* atk_action_get_name (AtkAction *action, > gint i); >const gchar* atk_action_get_keybinding (AtkAction *action, > gint i); >gboolean atk_action_set_description (AtkAction *action, > gint i, > const gchar *desc); > > > >const gchar* atk_action_get_localized_name (AtkAction *action, > gint i); ># 108 "/usr/include/atk-1.0/atk/atkaction.h" >} ># 25 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkcomponent.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkcomponent.h" ># 1 "/usr/include/atk-1.0/atk/atkutil.h" 1 ># 26 "/usr/include/atk-1.0/atk/atkutil.h" >extern "C" { ># 39 "/usr/include/atk-1.0/atk/atkutil.h" >typedef struct _AtkUtil AtkUtil; >typedef struct _AtkUtilClass AtkUtilClass; >typedef struct _AtkKeyEventStruct AtkKeyEventStruct; > > > > > > >typedef void (*AtkEventListener) (AtkObject*); >typedef void (*AtkEventListenerInit) (void); >typedef gint (*AtkKeySnoopFunc) (AtkKeyEventStruct *event, > gpointer func_data); > >struct _AtkKeyEventStruct { > gint type; > guint state; > guint keyval; > gint length; > gchar *string; > guint16 keycode; > guint32 timestamp; >}; ># 71 "/usr/include/atk-1.0/atk/atkutil.h" >typedef enum >{ > ATK_KEY_EVENT_PRESS, > ATK_KEY_EVENT_RELEASE, > ATK_KEY_EVENT_LAST_DEFINED >} AtkKeyEventType; > >struct _AtkUtil >{ > GObject parent; >}; > >struct _AtkUtilClass >{ > GObjectClass parent; > guint (* add_global_event_listener) (GSignalEmissionHook listener, > const gchar *event_type); > void (* remove_global_event_listener) (guint listener_id); > guint (* add_key_event_listener) (AtkKeySnoopFunc listener, > gpointer data); > void (* remove_key_event_listener) (guint listener_id); > AtkObject* (* get_root) (void); > const gchar* (* get_toolkit_name) (void); > const gchar* (* get_toolkit_version) (void); >}; >GType atk_util_get_type (void); ># 107 "/usr/include/atk-1.0/atk/atkutil.h" >typedef enum { > ATK_XY_SCREEN, > ATK_XY_WINDOW >}AtkCoordType; > > > > > >guint atk_add_focus_tracker (AtkEventListener focus_tracker); > > > > > >void atk_remove_focus_tracker (guint tracker_id); > > > > > > > >void atk_focus_tracker_init (AtkEventListenerInit add_function); > > > > > >void atk_focus_tracker_notify (AtkObject *object); > > > > > >guint atk_add_global_event_listener (GSignalEmissionHook listener, > const gchar *event_type); > > > > >void atk_remove_global_event_listener (guint listener_id); > > > > > >guint atk_add_key_event_listener (AtkKeySnoopFunc listener, gpointer data); > > > > >void atk_remove_key_event_listener (guint listener_id); > > > > >AtkObject* atk_get_root(void); > >AtkObject* atk_get_focus_object (void); > > > > >const gchar *atk_get_toolkit_name (void); > > > > >const gchar *atk_get_toolkit_version (void); > > >} ># 25 "/usr/include/atk-1.0/atk/atkcomponent.h" 2 > > >extern "C" { ># 44 "/usr/include/atk-1.0/atk/atkcomponent.h" >typedef struct _AtkComponent AtkComponent; > >typedef struct _AtkComponentIface AtkComponentIface; > >typedef void (*AtkFocusHandler) (AtkObject*, gboolean); > > >struct _AtkComponentIface >{ > GTypeInterface parent; > > guint (* add_focus_handler) (AtkComponent *component, > AtkFocusHandler handler); > > gboolean (* contains) (AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); > > AtkObject* (* ref_accessible_at_point) (AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); > void (* get_extents) (AtkComponent *component, > gint *x, > gint *y, > gint *width, > gint *height, > AtkCoordType coord_type); > void (* get_position) (AtkComponent *component, > gint *x, > gint *y, > AtkCoordType coord_type); > void (* get_size) (AtkComponent *component, > gint *width, > gint *height); > gboolean (* grab_focus) (AtkComponent *component); > void (* remove_focus_handler) (AtkComponent *component, > guint handler_id); > gboolean (* set_extents) (AtkComponent *component, > gint x, > gint y, > gint width, > gint height, > AtkCoordType coord_type); > gboolean (* set_position) (AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); > gboolean (* set_size) (AtkComponent *component, > gint width, > gint height); > > AtkLayer (* get_layer) (AtkComponent *component); > gint (* get_mdi_zorder) (AtkComponent *component); > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_component_get_type (void); > > > >guint atk_component_add_focus_handler (AtkComponent *component, > AtkFocusHandler handler); >gboolean atk_component_contains (AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); >AtkObject* atk_component_ref_accessible_at_point(AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); >void atk_component_get_extents (AtkComponent *component, > gint *x, > gint *y, > gint *width, > gint *height, > AtkCoordType coord_type); >void atk_component_get_position (AtkComponent *component, > gint *x, > gint *y, > AtkCoordType coord_type); >void atk_component_get_size (AtkComponent *component, > gint *width, > gint *height); >AtkLayer atk_component_get_layer (AtkComponent *component); >gint atk_component_get_mdi_zorder (AtkComponent *component); >gboolean atk_component_grab_focus (AtkComponent *component); >void atk_component_remove_focus_handler (AtkComponent *component, > guint handler_id); >gboolean atk_component_set_extents (AtkComponent *component, > gint x, > gint y, > gint width, > gint height, > AtkCoordType coord_type); >gboolean atk_component_set_position (AtkComponent *component, > gint x, > gint y, > AtkCoordType coord_type); >gboolean atk_component_set_size (AtkComponent *component, > gint width, > gint height); > > >} ># 26 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkdocument.h" 1 ># 27 "/usr/include/atk-1.0/atk/atkdocument.h" >extern "C" { ># 43 "/usr/include/atk-1.0/atk/atkdocument.h" >typedef struct _AtkDocument AtkDocument; > >typedef struct _AtkDocumentIface AtkDocumentIface; > >struct _AtkDocumentIface >{ > GTypeInterface parent; > const gchar* ( *get_document_type) (AtkDocument *document); > gpointer ( *get_document) (AtkDocument *document); > > AtkFunction pad1; > AtkFunction pad2; > AtkFunction pad3; > AtkFunction pad4; > AtkFunction pad5; > AtkFunction pad6; > AtkFunction pad7; > AtkFunction pad8; >}; > >GType atk_document_get_type (void); > >const gchar* atk_document_get_document_type (AtkDocument *document); >gpointer atk_document_get_document (AtkDocument *document); > > >} ># 27 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkeditabletext.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkeditabletext.h" ># 1 "/usr/include/atk-1.0/atk/atktext.h" 1 ># 29 "/usr/include/atk-1.0/atk/atktext.h" >extern "C" { ># 39 "/usr/include/atk-1.0/atk/atktext.h" >typedef GSList AtkAttributeSet; ># 51 "/usr/include/atk-1.0/atk/atktext.h" >typedef struct _AtkAttribute AtkAttribute; > >struct _AtkAttribute { > gchar* name; > gchar* value; >}; ># 92 "/usr/include/atk-1.0/atk/atktext.h" >typedef enum >{ > ATK_TEXT_ATTR_INVALID = 0, > ATK_TEXT_ATTR_LEFT_MARGIN, > ATK_TEXT_ATTR_RIGHT_MARGIN, > ATK_TEXT_ATTR_INDENT, > ATK_TEXT_ATTR_INVISIBLE, > ATK_TEXT_ATTR_EDITABLE, > ATK_TEXT_ATTR_PIXELS_ABOVE_LINES, > ATK_TEXT_ATTR_PIXELS_BELOW_LINES, > ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP, > ATK_TEXT_ATTR_BG_FULL_HEIGHT, > ATK_TEXT_ATTR_RISE, > ATK_TEXT_ATTR_UNDERLINE, > ATK_TEXT_ATTR_STRIKETHROUGH, > ATK_TEXT_ATTR_SIZE, > ATK_TEXT_ATTR_SCALE, > ATK_TEXT_ATTR_WEIGHT, > ATK_TEXT_ATTR_LANGUAGE, > ATK_TEXT_ATTR_FAMILY_NAME, > ATK_TEXT_ATTR_BG_COLOR, > ATK_TEXT_ATTR_FG_COLOR, > ATK_TEXT_ATTR_BG_STIPPLE, > ATK_TEXT_ATTR_FG_STIPPLE, > ATK_TEXT_ATTR_WRAP_MODE, > ATK_TEXT_ATTR_DIRECTION, > ATK_TEXT_ATTR_JUSTIFICATION, > ATK_TEXT_ATTR_STRETCH, > ATK_TEXT_ATTR_VARIANT, > ATK_TEXT_ATTR_STYLE, > ATK_TEXT_ATTR_LAST_DEFINED >} AtkTextAttribute; > >AtkTextAttribute atk_text_attribute_register (const gchar *name); ># 135 "/usr/include/atk-1.0/atk/atktext.h" >typedef struct _AtkText AtkText; > >typedef struct _AtkTextIface AtkTextIface; ># 151 "/usr/include/atk-1.0/atk/atktext.h" >typedef enum { > ATK_TEXT_BOUNDARY_CHAR, > ATK_TEXT_BOUNDARY_WORD_START, > ATK_TEXT_BOUNDARY_WORD_END, > ATK_TEXT_BOUNDARY_SENTENCE_START, > ATK_TEXT_BOUNDARY_SENTENCE_END, > ATK_TEXT_BOUNDARY_LINE_START, > ATK_TEXT_BOUNDARY_LINE_END >} AtkTextBoundary; ># 171 "/usr/include/atk-1.0/atk/atktext.h" >typedef struct _AtkTextRectangle AtkTextRectangle; > >struct _AtkTextRectangle { > gint x; > gint y; > gint width; > gint height; >}; ># 189 "/usr/include/atk-1.0/atk/atktext.h" >typedef struct _AtkTextRange AtkTextRange; > >struct _AtkTextRange { > AtkTextRectangle bounds; > gint start_offset; > gint end_offset; > gchar* content; >}; ># 207 "/usr/include/atk-1.0/atk/atktext.h" >typedef enum { > ATK_TEXT_CLIP_NONE, > ATK_TEXT_CLIP_MIN, > ATK_TEXT_CLIP_MAX, > ATK_TEXT_CLIP_BOTH >} AtkTextClipType; > >struct _AtkTextIface >{ > GTypeInterface parent; > > gchar* (* get_text) (AtkText *text, > gint start_offset, > gint end_offset); > gchar* (* get_text_after_offset) (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); > gchar* (* get_text_at_offset) (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); > gunichar (* get_character_at_offset) (AtkText *text, > gint offset); > gchar* (* get_text_before_offset) (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); > gint (* get_caret_offset) (AtkText *text); > AtkAttributeSet* (* get_run_attributes) (AtkText *text, > gint offset, > gint *start_offset, > gint *end_offset); > AtkAttributeSet* (* get_default_attributes) (AtkText *text); > void (* get_character_extents) (AtkText *text, > gint offset, > gint *x, > gint *y, > gint *width, > gint *height, > AtkCoordType coords); > gint (* get_character_count) (AtkText *text); > gint (* get_offset_at_point) (AtkText *text, > gint x, > gint y, > AtkCoordType coords); > gint (* get_n_selections) (AtkText *text); > gchar* (* get_selection) (AtkText *text, > gint selection_num, > gint *start_offset, > gint *end_offset); > gboolean (* add_selection) (AtkText *text, > gint start_offset, > gint end_offset); > gboolean (* remove_selection) (AtkText *text, > gint selection_num); > gboolean (* set_selection) (AtkText *text, > gint selection_num, > gint start_offset, > gint end_offset); > gboolean (* set_caret_offset) (AtkText *text, > gint offset); > > > > > void (* text_changed) (AtkText *text, > gint position, > gint length); > void (* text_caret_moved) (AtkText *text, > gint location); > void (* text_selection_changed) (AtkText *text); > > void (* text_attributes_changed) (AtkText *text); > > > void (* get_range_extents) (AtkText *text, > gint start_offset, > gint end_offset, > AtkCoordType coord_type, > AtkTextRectangle *rect); > > AtkTextRange** (* get_bounded_ranges) (AtkText *text, > AtkTextRectangle *rect, > AtkCoordType coord_type, > AtkTextClipType x_clip_type, > AtkTextClipType y_clip_type); > > > AtkFunction pad4; >}; > >GType atk_text_get_type (void); ># 312 "/usr/include/atk-1.0/atk/atktext.h" >gchar* atk_text_get_text (AtkText *text, > gint start_offset, > gint end_offset); >gunichar atk_text_get_character_at_offset (AtkText *text, > gint offset); >gchar* atk_text_get_text_after_offset (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); >gchar* atk_text_get_text_at_offset (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); >gchar* atk_text_get_text_before_offset (AtkText *text, > gint offset, > AtkTextBoundary boundary_type, > gint *start_offset, > gint *end_offset); >gint atk_text_get_caret_offset (AtkText *text); >void atk_text_get_character_extents (AtkText *text, > gint offset, > gint *x, > gint *y, > gint *width, > gint *height, > AtkCoordType coords); >AtkAttributeSet* atk_text_get_run_attributes (AtkText *text, > gint offset, > gint *start_offset, > gint *end_offset); >AtkAttributeSet* atk_text_get_default_attributes (AtkText *text); >gint atk_text_get_character_count (AtkText *text); >gint atk_text_get_offset_at_point (AtkText *text, > gint x, > gint y, > AtkCoordType coords); >gint atk_text_get_n_selections (AtkText *text); >gchar* atk_text_get_selection (AtkText *text, > gint selection_num, > gint *start_offset, > gint *end_offset); >gboolean atk_text_add_selection (AtkText *text, > gint start_offset, > gint end_offset); >gboolean atk_text_remove_selection (AtkText *text, > gint selection_num); >gboolean atk_text_set_selection (AtkText *text, > gint selection_num, > gint start_offset, > gint end_offset); >gboolean atk_text_set_caret_offset (AtkText *text, > gint offset); >void atk_text_get_range_extents (AtkText *text, > > gint start_offset, > gint end_offset, > AtkCoordType coord_type, > AtkTextRectangle *rect); >AtkTextRange** atk_text_get_bounded_ranges (AtkText *text, > AtkTextRectangle *rect, > AtkCoordType coord_type, > AtkTextClipType x_clip_type, > AtkTextClipType y_clip_type); >void atk_text_free_ranges (AtkTextRange **ranges); >void atk_attribute_set_free (AtkAttributeSet *attrib_set); >const gchar* atk_text_attribute_get_name (AtkTextAttribute attr); >AtkTextAttribute atk_text_attribute_for_name (const gchar *name); >const gchar* atk_text_attribute_get_value (AtkTextAttribute attr, > gint index_); > > >} ># 25 "/usr/include/atk-1.0/atk/atkeditabletext.h" 2 > > >extern "C" { ># 42 "/usr/include/atk-1.0/atk/atkeditabletext.h" >typedef struct _AtkEditableText AtkEditableText; > >typedef struct _AtkEditableTextIface AtkEditableTextIface; > >struct _AtkEditableTextIface >{ > GTypeInterface parent_interface; > > gboolean (* set_run_attributes) (AtkEditableText *text, > AtkAttributeSet *attrib_set, > gint start_offset, > gint end_offset); > void (* set_text_contents) (AtkEditableText *text, > const gchar *string); > void (* insert_text) (AtkEditableText *text, > const gchar *string, > gint length, > gint *position); > void (* copy_text) (AtkEditableText *text, > gint start_pos, > gint end_pos); > void (* cut_text) (AtkEditableText *text, > gint start_pos, > gint end_pos); > void (* delete_text) (AtkEditableText *text, > gint start_pos, > gint end_pos); > void (* paste_text) (AtkEditableText *text, > gint position); > > AtkFunction pad1; > AtkFunction pad2; >}; >GType atk_editable_text_get_type (void); > > >gboolean atk_editable_text_set_run_attributes (AtkEditableText *text, > AtkAttributeSet *attrib_set, > gint start_offset, > gint end_offset); >void atk_editable_text_set_text_contents (AtkEditableText *text, > const gchar *string); >void atk_editable_text_insert_text (AtkEditableText *text, > const gchar *string, > gint length, > gint *position); >void atk_editable_text_copy_text (AtkEditableText *text, > gint start_pos, > gint end_pos); >void atk_editable_text_cut_text (AtkEditableText *text, > gint start_pos, > gint end_pos); >void atk_editable_text_delete_text (AtkEditableText *text, > gint start_pos, > gint end_pos); >void atk_editable_text_paste_text (AtkEditableText *text, > gint position); > > >} ># 28 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkgobjectaccessible.h" 1 ># 23 "/usr/include/atk-1.0/atk/atkgobjectaccessible.h" ># 1 "/usr/include/atk-1.0/atk/atk.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkgobjectaccessible.h" 2 > > > >extern "C" { ># 41 "/usr/include/atk-1.0/atk/atkgobjectaccessible.h" >typedef struct _AtkGObjectAccessible AtkGObjectAccessible; >typedef struct _AtkGObjectAccessibleClass AtkGObjectAccessibleClass; > >struct _AtkGObjectAccessible >{ > AtkObject parent; >}; > >GType atk_gobject_accessible_get_type (void); > >struct _AtkGObjectAccessibleClass >{ > AtkObjectClass parent_class; > > AtkFunction pad1; > AtkFunction pad2; >}; > >AtkObject *atk_gobject_accessible_for_object (GObject *obj); >GObject *atk_gobject_accessible_get_object (AtkGObjectAccessible *obj); > > >} ># 29 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkhyperlink.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkhyperlink.h" >extern "C" { ># 41 "/usr/include/atk-1.0/atk/atkhyperlink.h" >typedef enum >{ > ATK_HYPERLINK_IS_INLINE = 1 << 0 >} AtkHyperlinkStateFlags; ># 53 "/usr/include/atk-1.0/atk/atkhyperlink.h" >typedef struct _AtkHyperlink AtkHyperlink; >typedef struct _AtkHyperlinkClass AtkHyperlinkClass; > >struct _AtkHyperlink >{ > GObject parent; >}; > >struct _AtkHyperlinkClass >{ > GObjectClass parent; > > gchar* (* get_uri) (AtkHyperlink *link_, > gint i); > AtkObject* (* get_object) (AtkHyperlink *link_, > gint i); > gint (* get_end_index) (AtkHyperlink *link_); > gint (* get_start_index) (AtkHyperlink *link_); > gboolean (* is_valid) (AtkHyperlink *link_); > gint (* get_n_anchors) (AtkHyperlink *link_); > guint (* link_state) (AtkHyperlink *link_); > gboolean (* is_selected_link) (AtkHyperlink *link_); > > > void ( *link_activated) (AtkHyperlink *link_); > AtkFunction pad1; >}; > >GType atk_hyperlink_get_type (void); > >gchar* atk_hyperlink_get_uri (AtkHyperlink *link_, > gint i); > >AtkObject* atk_hyperlink_get_object (AtkHyperlink *link_, > gint i); > >gint atk_hyperlink_get_end_index (AtkHyperlink *link_); > >gint atk_hyperlink_get_start_index (AtkHyperlink *link_); > >gboolean atk_hyperlink_is_valid (AtkHyperlink *link_); > >gboolean atk_hyperlink_is_inline (AtkHyperlink *link_); > >gint atk_hyperlink_get_n_anchors (AtkHyperlink *link_); >gboolean atk_hyperlink_is_selected_link (AtkHyperlink *link_); > > > >} ># 30 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkhypertext.h" 1 ># 27 "/usr/include/atk-1.0/atk/atkhypertext.h" >extern "C" { ># 42 "/usr/include/atk-1.0/atk/atkhypertext.h" >typedef struct _AtkHypertext AtkHypertext; > >typedef struct _AtkHypertextIface AtkHypertextIface; > >struct _AtkHypertextIface >{ > GTypeInterface parent; > > AtkHyperlink*(* get_link) (AtkHypertext *hypertext, > gint link_index); > gint (* get_n_links) (AtkHypertext *hypertext); > gint (* get_link_index) (AtkHypertext *hypertext, > gint char_index); > > > > > void (* link_selected) (AtkHypertext *hypertext, > gint link_index); > > AtkFunction pad1; > AtkFunction pad2; > AtkFunction pad3; >}; >GType atk_hypertext_get_type (void); > >AtkHyperlink* atk_hypertext_get_link (AtkHypertext *hypertext, > gint link_index); >gint atk_hypertext_get_n_links (AtkHypertext *hypertext); >gint atk_hypertext_get_link_index (AtkHypertext *hypertext, > gint char_index); > > > >} ># 31 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkimage.h" 1 ># 27 "/usr/include/atk-1.0/atk/atkimage.h" >extern "C" { ># 43 "/usr/include/atk-1.0/atk/atkimage.h" >typedef struct _AtkImage AtkImage; > >typedef struct _AtkImageIface AtkImageIface; > >struct _AtkImageIface >{ > GTypeInterface parent; > void ( *get_image_position) (AtkImage *image, > gint *x, > gint *y, > AtkCoordType coord_type); > const gchar* ( *get_image_description) (AtkImage *image); > void ( *get_image_size) (AtkImage *image, > gint *width, > gint *height); > gboolean ( *set_image_description) (AtkImage *image, > const gchar *description); > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_image_get_type (void); > >const gchar* atk_image_get_image_description (AtkImage *image); > >void atk_image_get_image_size (AtkImage *image, > gint *width, > gint *height); > >gboolean atk_image_set_image_description (AtkImage *image, > const gchar *description); >void atk_image_get_image_position (AtkImage *image, > gint *x, > gint *y, > AtkCoordType coord_type); > > >} ># 32 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atknoopobject.h" 1 ># 23 "/usr/include/atk-1.0/atk/atknoopobject.h" >extern "C" { ># 32 "/usr/include/atk-1.0/atk/atknoopobject.h" >typedef struct _AtkNoOpObject AtkNoOpObject; >typedef struct _AtkNoOpObjectClass AtkNoOpObjectClass; > >struct _AtkNoOpObject >{ > AtkObject parent; >}; > >GType atk_no_op_object_get_type (void); > >struct _AtkNoOpObjectClass >{ > AtkObjectClass parent_class; >}; > >AtkObject *atk_no_op_object_new (GObject *obj); > >} ># 33 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atknoopobjectfactory.h" 1 ># 23 "/usr/include/atk-1.0/atk/atknoopobjectfactory.h" ># 1 "/usr/include/atk-1.0/atk/atkobjectfactory.h" 1 ># 27 "/usr/include/atk-1.0/atk/atkobjectfactory.h" >extern "C" { ># 37 "/usr/include/atk-1.0/atk/atkobjectfactory.h" >typedef struct _AtkObjectFactory AtkObjectFactory; >typedef struct _AtkObjectFactoryClass AtkObjectFactoryClass; > >struct _AtkObjectFactory >{ > GObject parent; >}; > >struct _AtkObjectFactoryClass >{ > GObjectClass parent_class; > > AtkObject* (* create_accessible) (GObject *obj); > void (* invalidate) (AtkObjectFactory *factory); > GType (* get_accessible_type) (void); > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_object_factory_get_type(void); > >AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj); >void atk_object_factory_invalidate (AtkObjectFactory *factory); >GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory); > >} ># 24 "/usr/include/atk-1.0/atk/atknoopobjectfactory.h" 2 > > >extern "C" { ># 36 "/usr/include/atk-1.0/atk/atknoopobjectfactory.h" >typedef struct _AtkNoOpObjectFactory AtkNoOpObjectFactory; >typedef struct _AtkNoOpObjectFactoryClass AtkNoOpObjectFactoryClass; > >struct _AtkNoOpObjectFactory >{ > AtkObjectFactory parent; >}; > >struct _AtkNoOpObjectFactoryClass >{ > AtkObjectFactoryClass parent_class; >}; > >GType atk_no_op_object_factory_get_type(void); > >AtkObjectFactory *atk_no_op_object_factory_new(void); > > >} ># 34 "/usr/include/atk-1.0/atk/atk.h" 2 > ># 1 "/usr/include/atk-1.0/atk/atkregistry.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkregistry.h" >extern "C" { ># 37 "/usr/include/atk-1.0/atk/atkregistry.h" >struct _AtkRegistry >{ > GObject parent; > GHashTable *factory_type_registry; > GHashTable *factory_singleton_cache; >}; > >struct _AtkRegistryClass >{ > GObjectClass parent_class; >}; > >typedef struct _AtkRegistry AtkRegistry; >typedef struct _AtkRegistryClass AtkRegistryClass; > > >GType atk_registry_get_type (void); >void atk_registry_set_factory_type (AtkRegistry *registry, > GType type, > GType factory_type); >GType atk_registry_get_factory_type (AtkRegistry *registry, > GType type); >AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry, > GType type); > >AtkRegistry* atk_get_default_registry (void); > > >} ># 36 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkrelation.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkrelation.h" >extern "C" { ># 43 "/usr/include/atk-1.0/atk/atkrelation.h" >typedef struct _AtkRelation AtkRelation; >typedef struct _AtkRelationClass AtkRelationClass; > >struct _AtkRelation >{ > GObject parent; > > GPtrArray *target; > AtkRelationType relationship; >}; > >struct _AtkRelationClass >{ > GObjectClass parent; >}; > >GType atk_relation_get_type (void); > >AtkRelationType atk_relation_type_register (const gchar *name); >const gchar* atk_relation_type_get_name (AtkRelationType type); >AtkRelationType atk_relation_type_for_name (const gchar *name); > > > > > >AtkRelation* atk_relation_new (AtkObject **targets, > gint n_targets, > AtkRelationType relationship); > > > >AtkRelationType atk_relation_get_relation_type (AtkRelation *relation); > > > >GPtrArray* atk_relation_get_target (AtkRelation *relation); > > >} ># 37 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkrelationset.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkrelationset.h" >extern "C" { ># 38 "/usr/include/atk-1.0/atk/atkrelationset.h" >typedef struct _AtkRelationSetClass AtkRelationSetClass; > > >struct _AtkRelationSet >{ > GObject parent; > > GPtrArray *relations; >}; > >struct _AtkRelationSetClass >{ > GObjectClass parent; > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_relation_set_get_type (void); > >AtkRelationSet* atk_relation_set_new (void); >gboolean atk_relation_set_contains (AtkRelationSet *set, > AtkRelationType relationship); >void atk_relation_set_remove (AtkRelationSet *set, > AtkRelation *relation); >void atk_relation_set_add (AtkRelationSet *set, > AtkRelation *relation); >gint atk_relation_set_get_n_relations (AtkRelationSet *set); >AtkRelation* atk_relation_set_get_relation (AtkRelationSet *set, > gint i); >AtkRelation* atk_relation_set_get_relation_by_type (AtkRelationSet *set, > AtkRelationType relationship); > > >} ># 38 "/usr/include/atk-1.0/atk/atk.h" 2 > ># 1 "/usr/include/atk-1.0/atk/atkselection.h" 1 ># 26 "/usr/include/atk-1.0/atk/atkselection.h" >extern "C" { ># 43 "/usr/include/atk-1.0/atk/atkselection.h" >typedef struct _AtkSelection AtkSelection; > >typedef struct _AtkSelectionIface AtkSelectionIface; > >struct _AtkSelectionIface >{ > GTypeInterface parent; > > gboolean (* add_selection) (AtkSelection *selection, > gint i); > gboolean (* clear_selection) (AtkSelection *selection); > AtkObject* (* ref_selection) (AtkSelection *selection, > gint i); > gint (* get_selection_count) (AtkSelection *selection); > gboolean (* is_child_selected) (AtkSelection *selection, > gint i); > gboolean (* remove_selection) (AtkSelection *selection, > gint i); > gboolean (* select_all_selection) (AtkSelection *selection); > > > > void (*selection_changed) (AtkSelection *selection); > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_selection_get_type (void); > >gboolean atk_selection_add_selection (AtkSelection *selection, > gint i); > >gboolean atk_selection_clear_selection (AtkSelection *selection); > >AtkObject* atk_selection_ref_selection (AtkSelection *selection, > gint i); > >gint atk_selection_get_selection_count (AtkSelection *selection); > >gboolean atk_selection_is_child_selected (AtkSelection *selection, > gint i); > >gboolean atk_selection_remove_selection (AtkSelection *selection, > gint i); > >gboolean atk_selection_select_all_selection (AtkSelection *selection); > > >} ># 40 "/usr/include/atk-1.0/atk/atk.h" 2 > ># 1 "/usr/include/atk-1.0/atk/atkstateset.h" 1 ># 24 "/usr/include/atk-1.0/atk/atkstateset.h" >extern "C" { ># 38 "/usr/include/atk-1.0/atk/atkstateset.h" >typedef struct _AtkStateSetClass AtkStateSetClass; > > >struct _AtkStateSet >{ > GObject parent; > >}; > >struct _AtkStateSetClass >{ > GObjectClass parent; >}; > >GType atk_state_set_get_type (void); > >AtkStateSet* atk_state_set_new (void); >gboolean atk_state_set_is_empty (AtkStateSet *set); >gboolean atk_state_set_add_state (AtkStateSet *set, > AtkStateType type); >void atk_state_set_add_states (AtkStateSet *set, > AtkStateType *types, > gint n_types); >void atk_state_set_clear_states (AtkStateSet *set); >gboolean atk_state_set_contains_state (AtkStateSet *set, > AtkStateType type); >gboolean atk_state_set_contains_states (AtkStateSet *set, > AtkStateType *types, > gint n_types); >gboolean atk_state_set_remove_state (AtkStateSet *set, > AtkStateType type); >AtkStateSet* atk_state_set_and_sets (AtkStateSet *set, > AtkStateSet *compare_set); >AtkStateSet* atk_state_set_or_sets (AtkStateSet *set, > AtkStateSet *compare_set); >AtkStateSet* atk_state_set_xor_sets (AtkStateSet *set, > AtkStateSet *compare_set); > > >} ># 42 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atkstreamablecontent.h" 1 ># 26 "/usr/include/atk-1.0/atk/atkstreamablecontent.h" >extern "C" { ># 36 "/usr/include/atk-1.0/atk/atkstreamablecontent.h" >typedef struct _AtkStreamableContent AtkStreamableContent; > >typedef struct _AtkStreamableContentIface AtkStreamableContentIface; > >struct _AtkStreamableContentIface >{ > GTypeInterface parent; > > > > > gint (* get_n_mime_types) (AtkStreamableContent *streamable); ># 58 "/usr/include/atk-1.0/atk/atkstreamablecontent.h" > const gchar* (* get_mime_type) (AtkStreamableContent *streamable, > gint i); > > > > > > > GIOChannel* (* get_stream) (AtkStreamableContent *streamable, > const gchar *mime_type); > > AtkFunction pad1; > AtkFunction pad2; > AtkFunction pad3; > AtkFunction pad4; >}; >GType atk_streamable_content_get_type (void); > >gint atk_streamable_content_get_n_mime_types (AtkStreamableContent *streamable); > >const gchar* atk_streamable_content_get_mime_type (AtkStreamableContent *streamable, > gint i); >GIOChannel* atk_streamable_content_get_stream (AtkStreamableContent *streamable, > const gchar *mime_type); > > > >} ># 43 "/usr/include/atk-1.0/atk/atk.h" 2 ># 1 "/usr/include/atk-1.0/atk/atktable.h" 1 ># 26 "/usr/include/atk-1.0/atk/atktable.h" >extern "C" { ># 42 "/usr/include/atk-1.0/atk/atktable.h" >typedef struct _AtkTable AtkTable; > >typedef struct _AtkTableIface AtkTableIface; > >struct _AtkTableIface >{ > GTypeInterface parent; > > AtkObject* (* ref_at) (AtkTable *table, > gint row, > gint column); > gint (* get_index_at) (AtkTable *table, > gint row, > gint column); > gint (* get_column_at_index) (AtkTable *table, > gint index_); > gint (* get_row_at_index) (AtkTable *table, > gint index_); > gint (* get_n_columns) (AtkTable *table); > gint (* get_n_rows) (AtkTable *table); > gint (* get_column_extent_at) (AtkTable *table, > gint row, > gint column); > gint (* get_row_extent_at) (AtkTable *table, > gint row, > gint column); > AtkObject* > (* get_caption) (AtkTable *table); > const gchar* > (* get_column_description) (AtkTable *table, > gint column); > AtkObject* (* get_column_header) (AtkTable *table, > gint column); > const gchar* > (* get_row_description) (AtkTable *table, > gint row); > AtkObject* (* get_row_header) (AtkTable *table, > gint row); > AtkObject* (* get_summary) (AtkTable *table); > void (* set_caption) (AtkTable *table, > AtkObject *caption); > void (* set_column_description) (AtkTable *table, > gint column, > const gchar *description); > void (* set_column_header) (AtkTable *table, > gint column, > AtkObject *header); > void (* set_row_description) (AtkTable *table, > gint row, > const gchar *description); > void (* set_row_header) (AtkTable *table, > gint row, > AtkObject *header); > void (* set_summary) (AtkTable *table, > AtkObject *accessible); > gint (* get_selected_columns) (AtkTable *table, > gint **selected); > gint (* get_selected_rows) (AtkTable *table, > gint **selected); > gboolean (* is_column_selected) (AtkTable *table, > gint column); > gboolean (* is_row_selected) (AtkTable *table, > gint row); > gboolean (* is_selected) (AtkTable *table, > gint row, > gint column); > gboolean (* add_row_selection) (AtkTable *table, > gint row); > gboolean (* remove_row_selection) (AtkTable *table, > gint row); > gboolean (* add_column_selection) (AtkTable *table, > gint column); > gboolean (* remove_column_selection) (AtkTable *table, > gint column); > > > > > void (* row_inserted) (AtkTable *table, > gint row, > gint num_inserted); > void (* column_inserted) (AtkTable *table, > gint column, > gint num_inserted); > void (* row_deleted) (AtkTable *table, > gint row, > gint num_deleted); > void (* column_deleted) (AtkTable *table, > gint column, > gint num_deleted); > void (* row_reordered) (AtkTable *table); > void (* column_reordered) (AtkTable *table); > void (* model_changed) (AtkTable *table); > > AtkFunction pad1; > AtkFunction pad2; > AtkFunction pad3; > AtkFunction pad4; >}; > >GType atk_table_get_type (void); > >AtkObject* atk_table_ref_at (AtkTable *table, > gint row, > gint column); >gint atk_table_get_index_at (AtkTable *table, > gint row, > gint column); >gint atk_table_get_column_at_index (AtkTable *table, > gint index_); >gint atk_table_get_row_at_index (AtkTable *table, > gint index_); >gint atk_table_get_n_columns (AtkTable *table); >gint atk_table_get_n_rows (AtkTable *table); >gint atk_table_get_column_extent_at (AtkTable *table, > gint row, > gint column); >gint atk_table_get_row_extent_at (AtkTable *table, > gint row, > gint column); >AtkObject* > atk_table_get_caption (AtkTable *table); >const gchar* > atk_table_get_column_description (AtkTable *table, > gint column); >AtkObject* atk_table_get_column_header (AtkTable *table, > gint column); >const gchar* > atk_table_get_row_description (AtkTable *table, > gint row); >AtkObject* atk_table_get_row_header (AtkTable *table, > gint row); >AtkObject* atk_table_get_summary (AtkTable *table); >void atk_table_set_caption (AtkTable *table, > AtkObject *caption); >void atk_table_set_column_description > (AtkTable *table, > gint column, > const gchar *description); >void atk_table_set_column_header (AtkTable *table, > gint column, > AtkObject *header); >void atk_table_set_row_description (AtkTable *table, > gint row, > const gchar *description); >void atk_table_set_row_header (AtkTable *table, > gint row, > AtkObject *header); >void atk_table_set_summary (AtkTable *table, > AtkObject *accessible); >gint atk_table_get_selected_columns (AtkTable *table, > gint **selected); >gint atk_table_get_selected_rows (AtkTable *table, > gint **selected); >gboolean atk_table_is_column_selected (AtkTable *table, > gint column); >gboolean atk_table_is_row_selected (AtkTable *table, > gint row); >gboolean atk_table_is_selected (AtkTable *table, > gint row, > gint column); >gboolean atk_table_add_row_selection (AtkTable *table, > gint row); >gboolean atk_table_remove_row_selection (AtkTable *table, > gint row); >gboolean atk_table_add_column_selection (AtkTable *table, > gint column); >gboolean atk_table_remove_column_selection > (AtkTable *table, > gint column); > > >} ># 44 "/usr/include/atk-1.0/atk/atk.h" 2 > > ># 1 "/usr/include/atk-1.0/atk/atkvalue.h" 1 ># 26 "/usr/include/atk-1.0/atk/atkvalue.h" >extern "C" { ># 44 "/usr/include/atk-1.0/atk/atkvalue.h" >typedef struct _AtkValue AtkValue; > >typedef struct _AtkValueIface AtkValueIface; > >struct _AtkValueIface >{ > GTypeInterface parent; > > void (* get_current_value) (AtkValue *obj, > GValue *value); > void (* get_maximum_value) (AtkValue *obj, > GValue *value); > void (* get_minimum_value) (AtkValue *obj, > GValue *value); > gboolean (* set_current_value) (AtkValue *obj, > const GValue *value); > > AtkFunction pad1; > AtkFunction pad2; >}; > >GType atk_value_get_type (void); > >void atk_value_get_current_value (AtkValue *obj, > GValue *value); > > >void atk_value_get_maximum_value (AtkValue *obj, > GValue *value); > >void atk_value_get_minimum_value (AtkValue *obj, > GValue *value); > >gboolean atk_value_set_current_value (AtkValue *obj, > const GValue *value); ># 88 "/usr/include/atk-1.0/atk/atkvalue.h" >} ># 47 "/usr/include/atk-1.0/atk/atk.h" 2 ># 24 "/usr/include/gtk-2.0/gtk/gtkaccessible.h" 2 > > > >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtkaccessible.h" >typedef struct _GtkAccessible GtkAccessible; >typedef struct _GtkAccessibleClass GtkAccessibleClass; > > > > > >struct _GtkAccessible >{ > AtkObject parent; > > > > > > GtkWidget *widget; >}; > >struct _GtkAccessibleClass >{ > AtkObjectClass parent_class; > > void (*connect_widget_destroyed) (GtkAccessible *accessible); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_accessible_get_type (void); > >void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible); > > >} ># 36 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkaction.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkaction.h" >extern "C" { ># 45 "/usr/include/gtk-2.0/gtk/gtkaction.h" >typedef struct _GtkAction GtkAction; >typedef struct _GtkActionClass GtkActionClass; >typedef struct _GtkActionPrivate GtkActionPrivate; > >struct _GtkAction >{ > GObject object; > > > > GtkActionPrivate *private_data; >}; > >struct _GtkActionClass >{ > GObjectClass parent_class; > > > void (* activate) (GtkAction *action); > > GType menu_item_type; > GType toolbar_item_type; > > > GtkWidget *(* create_menu_item) (GtkAction *action); > GtkWidget *(* create_tool_item) (GtkAction *action); > void (* connect_proxy) (GtkAction *action, > GtkWidget *proxy); > void (* disconnect_proxy) (GtkAction *action, > GtkWidget *proxy); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_action_get_type (void); >GtkAction *gtk_action_new (const gchar *name, > const gchar *label, > const gchar *tooltip, > const gchar *stock_id); >const gchar* gtk_action_get_name (GtkAction *action); >gboolean gtk_action_is_sensitive (GtkAction *action); >gboolean gtk_action_get_sensitive (GtkAction *action); >gboolean gtk_action_is_visible (GtkAction *action); >gboolean gtk_action_get_visible (GtkAction *action); >void gtk_action_activate (GtkAction *action); >GtkWidget* gtk_action_create_icon (GtkAction *action, > GtkIconSize icon_size); >GtkWidget* gtk_action_create_menu_item (GtkAction *action); >GtkWidget* gtk_action_create_tool_item (GtkAction *action); >void gtk_action_connect_proxy (GtkAction *action, > GtkWidget *proxy); >void gtk_action_disconnect_proxy (GtkAction *action, > GtkWidget *proxy); >GSList* gtk_action_get_proxies (GtkAction *action); >void gtk_action_connect_accelerator (GtkAction *action); >void gtk_action_disconnect_accelerator (GtkAction *action); > > >void gtk_action_block_activate_from (GtkAction *action, > GtkWidget *proxy); >void gtk_action_unblock_activate_from (GtkAction *action, > GtkWidget *proxy); >void _gtk_action_emit_activate (GtkAction *action); > > >void gtk_action_set_accel_path (GtkAction *action, > const gchar *accel_path); >void gtk_action_set_accel_group (GtkAction *action, > GtkAccelGroup *accel_group); > > >} ># 37 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkactiongroup.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkactiongroup.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkitemfactory.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkitemfactory.h" >extern "C" { > > >typedef gchar * (*GtkTranslateFunc) (const gchar *path, > gpointer func_data); > > > >typedef void (*GtkPrintFunc) (gpointer func_data, > const gchar *str); > > > > > >typedef void (*GtkItemFactoryCallback) (); >typedef void (*GtkItemFactoryCallback1) (gpointer callback_data, > guint callback_action, > GtkWidget *widget); ># 66 "/usr/include/gtk-2.0/gtk/gtkitemfactory.h" >typedef struct _GtkItemFactory GtkItemFactory; >typedef struct _GtkItemFactoryClass GtkItemFactoryClass; >typedef struct _GtkItemFactoryEntry GtkItemFactoryEntry; >typedef struct _GtkItemFactoryItem GtkItemFactoryItem; > >struct _GtkItemFactory >{ > GtkObject object; > > gchar *path; > GtkAccelGroup *accel_group; > GtkWidget *widget; > GSList *items; > > GtkTranslateFunc translate_func; > gpointer translate_data; > GtkDestroyNotify translate_notify; >}; > >struct _GtkItemFactoryClass >{ > GtkObjectClass object_class; > > GHashTable *item_ht; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >struct _GtkItemFactoryEntry >{ > gchar *path; > gchar *accelerator; > > GtkItemFactoryCallback callback; > guint callback_action; ># 122 "/usr/include/gtk-2.0/gtk/gtkitemfactory.h" > gchar *item_type; > > > > > > gconstpointer extra_data; >}; > >struct _GtkItemFactoryItem >{ > gchar *path; > GSList *widgets; >}; > > >GType gtk_item_factory_get_type (void) __attribute__((__const__)); > > > > >GtkItemFactory* gtk_item_factory_new (GType container_type, > const gchar *path, > GtkAccelGroup *accel_group); >void gtk_item_factory_construct (GtkItemFactory *ifactory, > GType container_type, > const gchar *path, > GtkAccelGroup *accel_group); > > > >void gtk_item_factory_add_foreign (GtkWidget *accel_widget, > const gchar *full_path, > GtkAccelGroup *accel_group, > guint keyval, > GdkModifierType modifiers); > >GtkItemFactory* gtk_item_factory_from_widget (GtkWidget *widget); >const gchar* gtk_item_factory_path_from_widget (GtkWidget *widget); > >GtkWidget* gtk_item_factory_get_item (GtkItemFactory *ifactory, > const gchar *path); >GtkWidget* gtk_item_factory_get_widget (GtkItemFactory *ifactory, > const gchar *path); >GtkWidget* gtk_item_factory_get_widget_by_action (GtkItemFactory *ifactory, > guint action); >GtkWidget* gtk_item_factory_get_item_by_action (GtkItemFactory *ifactory, > guint action); > >void gtk_item_factory_create_item (GtkItemFactory *ifactory, > GtkItemFactoryEntry *entry, > gpointer callback_data, > guint callback_type); >void gtk_item_factory_create_items (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries, > gpointer callback_data); >void gtk_item_factory_delete_item (GtkItemFactory *ifactory, > const gchar *path); >void gtk_item_factory_delete_entry (GtkItemFactory *ifactory, > GtkItemFactoryEntry *entry); >void gtk_item_factory_delete_entries (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries); >void gtk_item_factory_popup (GtkItemFactory *ifactory, > guint x, > guint y, > guint mouse_button, > guint32 time_); >void gtk_item_factory_popup_with_data(GtkItemFactory *ifactory, > gpointer popup_data, > GtkDestroyNotify destroy, > guint x, > guint y, > guint mouse_button, > guint32 time_); >gpointer gtk_item_factory_popup_data (GtkItemFactory *ifactory); >gpointer gtk_item_factory_popup_data_from_widget (GtkWidget *widget); >void gtk_item_factory_set_translate_func (GtkItemFactory *ifactory, > GtkTranslateFunc func, > gpointer data, > GtkDestroyNotify notify); > > > > > >typedef void (*GtkMenuCallback) (GtkWidget *widget, > gpointer user_data); >typedef struct { > gchar *path; > gchar *accelerator; > GtkMenuCallback callback; > gpointer callback_data; > GtkWidget *widget; >} GtkMenuEntry; > > >typedef void (*GtkItemFactoryCallback2) (GtkWidget *widget, > gpointer callback_data, > guint callback_action); > > >void gtk_item_factory_create_items_ac (GtkItemFactory *ifactory, > guint n_entries, > GtkItemFactoryEntry *entries, > gpointer callback_data, > guint callback_type); > >GtkItemFactory* gtk_item_factory_from_path (const gchar *path); >void gtk_item_factory_create_menu_entries (guint n_entries, > GtkMenuEntry *entries); >void gtk_item_factories_path_delete (const gchar *ifactory_path, > const gchar *path); > > > > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtkactiongroup.h" 2 > >extern "C" { ># 45 "/usr/include/gtk-2.0/gtk/gtkactiongroup.h" >typedef struct _GtkActionGroup GtkActionGroup; >typedef struct _GtkActionGroupPrivate GtkActionGroupPrivate; >typedef struct _GtkActionGroupClass GtkActionGroupClass; >typedef struct _GtkActionEntry GtkActionEntry; >typedef struct _GtkToggleActionEntry GtkToggleActionEntry; >typedef struct _GtkRadioActionEntry GtkRadioActionEntry; > >struct _GtkActionGroup >{ > GObject parent; > > > > GtkActionGroupPrivate *private_data; >}; > >struct _GtkActionGroupClass >{ > GObjectClass parent_class; > > GtkAction *(* get_action) (GtkActionGroup *action_group, > const gchar *action_name); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >struct _GtkActionEntry >{ > const gchar *name; > const gchar *stock_id; > const gchar *label; > const gchar *accelerator; > const gchar *tooltip; > GCallback callback; >}; > >struct _GtkToggleActionEntry >{ > const gchar *name; > const gchar *stock_id; > const gchar *label; > const gchar *accelerator; > const gchar *tooltip; > GCallback callback; > gboolean is_active; >}; > >struct _GtkRadioActionEntry >{ > const gchar *name; > const gchar *stock_id; > const gchar *label; > const gchar *accelerator; > const gchar *tooltip; > gint value; >}; > >GType gtk_action_group_get_type (void); >GtkActionGroup *gtk_action_group_new (const gchar *name); >const gchar *gtk_action_group_get_name (GtkActionGroup *action_group); >gboolean gtk_action_group_get_sensitive (GtkActionGroup *action_group); >void gtk_action_group_set_sensitive (GtkActionGroup *action_group, > gboolean sensitive); >gboolean gtk_action_group_get_visible (GtkActionGroup *action_group); >void gtk_action_group_set_visible (GtkActionGroup *action_group, > gboolean visible); >GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group, > const gchar *action_name); >GList *gtk_action_group_list_actions (GtkActionGroup *action_group); >void gtk_action_group_add_action (GtkActionGroup *action_group, > GtkAction *action); >void gtk_action_group_add_action_with_accel (GtkActionGroup *action_group, > GtkAction *action, > const gchar *accelerator); > >void gtk_action_group_remove_action (GtkActionGroup *action_group, > GtkAction *action); >void gtk_action_group_add_actions (GtkActionGroup *action_group, > GtkActionEntry *entries, > guint n_entries, > gpointer user_data); >void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group, > GtkToggleActionEntry *entries, > guint n_entries, > gpointer user_data); >void gtk_action_group_add_radio_actions (GtkActionGroup *action_group, > GtkRadioActionEntry *entries, > guint n_entries, > gint value, > GCallback on_change, > gpointer user_data); >void gtk_action_group_add_actions_full (GtkActionGroup *action_group, > GtkActionEntry *entries, > guint n_entries, > gpointer user_data, > GDestroyNotify destroy); >void gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_group, > GtkToggleActionEntry *entries, > guint n_entries, > gpointer user_data, > GDestroyNotify destroy); >void gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group, > GtkRadioActionEntry *entries, > guint n_entries, > gint value, > GCallback on_change, > gpointer user_data, > GDestroyNotify destroy); >void gtk_action_group_set_translate_func (GtkActionGroup *action_group, > GtkTranslateFunc func, > gpointer data, > GtkDestroyNotify notify); >void gtk_action_group_set_translation_domain (GtkActionGroup *action_group, > const gchar *domain); > > >void _gtk_action_group_emit_connect_proxy (GtkActionGroup *action_group, > GtkAction *action, > GtkWidget *proxy); >void _gtk_action_group_emit_disconnect_proxy (GtkActionGroup *action_group, > GtkAction *action, > GtkWidget *proxy); >void _gtk_action_group_emit_pre_activate (GtkActionGroup *action_group, > GtkAction *action); >void _gtk_action_group_emit_post_activate (GtkActionGroup *action_group, > GtkAction *action); > >} ># 38 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkalignment.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkalignment.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkalignment.h" >typedef struct _GtkAlignment GtkAlignment; >typedef struct _GtkAlignmentClass GtkAlignmentClass; >typedef struct _GtkAlignmentPrivate GtkAlignmentPrivate; > >struct _GtkAlignment >{ > GtkBin bin; > > gfloat xalign; > gfloat yalign; > gfloat xscale; > gfloat yscale; >}; > >struct _GtkAlignmentClass >{ > GtkBinClass parent_class; >}; > > >GType gtk_alignment_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_alignment_new (gfloat xalign, > gfloat yalign, > gfloat xscale, > gfloat yscale); >void gtk_alignment_set (GtkAlignment *alignment, > gfloat xalign, > gfloat yalign, > gfloat xscale, > gfloat yscale); > >void gtk_alignment_set_padding (GtkAlignment *alignment, > guint padding_top, > guint padding_bottom, > guint padding_left, > guint padding_right); > >void gtk_alignment_get_padding (GtkAlignment *alignment, > guint *padding_top, > guint *padding_bottom, > guint *padding_left, > guint *padding_right); > > >} ># 40 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkarrow.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkarrow.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkarrow.h" >typedef struct _GtkArrow GtkArrow; >typedef struct _GtkArrowClass GtkArrowClass; > >struct _GtkArrow >{ > GtkMisc misc; > > gint16 arrow_type; > gint16 shadow_type; >}; > >struct _GtkArrowClass >{ > GtkMiscClass parent_class; >}; > > >GType gtk_arrow_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, > GtkShadowType shadow_type); >void gtk_arrow_set (GtkArrow *arrow, > GtkArrowType arrow_type, > GtkShadowType shadow_type); > > > >} ># 41 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkaspectframe.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkaspectframe.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkframe.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkframe.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkframe.h" >typedef struct _GtkFrame GtkFrame; >typedef struct _GtkFrameClass GtkFrameClass; > >struct _GtkFrame >{ > GtkBin bin; > > GtkWidget *label_widget; > gint16 shadow_type; > gfloat label_xalign; > gfloat label_yalign; > > GtkAllocation child_allocation; >}; > >struct _GtkFrameClass >{ > GtkBinClass parent_class; > > void (*compute_child_allocation) (GtkFrame *frame, GtkAllocation *allocation); >}; > > >GType gtk_frame_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_frame_new (const gchar *label); > >void gtk_frame_set_label (GtkFrame *frame, > const gchar *label); >const gchar *gtk_frame_get_label (GtkFrame *frame); > >void gtk_frame_set_label_widget (GtkFrame *frame, > GtkWidget *label_widget); >GtkWidget *gtk_frame_get_label_widget (GtkFrame *frame); >void gtk_frame_set_label_align (GtkFrame *frame, > gfloat xalign, > gfloat yalign); >void gtk_frame_get_label_align (GtkFrame *frame, > gfloat *xalign, > gfloat *yalign); >void gtk_frame_set_shadow_type (GtkFrame *frame, > GtkShadowType type); >GtkShadowType gtk_frame_get_shadow_type (GtkFrame *frame); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkaspectframe.h" 2 > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkaspectframe.h" >typedef struct _GtkAspectFrame GtkAspectFrame; >typedef struct _GtkAspectFrameClass GtkAspectFrameClass; > >struct _GtkAspectFrame >{ > GtkFrame frame; > > gfloat xalign; > gfloat yalign; > gfloat ratio; > gboolean obey_child; > > GtkAllocation center_allocation; >}; > >struct _GtkAspectFrameClass >{ > GtkFrameClass parent_class; >}; > > >GType gtk_aspect_frame_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_aspect_frame_new (const gchar *label, > gfloat xalign, > gfloat yalign, > gfloat ratio, > gboolean obey_child); >void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame, > gfloat xalign, > gfloat yalign, > gfloat ratio, > gboolean obey_child); > > > >} ># 42 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkbbox.h" 1 ># 30 "/usr/include/gtk-2.0/gtk/gtkbbox.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkbox.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkbox.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkbox.h" >typedef struct _GtkBox GtkBox; >typedef struct _GtkBoxClass GtkBoxClass; >typedef struct _GtkBoxChild GtkBoxChild; > >struct _GtkBox >{ > GtkContainer container; > > > GList *children; > gint16 spacing; > guint homogeneous : 1; >}; > >struct _GtkBoxClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkBoxChild >{ > GtkWidget *widget; > guint16 padding; > guint expand : 1; > guint fill : 1; > guint pack : 1; > guint is_secondary : 1; >}; > > >GType gtk_box_get_type (void) __attribute__((__const__)); >void gtk_box_pack_start (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding); >void gtk_box_pack_end (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding); >void gtk_box_pack_start_defaults (GtkBox *box, > GtkWidget *widget); >void gtk_box_pack_end_defaults (GtkBox *box, > GtkWidget *widget); >void gtk_box_set_homogeneous (GtkBox *box, > gboolean homogeneous); >gboolean gtk_box_get_homogeneous (GtkBox *box); >void gtk_box_set_spacing (GtkBox *box, > gint spacing); >gint gtk_box_get_spacing (GtkBox *box); >void gtk_box_reorder_child (GtkBox *box, > GtkWidget *child, > gint position); >void gtk_box_query_child_packing (GtkBox *box, > GtkWidget *child, > gboolean *expand, > gboolean *fill, > guint *padding, > GtkPackType *pack_type); >void gtk_box_set_child_packing (GtkBox *box, > GtkWidget *child, > gboolean expand, > gboolean fill, > guint padding, > GtkPackType pack_type); > > > > >} ># 31 "/usr/include/gtk-2.0/gtk/gtkbbox.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkbbox.h" >typedef struct _GtkButtonBox GtkButtonBox; >typedef struct _GtkButtonBoxClass GtkButtonBoxClass; > >struct _GtkButtonBox >{ > GtkBox box; > gint child_min_width; > gint child_min_height; > gint child_ipad_x; > gint child_ipad_y; > GtkButtonBoxStyle layout_style; >}; > >struct _GtkButtonBoxClass >{ > GtkBoxClass parent_class; >}; > > >GType gtk_button_box_get_type (void) __attribute__((__const__)); > >GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget); >void gtk_button_box_set_layout (GtkButtonBox *widget, > GtkButtonBoxStyle layout_style); >gboolean gtk_button_box_get_child_secondary (GtkButtonBox *widget, > GtkWidget *child); >void gtk_button_box_set_child_secondary (GtkButtonBox *widget, > GtkWidget *child, > gboolean is_secondary); > > > > > >void gtk_button_box_set_child_size (GtkButtonBox *widget, > gint min_width, > gint min_height); >void gtk_button_box_set_child_ipadding (GtkButtonBox *widget, > gint ipad_x, > gint ipad_y); >void gtk_button_box_get_child_size (GtkButtonBox *widget, > gint *min_width, > gint *min_height); >void gtk_button_box_get_child_ipadding (GtkButtonBox *widget, > gint *ipad_x, > gint *ipad_y); > > > >void _gtk_button_box_child_requisition (GtkWidget *widget, > int *nvis_children, > int *nvis_secondaries, > int *width, > int *height); > >} ># 43 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkbindings.h" 1 ># 40 "/usr/include/gtk-2.0/gtk/gtkbindings.h" >extern "C" { > > > > > > >typedef struct _GtkBindingSet GtkBindingSet; >typedef struct _GtkBindingEntry GtkBindingEntry; >typedef struct _GtkBindingSignal GtkBindingSignal; >typedef struct _GtkBindingArg GtkBindingArg; > >struct _GtkBindingSet >{ > gchar *set_name; > gint priority; > GSList *widget_path_pspecs; > GSList *widget_class_pspecs; > GSList *class_branch_pspecs; > GtkBindingEntry *entries; > GtkBindingEntry *current; > guint parsed : 1; >}; > >struct _GtkBindingEntry >{ > > > guint keyval; > GdkModifierType modifiers; > > GtkBindingSet *binding_set; > guint destroyed : 1; > guint in_emission : 1; > GtkBindingEntry *set_next; > GtkBindingEntry *hash_next; > GtkBindingSignal *signals; >}; > >struct _GtkBindingSignal >{ > GtkBindingSignal *next; > gchar *signal_name; > guint n_args; > GtkBindingArg *args; >}; > >struct _GtkBindingArg >{ > GType arg_type; > union { > glong long_data; > gdouble double_data; > gchar *string_data; > } d; >}; > > > > >GtkBindingSet* gtk_binding_set_new (const gchar *set_name); >GtkBindingSet* gtk_binding_set_by_class(gpointer object_class); >GtkBindingSet* gtk_binding_set_find (const gchar *set_name); >gboolean gtk_bindings_activate (GtkObject *object, > guint keyval, > GdkModifierType modifiers); >gboolean gtk_bindings_activate_event (GtkObject *object, > GdkEventKey *event); >gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, > guint keyval, > GdkModifierType modifiers, > GtkObject *object); > >void gtk_binding_entry_clear (GtkBindingSet *binding_set, > guint keyval, > GdkModifierType modifiers); >void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, > guint keyval, > GdkModifierType modifiers, > const gchar *signal_name, > guint n_args, > ...); >void gtk_binding_set_add_path (GtkBindingSet *binding_set, > GtkPathType path_type, > const gchar *path_pattern, > GtkPathPriorityType priority); > > > > >void gtk_binding_entry_remove (GtkBindingSet *binding_set, > guint keyval, > GdkModifierType modifiers); >void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, > guint keyval, > GdkModifierType modifiers, > const gchar *signal_name, > GSList *binding_args); >guint gtk_binding_parse_binding (GScanner *scanner); > > >void _gtk_binding_reset_parsed (void); > > > > >guint _gtk_binding_signal_new (const gchar *signal_name, > GType itype, > GSignalFlags signal_flags, > GCallback handler, > GSignalAccumulator accumulator, > gpointer accu_data, > GSignalCMarshaller c_marshaller, > GType return_type, > guint n_params, > ...); > >} ># 45 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkbutton.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkbutton.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkbutton.h" >typedef struct _GtkButton GtkButton; >typedef struct _GtkButtonClass GtkButtonClass; > >struct _GtkButton >{ > GtkBin bin; > > GdkWindow *event_window; > > gchar *label_text; > > guint activate_timeout; > > guint constructed : 1; > guint in_button : 1; > guint button_down : 1; > guint relief : 2; > guint use_underline : 1; > guint use_stock : 1; > guint depressed : 1; > guint depress_on_activate : 1; > guint focus_on_click : 1; >}; > >struct _GtkButtonClass >{ > GtkBinClass parent_class; > > void (* pressed) (GtkButton *button); > void (* released) (GtkButton *button); > void (* clicked) (GtkButton *button); > void (* enter) (GtkButton *button); > void (* leave) (GtkButton *button); > void (* activate) (GtkButton *button); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_button_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_button_new (void); >GtkWidget* gtk_button_new_with_label (const gchar *label); >GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); >GtkWidget* gtk_button_new_with_mnemonic (const gchar *label); >void gtk_button_pressed (GtkButton *button); >void gtk_button_released (GtkButton *button); >void gtk_button_clicked (GtkButton *button); >void gtk_button_enter (GtkButton *button); >void gtk_button_leave (GtkButton *button); > >void gtk_button_set_relief (GtkButton *button, > GtkReliefStyle newstyle); >GtkReliefStyle gtk_button_get_relief (GtkButton *button); >void gtk_button_set_label (GtkButton *button, > const gchar *label); >const gchar *gtk_button_get_label (GtkButton *button); >void gtk_button_set_use_underline (GtkButton *button, > gboolean use_underline); >gboolean gtk_button_get_use_underline (GtkButton *button); >void gtk_button_set_use_stock (GtkButton *button, > gboolean use_stock); >gboolean gtk_button_get_use_stock (GtkButton *button); >void gtk_button_set_focus_on_click (GtkButton *button, > gboolean focus_on_click); >gboolean gtk_button_get_focus_on_click (GtkButton *button); >void gtk_button_set_alignment (GtkButton *button, > gfloat xalign, > gfloat yalign); >void gtk_button_get_alignment (GtkButton *button, > gfloat *xalign, > gfloat *yalign); > > >void _gtk_button_set_depressed (GtkButton *button, > gboolean depressed); >void _gtk_button_paint (GtkButton *button, > GdkRectangle *area, > GtkStateType state_type, > GtkShadowType shadow_type, > const gchar *main_detail, > const gchar *default_detail); > > >} ># 47 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcalendar.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkcalendar.h" ># 1 "/usr/include/gtk-2.0/gtk/gtksignal.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtksignal.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkmarshal.h" 1 > > > > > > > >extern "C" { > > >extern void gtk_marshal_BOOLEAN__VOID (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_BOOLEAN__POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_BOOLEAN__POINTER_POINTER_INT_INT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_BOOLEAN__POINTER_INT_INT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_BOOLEAN__POINTER_INT_INT_UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_BOOLEAN__POINTER_STRING_STRING_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_ENUM__ENUM (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void gtk_marshal_INT__POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >extern void gtk_marshal_INT__POINTER_CHAR_CHAR (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); ># 101 "/usr/include/gtk-2.0/gtk/gtkmarshal.h" >extern void gtk_marshal_VOID__ENUM_FLOAT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__ENUM_FLOAT_BOOLEAN (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > > > > > >extern void gtk_marshal_VOID__INT_INT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__INT_INT_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); ># 153 "/usr/include/gtk-2.0/gtk/gtkmarshal.h" >extern void gtk_marshal_VOID__POINTER_INT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_POINTER_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_STRING_STRING (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_UINT_ENUM (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_POINTER_UINT_UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_INT_INT_POINTER_UINT_UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__POINTER_UINT_UINT (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); ># 240 "/usr/include/gtk-2.0/gtk/gtkmarshal.h" >extern void gtk_marshal_VOID__STRING_INT_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > > > > > >extern void gtk_marshal_VOID__UINT_POINTER_UINT_ENUM_ENUM_POINTER (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__UINT_POINTER_UINT_UINT_ENUM (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > > >extern void gtk_marshal_VOID__UINT_STRING (GClosure *closure, > GValue *return_value, > guint n_param_values, > const GValue *param_values, > gpointer invocation_hint, > gpointer marshal_data); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtksignal.h" 2 > >extern "C" { ># 94 "/usr/include/gtk-2.0/gtk/gtksignal.h" >guint gtk_signal_newv (const gchar *name, > GtkSignalRunType signal_flags, > GtkType object_type, > guint function_offset, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint n_args, > GtkType *args); >guint gtk_signal_new (const gchar *name, > GtkSignalRunType signal_flags, > GtkType object_type, > guint function_offset, > GtkSignalMarshaller marshaller, > GtkType return_val, > guint n_args, > ...); >void gtk_signal_emit_stop_by_name (GtkObject *object, > const gchar *name); >void gtk_signal_connect_object_while_alive (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > GtkObject *alive_object); >void gtk_signal_connect_while_alive (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > gpointer func_data, > GtkObject *alive_object); >gulong gtk_signal_connect_full (GtkObject *object, > const gchar *name, > GtkSignalFunc func, > GtkCallbackMarshal unsupported, > gpointer data, > GtkDestroyNotify destroy_func, > gint object_signal, > gint after); >void gtk_signal_emitv (GtkObject *object, > guint signal_id, > GtkArg *args); >void gtk_signal_emit (GtkObject *object, > guint signal_id, > ...); >void gtk_signal_emit_by_name (GtkObject *object, > const gchar *name, > ...); >void gtk_signal_emitv_by_name (GtkObject *object, > const gchar *name, > GtkArg *args); >void gtk_signal_compat_matched (GtkObject *object, > GtkSignalFunc func, > gpointer data, > GSignalMatchType match, > guint action); > > > >} ># 37 "/usr/include/gtk-2.0/gtk/gtkcalendar.h" 2 > > > >extern "C" { ># 52 "/usr/include/gtk-2.0/gtk/gtkcalendar.h" >typedef struct _GtkCalendar GtkCalendar; >typedef struct _GtkCalendarClass GtkCalendarClass; > >typedef enum >{ > GTK_CALENDAR_SHOW_HEADING = 1 << 0, > GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1, > GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2, > GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3, > GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4 >} GtkCalendarDisplayOptions; > >struct _GtkCalendar >{ > GtkWidget widget; > > GtkStyle *header_style; > GtkStyle *label_style; > > gint month; > gint year; > gint selected_day; > > gint day_month[6][7]; > gint day[6][7]; > > gint num_marked_dates; > gint marked_date[31]; > GtkCalendarDisplayOptions display_flags; > GdkColor marked_date_color[31]; > > GdkGC *gc; > GdkGC *xor_gc; > > gint focus_row; > gint focus_col; > > gint highlight_row; > gint highlight_col; > > gpointer private_data; > gchar grow_space [32]; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >struct _GtkCalendarClass >{ > GtkWidgetClass parent_class; > > > void (* month_changed) (GtkCalendar *calendar); > void (* day_selected) (GtkCalendar *calendar); > void (* day_selected_double_click) (GtkCalendar *calendar); > void (* prev_month) (GtkCalendar *calendar); > void (* next_month) (GtkCalendar *calendar); > void (* prev_year) (GtkCalendar *calendar); > void (* next_year) (GtkCalendar *calendar); > >}; > > >GType gtk_calendar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_calendar_new (void); > >gboolean gtk_calendar_select_month (GtkCalendar *calendar, > guint month, > guint year); >void gtk_calendar_select_day (GtkCalendar *calendar, > guint day); > >gboolean gtk_calendar_mark_day (GtkCalendar *calendar, > guint day); >gboolean gtk_calendar_unmark_day (GtkCalendar *calendar, > guint day); >void gtk_calendar_clear_marks (GtkCalendar *calendar); > > >void gtk_calendar_set_display_options (GtkCalendar *calendar, > GtkCalendarDisplayOptions flags); >GtkCalendarDisplayOptions > gtk_calendar_get_display_options (GtkCalendar *calendar); > >void gtk_calendar_display_options (GtkCalendar *calendar, > GtkCalendarDisplayOptions flags); > > >void gtk_calendar_get_date (GtkCalendar *calendar, > guint *year, > guint *month, > guint *day); >void gtk_calendar_freeze (GtkCalendar *calendar); >void gtk_calendar_thaw (GtkCalendar *calendar); > > > > > >} ># 48 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcelllayout.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkcelllayout.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkcellrenderer.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkcellrenderer.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkcelleditable.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkcelleditable.h" >extern "C" { > > > > > > > >typedef struct _GtkCellEditable GtkCellEditable; >typedef struct _GtkCellEditableIface GtkCellEditableIface; > >struct _GtkCellEditableIface >{ > GTypeInterface g_iface; > > > void (* editing_done) (GtkCellEditable *cell_editable); > void (* remove_widget) (GtkCellEditable *cell_editable); > > > void (* start_editing) (GtkCellEditable *cell_editable, > GdkEvent *event); >}; > > >GType gtk_cell_editable_get_type (void) __attribute__((__const__)); > >void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable, > GdkEvent *event); >void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable); >void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable); > > >} ># 26 "/usr/include/gtk-2.0/gtk/gtkcellrenderer.h" 2 > >extern "C" { > >typedef enum >{ > GTK_CELL_RENDERER_SELECTED = 1 << 0, > GTK_CELL_RENDERER_PRELIT = 1 << 1, > GTK_CELL_RENDERER_INSENSITIVE = 1 << 2, > > GTK_CELL_RENDERER_SORTED = 1 << 3, > GTK_CELL_RENDERER_FOCUSED = 1 << 4 >} GtkCellRendererState; > >typedef enum >{ > GTK_CELL_RENDERER_MODE_INERT, > GTK_CELL_RENDERER_MODE_ACTIVATABLE, > GTK_CELL_RENDERER_MODE_EDITABLE >} GtkCellRendererMode; ># 53 "/usr/include/gtk-2.0/gtk/gtkcellrenderer.h" >typedef struct _GtkCellRenderer GtkCellRenderer; >typedef struct _GtkCellRendererClass GtkCellRendererClass; > >struct _GtkCellRenderer >{ > GtkObject parent; > > gfloat xalign; > gfloat yalign; > > gint width; > gint height; > > guint16 xpad; > guint16 ypad; > > guint mode : 2; > guint visible : 1; > guint is_expander : 1; > guint is_expanded : 1; > guint cell_background_set : 1; >}; > >struct _GtkCellRendererClass >{ > GtkObjectClass parent_class; > > > void (* get_size) (GtkCellRenderer *cell, > GtkWidget *widget, > GdkRectangle *cell_area, > gint *x_offset, > gint *y_offset, > gint *width, > gint *height); > void (* render) (GtkCellRenderer *cell, > GdkDrawable *window, > GtkWidget *widget, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GdkRectangle *expose_area, > GtkCellRendererState flags); > gboolean (* activate) (GtkCellRenderer *cell, > GdkEvent *event, > GtkWidget *widget, > const gchar *path, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GtkCellRendererState flags); > GtkCellEditable *(* start_editing) (GtkCellRenderer *cell, > GdkEvent *event, > GtkWidget *widget, > const gchar *path, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GtkCellRendererState flags); > > > void (* editing_canceled) (GtkCellRenderer *cell); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > >GType gtk_cell_renderer_get_type (void) __attribute__((__const__)); > >void gtk_cell_renderer_get_size (GtkCellRenderer *cell, > GtkWidget *widget, > GdkRectangle *cell_area, > gint *x_offset, > gint *y_offset, > gint *width, > gint *height); >void gtk_cell_renderer_render (GtkCellRenderer *cell, > GdkWindow *window, > GtkWidget *widget, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GdkRectangle *expose_area, > GtkCellRendererState flags); >gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, > GdkEvent *event, > GtkWidget *widget, > const gchar *path, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GtkCellRendererState flags); >GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, > GdkEvent *event, > GtkWidget *widget, > const gchar *path, > GdkRectangle *background_area, > GdkRectangle *cell_area, > GtkCellRendererState flags); >void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell, > gint width, > gint height); >void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell, > gint *width, > gint *height); > > >void gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell); > > >} ># 26 "/usr/include/gtk-2.0/gtk/gtkcelllayout.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktreemodel.h" 1 ># 28 "/usr/include/gtk-2.0/gtk/gtktreemodel.h" >extern "C" { ># 39 "/usr/include/gtk-2.0/gtk/gtktreemodel.h" >typedef struct _GtkTreeIter GtkTreeIter; >typedef struct _GtkTreePath GtkTreePath; >typedef struct _GtkTreeRowReference GtkTreeRowReference; >typedef struct _GtkTreeModel GtkTreeModel; >typedef struct _GtkTreeModelIface GtkTreeModelIface; >typedef gboolean (* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data); > > >typedef enum >{ > GTK_TREE_MODEL_ITERS_PERSIST = 1 << 0, > GTK_TREE_MODEL_LIST_ONLY = 1 << 1 >} GtkTreeModelFlags; > >struct _GtkTreeIter >{ > gint stamp; > gpointer user_data; > gpointer user_data2; > gpointer user_data3; >}; > >struct _GtkTreeModelIface >{ > GTypeInterface g_iface; > > > void (* row_changed) (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); > void (* row_inserted) (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); > void (* row_has_child_toggled) (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); > void (* row_deleted) (GtkTreeModel *tree_model, > GtkTreePath *path); > void (* rows_reordered) (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter, > gint *new_order); > > > GtkTreeModelFlags (* get_flags) (GtkTreeModel *tree_model); > > gint (* get_n_columns) (GtkTreeModel *tree_model); > GType (* get_column_type) (GtkTreeModel *tree_model, > gint index_); > gboolean (* get_iter) (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreePath *path); > GtkTreePath *(* get_path) (GtkTreeModel *tree_model, > GtkTreeIter *iter); > void (* get_value) (GtkTreeModel *tree_model, > GtkTreeIter *iter, > gint column, > GValue *value); > gboolean (* iter_next) (GtkTreeModel *tree_model, > GtkTreeIter *iter); > gboolean (* iter_children) (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *parent); > gboolean (* iter_has_child) (GtkTreeModel *tree_model, > GtkTreeIter *iter); > gint (* iter_n_children) (GtkTreeModel *tree_model, > GtkTreeIter *iter); > gboolean (* iter_nth_child) (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *parent, > gint n); > gboolean (* iter_parent) (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *child); > void (* ref_node) (GtkTreeModel *tree_model, > GtkTreeIter *iter); > void (* unref_node) (GtkTreeModel *tree_model, > GtkTreeIter *iter); >}; > > > >GtkTreePath *gtk_tree_path_new (void); >GtkTreePath *gtk_tree_path_new_from_string (const gchar *path); >GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, > ...); >gchar *gtk_tree_path_to_string (GtkTreePath *path); >GtkTreePath *gtk_tree_path_new_first (void); >void gtk_tree_path_append_index (GtkTreePath *path, > gint index_); >void gtk_tree_path_prepend_index (GtkTreePath *path, > gint index_); >gint gtk_tree_path_get_depth (GtkTreePath *path); >gint *gtk_tree_path_get_indices (GtkTreePath *path); >void gtk_tree_path_free (GtkTreePath *path); >GtkTreePath *gtk_tree_path_copy (const GtkTreePath *path); >GType gtk_tree_path_get_type (void); >gint gtk_tree_path_compare (const GtkTreePath *a, > const GtkTreePath *b); >void gtk_tree_path_next (GtkTreePath *path); >gboolean gtk_tree_path_prev (GtkTreePath *path); >gboolean gtk_tree_path_up (GtkTreePath *path); >void gtk_tree_path_down (GtkTreePath *path); > >gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, > GtkTreePath *descendant); >gboolean gtk_tree_path_is_descendant (GtkTreePath *path, > GtkTreePath *ancestor); ># 157 "/usr/include/gtk-2.0/gtk/gtktreemodel.h" >GType gtk_tree_row_reference_get_type (void); >GtkTreeRowReference *gtk_tree_row_reference_new (GtkTreeModel *model, > GtkTreePath *path); >GtkTreeRowReference *gtk_tree_row_reference_new_proxy (GObject *proxy, > GtkTreeModel *model, > GtkTreePath *path); >GtkTreePath *gtk_tree_row_reference_get_path (GtkTreeRowReference *reference); >gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference); >GtkTreeRowReference *gtk_tree_row_reference_copy (GtkTreeRowReference *reference); >void gtk_tree_row_reference_free (GtkTreeRowReference *reference); > > >void gtk_tree_row_reference_inserted (GObject *proxy, > GtkTreePath *path); >void gtk_tree_row_reference_deleted (GObject *proxy, > GtkTreePath *path); >void gtk_tree_row_reference_reordered (GObject *proxy, > GtkTreePath *path, > GtkTreeIter *iter, > gint *new_order); > > >GtkTreeIter * gtk_tree_iter_copy (GtkTreeIter *iter); >void gtk_tree_iter_free (GtkTreeIter *iter); >GType gtk_tree_iter_get_type (void); > >GType gtk_tree_model_get_type (void) __attribute__((__const__)); >GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model); >gint gtk_tree_model_get_n_columns (GtkTreeModel *tree_model); >GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, > gint index_); > > > >gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreePath *path); >gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, > GtkTreeIter *iter, > const gchar *path_string); >gchar * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model, > GtkTreeIter *iter); >gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, > GtkTreeIter *iter); >GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model, > GtkTreeIter *iter); >void gtk_tree_model_get_value (GtkTreeModel *tree_model, > GtkTreeIter *iter, > gint column, > GValue *value); >gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, > GtkTreeIter *iter); >gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *parent); >gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, > GtkTreeIter *iter); >gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, > GtkTreeIter *iter); >gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *parent, > gint n); >gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, > GtkTreeIter *iter, > GtkTreeIter *child); >void gtk_tree_model_ref_node (GtkTreeModel *tree_model, > GtkTreeIter *iter); >void gtk_tree_model_unref_node (GtkTreeModel *tree_model, > GtkTreeIter *iter); >void gtk_tree_model_get (GtkTreeModel *tree_model, > GtkTreeIter *iter, > ...); >void gtk_tree_model_get_valist (GtkTreeModel *tree_model, > GtkTreeIter *iter, > va_list var_args); > > >void gtk_tree_model_foreach (GtkTreeModel *model, > GtkTreeModelForeachFunc func, > gpointer user_data); > > > > > > > >void gtk_tree_model_row_changed (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); >void gtk_tree_model_row_inserted (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); >void gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter); >void gtk_tree_model_row_deleted (GtkTreeModel *tree_model, > GtkTreePath *path); >void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model, > GtkTreePath *path, > GtkTreeIter *iter, > gint *new_order); > > > > >} ># 26 "/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreesortable.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtktreesortable.h" >extern "C" { > > > > > > > >enum { > GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1 >}; > >typedef struct _GtkTreeSortable GtkTreeSortable; >typedef struct _GtkTreeSortableIface GtkTreeSortableIface; > >typedef gint (* GtkTreeIterCompareFunc) (GtkTreeModel *model, > GtkTreeIter *a, > GtkTreeIter *b, > gpointer user_data); > > >struct _GtkTreeSortableIface >{ > GTypeInterface g_iface; > > > void (* sort_column_changed) (GtkTreeSortable *sortable); > > > gboolean (* get_sort_column_id) (GtkTreeSortable *sortable, > gint *sort_column_id, > GtkSortType *order); > void (* set_sort_column_id) (GtkTreeSortable *sortable, > gint sort_column_id, > GtkSortType order); > void (* set_sort_func) (GtkTreeSortable *sortable, > gint sort_column_id, > GtkTreeIterCompareFunc func, > gpointer data, > GtkDestroyNotify destroy); > void (* set_default_sort_func) (GtkTreeSortable *sortable, > GtkTreeIterCompareFunc func, > gpointer data, > GtkDestroyNotify destroy); > gboolean (* has_default_sort_func) (GtkTreeSortable *sortable); >}; > > >GType gtk_tree_sortable_get_type (void) __attribute__((__const__)); > >void gtk_tree_sortable_sort_column_changed (GtkTreeSortable *sortable); >gboolean gtk_tree_sortable_get_sort_column_id (GtkTreeSortable *sortable, > gint *sort_column_id, > GtkSortType *order); >void gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable, > gint sort_column_id, > GtkSortType order); >void gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable, > gint sort_column_id, > GtkTreeIterCompareFunc sort_func, > gpointer user_data, > GtkDestroyNotify destroy); >void gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable, > GtkTreeIterCompareFunc sort_func, > gpointer user_data, > GtkDestroyNotify destroy); >gboolean gtk_tree_sortable_has_default_sort_func (GtkTreeSortable *sortable); > > >} ># 27 "/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h" 2 > > > > > >extern "C" { ># 42 "/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h" >typedef enum >{ > GTK_TREE_VIEW_COLUMN_GROW_ONLY, > GTK_TREE_VIEW_COLUMN_AUTOSIZE, > GTK_TREE_VIEW_COLUMN_FIXED >} GtkTreeViewColumnSizing; > >typedef struct _GtkTreeViewColumn GtkTreeViewColumn; >typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass; > >typedef void (* GtkTreeCellDataFunc) (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell, > GtkTreeModel *tree_model, > GtkTreeIter *iter, > gpointer data); > > >struct _GtkTreeViewColumn >{ > GtkObject parent; > > GtkWidget *tree_view; > GtkWidget *button; > GtkWidget *child; > GtkWidget *arrow; > GtkWidget *alignment; > GdkWindow *window; > GtkCellEditable *editable_widget; > gfloat xalign; > guint property_changed_signal; > gint spacing; > > > > GtkTreeViewColumnSizing column_type; > gint requested_width; > gint button_request; > gint resized_width; > gint width; > gint fixed_width; > gint min_width; > gint max_width; > > > gint drag_x; > gint drag_y; > > gchar *title; > GList *cell_list; > > > guint sort_clicked_signal; > guint sort_column_changed_signal; > gint sort_column_id; > GtkSortType sort_order; > > > guint visible : 1; > guint resizable : 1; > guint clickable : 1; > guint dirty : 1; > guint show_sort_indicator : 1; > guint maybe_reordered : 1; > guint reorderable : 1; > guint use_resized_width : 1; > guint expand : 1; >}; > >struct _GtkTreeViewColumnClass >{ > GtkObjectClass parent_class; > > void (*clicked) (GtkTreeViewColumn *tree_column); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_tree_view_column_get_type (void); >GtkTreeViewColumn *gtk_tree_view_column_new (void); >GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const gchar *title, > GtkCellRenderer *cell, > ...); >void gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell, > gboolean expand); >void gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell, > gboolean expand); >void gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column); >GList *gtk_tree_view_column_get_cell_renderers (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell_renderer, > const gchar *attribute, > gint column); >void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell_renderer, > ...); >void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell_renderer, > GtkTreeCellDataFunc func, > gpointer func_data, > GtkDestroyNotify destroy); >void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell_renderer); >void gtk_tree_view_column_set_spacing (GtkTreeViewColumn *tree_column, > gint spacing); >gint gtk_tree_view_column_get_spacing (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column, > gboolean visible); >gboolean gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column, > gboolean resizable); >gboolean gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, > GtkTreeViewColumnSizing type); >GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column); >gint gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column); >gint gtk_tree_view_column_get_fixed_width (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column, > gint fixed_width); >void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column, > gint min_width); >gint gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column, > gint max_width); >gint gtk_tree_view_column_get_max_width (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_clicked (GtkTreeViewColumn *tree_column); > > > > > >void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column, > const gchar *title); >const gchar *gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column, > gboolean expand); >gboolean gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column, > gboolean clickable); >gboolean gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column, > GtkWidget *widget); >GtkWidget *gtk_tree_view_column_get_widget (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_alignment (GtkTreeViewColumn *tree_column, > gfloat xalign); >gfloat gtk_tree_view_column_get_alignment (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column, > gboolean reorderable); >gboolean gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column); > > > > > > >void gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column, > gint sort_column_id); >gint gtk_tree_view_column_get_sort_column_id (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_sort_indicator (GtkTreeViewColumn *tree_column, > gboolean setting); >gboolean gtk_tree_view_column_get_sort_indicator (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_set_sort_order (GtkTreeViewColumn *tree_column, > GtkSortType order); >GtkSortType gtk_tree_view_column_get_sort_order (GtkTreeViewColumn *tree_column); > > > > >void gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, > GtkTreeModel *tree_model, > GtkTreeIter *iter, > gboolean is_expander, > gboolean is_expanded); >void gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column, > GdkRectangle *cell_area, > gint *x_offset, > gint *y_offset, > gint *width, > gint *height); >gboolean gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column); >void gtk_tree_view_column_focus_cell (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell); >gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column, > GtkCellRenderer *cell_renderer, > gint *start_pos, > gint *width); > > > >} ># 27 "/usr/include/gtk-2.0/gtk/gtkcelllayout.h" 2 > >extern "C" { > > > > > > >typedef struct _GtkCellLayout GtkCellLayout; >typedef struct _GtkCellLayoutIface GtkCellLayoutIface; > > >typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > GtkTreeModel *tree_model, > GtkTreeIter *iter, > gpointer data); > >struct _GtkCellLayoutIface >{ > GTypeInterface g_iface; > > > void (* pack_start) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gboolean expand); > void (* pack_end) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gboolean expand); > void (* clear) (GtkCellLayout *cell_layout); > void (* add_attribute) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > const gchar *attribute, > gint column); > void (* set_cell_data_func) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > GtkCellLayoutDataFunc func, > gpointer func_data, > GDestroyNotify destroy); > void (* clear_attributes) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell); > void (* reorder) (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gint position); >}; > >GType gtk_cell_layout_get_type (void); >void gtk_cell_layout_pack_start (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gboolean expand); >void gtk_cell_layout_pack_end (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gboolean expand); >void gtk_cell_layout_clear (GtkCellLayout *cell_layout); >void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > ...); >void gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > const gchar *attribute, > gint column); >void gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > GtkCellLayoutDataFunc func, > gpointer func_data, > GDestroyNotify destroy); >void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout, > GtkCellRenderer *cell); >void gtk_cell_layout_reorder (GtkCellLayout *cell_layout, > GtkCellRenderer *cell, > gint position); > > >} ># 49 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h" >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h" >typedef struct _GtkCellRendererPixbuf GtkCellRendererPixbuf; >typedef struct _GtkCellRendererPixbufClass GtkCellRendererPixbufClass; > >struct _GtkCellRendererPixbuf >{ > GtkCellRenderer parent; > > > GdkPixbuf *pixbuf; > GdkPixbuf *pixbuf_expander_open; > GdkPixbuf *pixbuf_expander_closed; >}; > >struct _GtkCellRendererPixbufClass >{ > GtkCellRendererClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_cell_renderer_pixbuf_get_type (void); >GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void); > > >} ># 51 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h" >typedef struct _GtkCellRendererText GtkCellRendererText; >typedef struct _GtkCellRendererTextClass GtkCellRendererTextClass; > >struct _GtkCellRendererText >{ > GtkCellRenderer parent; > > > gchar *text; > PangoFontDescription *font; > gdouble font_scale; > PangoColor foreground; > PangoColor background; > > PangoAttrList *extra_attrs; > > PangoUnderline underline_style; > > gint rise; > gint fixed_height_rows; > > guint strikethrough : 1; > > guint editable : 1; > > guint scale_set : 1; > > guint foreground_set : 1; > guint background_set : 1; > > guint underline_set : 1; > > guint rise_set : 1; > > guint strikethrough_set : 1; > > guint editable_set : 1; > guint calc_fixed_height : 1; >}; > >struct _GtkCellRendererTextClass >{ > GtkCellRendererClass parent_class; > > void (* edited) (GtkCellRendererText *cell_renderer_text, > const gchar *path, > const gchar *new_text); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_cell_renderer_text_get_type (void); >GtkCellRenderer *gtk_cell_renderer_text_new (void); > >void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer, > gint number_of_rows); > > > >} ># 52 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h" >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h" >typedef struct _GtkCellRendererToggle GtkCellRendererToggle; >typedef struct _GtkCellRendererToggleClass GtkCellRendererToggleClass; > >struct _GtkCellRendererToggle >{ > GtkCellRenderer parent; > > > guint active : 1; > guint activatable : 1; > guint radio : 1; >}; > >struct _GtkCellRendererToggleClass >{ > GtkCellRendererClass parent_class; > > void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle, > const gchar *path); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_cell_renderer_toggle_get_type (void); >GtkCellRenderer *gtk_cell_renderer_toggle_new (void); > >gboolean gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle); >void gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle, > gboolean radio); > >gboolean gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle); >void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle, > gboolean setting); > > >} ># 53 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcheckbutton.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkcheckbutton.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktogglebutton.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtktogglebutton.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtktogglebutton.h" >typedef struct _GtkToggleButton GtkToggleButton; >typedef struct _GtkToggleButtonClass GtkToggleButtonClass; > >struct _GtkToggleButton >{ > GtkButton button; > > guint active : 1; > guint draw_indicator : 1; > guint inconsistent : 1; >}; > >struct _GtkToggleButtonClass >{ > GtkButtonClass parent_class; > > void (* toggled) (GtkToggleButton *toggle_button); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_toggle_button_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_toggle_button_new (void); >GtkWidget* gtk_toggle_button_new_with_label (const gchar *label); >GtkWidget* gtk_toggle_button_new_with_mnemonic (const gchar *label); >void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, > gboolean draw_indicator); >gboolean gtk_toggle_button_get_mode (GtkToggleButton *toggle_button); >void gtk_toggle_button_set_active (GtkToggleButton *toggle_button, > gboolean is_active); >gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); >void gtk_toggle_button_toggled (GtkToggleButton *toggle_button); >void gtk_toggle_button_set_inconsistent (GtkToggleButton *toggle_button, > gboolean setting); >gboolean gtk_toggle_button_get_inconsistent (GtkToggleButton *toggle_button); > > > > > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkcheckbutton.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkcheckbutton.h" >typedef struct _GtkCheckButton GtkCheckButton; >typedef struct _GtkCheckButtonClass GtkCheckButtonClass; > >struct _GtkCheckButton >{ > GtkToggleButton toggle_button; >}; > >struct _GtkCheckButtonClass >{ > GtkToggleButtonClass parent_class; > > void (* draw_indicator) (GtkCheckButton *check_button, > GdkRectangle *area); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_check_button_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_check_button_new (void); >GtkWidget* gtk_check_button_new_with_label (const gchar *label); >GtkWidget* gtk_check_button_new_with_mnemonic (const gchar *label); > >void _gtk_check_button_get_props (GtkCheckButton *check_button, > gint *indicator_size, > gint *indicator_spacing); > > >} ># 54 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkmenuitem.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkmenuitem.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkitem.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkitem.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkitem.h" >typedef struct _GtkItem GtkItem; >typedef struct _GtkItemClass GtkItemClass; > >struct _GtkItem >{ > GtkBin bin; >}; > >struct _GtkItemClass >{ > GtkBinClass parent_class; > > void (* select) (GtkItem *item); > void (* deselect) (GtkItem *item); > void (* toggle) (GtkItem *item); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_item_get_type (void) __attribute__((__const__)); >void gtk_item_select (GtkItem *item); >void gtk_item_deselect (GtkItem *item); >void gtk_item_toggle (GtkItem *item); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkmenuitem.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkmenuitem.h" >typedef struct _GtkMenuItem GtkMenuItem; >typedef struct _GtkMenuItemClass GtkMenuItemClass; > >struct _GtkMenuItem >{ > GtkItem item; > > GtkWidget *submenu; > GdkWindow *event_window; > > guint16 toggle_size; > guint16 accelerator_width; > gchar *accel_path; > > guint show_submenu_indicator : 1; > guint submenu_placement : 1; > guint submenu_direction : 1; > guint right_justify: 1; > guint timer_from_keypress : 1; > guint timer; >}; > >struct _GtkMenuItemClass >{ > GtkItemClass parent_class; > > > > > > > > guint hide_on_activate : 1; > > void (* activate) (GtkMenuItem *menu_item); > void (* activate_item) (GtkMenuItem *menu_item); > void (* toggle_size_request) (GtkMenuItem *menu_item, > gint *requisition); > void (* toggle_size_allocate) (GtkMenuItem *menu_item, > gint allocation); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_menu_item_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_menu_item_new (void); >GtkWidget* gtk_menu_item_new_with_label (const gchar *label); >GtkWidget* gtk_menu_item_new_with_mnemonic (const gchar *label); >void gtk_menu_item_set_submenu (GtkMenuItem *menu_item, > GtkWidget *submenu); >GtkWidget* gtk_menu_item_get_submenu (GtkMenuItem *menu_item); >void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item); >void gtk_menu_item_select (GtkMenuItem *menu_item); >void gtk_menu_item_deselect (GtkMenuItem *menu_item); >void gtk_menu_item_activate (GtkMenuItem *menu_item); >void gtk_menu_item_toggle_size_request (GtkMenuItem *menu_item, > gint *requisition); >void gtk_menu_item_toggle_size_allocate (GtkMenuItem *menu_item, > gint allocation); >void gtk_menu_item_set_right_justified (GtkMenuItem *menu_item, > gboolean right_justified); >gboolean gtk_menu_item_get_right_justified (GtkMenuItem *menu_item); >void gtk_menu_item_set_accel_path (GtkMenuItem *menu_item, > const gchar *accel_path); > > >void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item, > const gchar *prefix, > GtkAccelGroup *accel_group, > gboolean group_changed); >gboolean _gtk_menu_item_is_selectable (GtkWidget *menu_item); > > > > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h" >typedef struct _GtkCheckMenuItem GtkCheckMenuItem; >typedef struct _GtkCheckMenuItemClass GtkCheckMenuItemClass; > >struct _GtkCheckMenuItem >{ > GtkMenuItem menu_item; > > guint active : 1; > guint always_show_toggle : 1; > guint inconsistent : 1; > guint draw_as_radio : 1; >}; > >struct _GtkCheckMenuItemClass >{ > GtkMenuItemClass parent_class; > > void (* toggled) (GtkCheckMenuItem *check_menu_item); > void (* draw_indicator) (GtkCheckMenuItem *check_menu_item, > GdkRectangle *area); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_check_menu_item_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_check_menu_item_new (void); >GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); >GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label); >void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, > gboolean is_active); >gboolean gtk_check_menu_item_get_active (GtkCheckMenuItem *check_menu_item); >void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); >void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item, > gboolean setting); >gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item); >void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item, > gboolean draw_as_radio); >gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item); > > > >void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item, > gboolean always); > > > > >} ># 55 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkclipboard.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkclipboard.h" >extern "C" { > > ># 1 "/usr/include/gtk-2.0/gtk/gtkselection.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkselection.h" >extern "C" { > > >typedef struct _GtkTargetList GtkTargetList; >typedef struct _GtkTargetEntry GtkTargetEntry; ># 55 "/usr/include/gtk-2.0/gtk/gtkselection.h" >struct _GtkSelectionData >{ > GdkAtom selection; > GdkAtom target; > GdkAtom type; > gint format; > guchar *data; > gint length; > GdkDisplay *display; >}; > >struct _GtkTargetEntry { > gchar *target; > guint flags; > guint info; >}; > > > > > >typedef struct _GtkTargetPair GtkTargetPair; > > >struct _GtkTargetList { > GList *list; > guint ref_count; >}; > >struct _GtkTargetPair { > GdkAtom target; > guint flags; > guint info; >}; > >GtkTargetList *gtk_target_list_new (const GtkTargetEntry *targets, > guint ntargets); >void gtk_target_list_ref (GtkTargetList *list); >void gtk_target_list_unref (GtkTargetList *list); >void gtk_target_list_add (GtkTargetList *list, > GdkAtom target, > guint flags, > guint info); >void gtk_target_list_add_table (GtkTargetList *list, > const GtkTargetEntry *targets, > guint ntargets); >void gtk_target_list_remove (GtkTargetList *list, > GdkAtom target); >gboolean gtk_target_list_find (GtkTargetList *list, > GdkAtom target, > guint *info); > > > >gboolean gtk_selection_owner_set (GtkWidget *widget, > GdkAtom selection, > guint32 time_); >gboolean gtk_selection_owner_set_for_display (GdkDisplay *display, > GtkWidget *widget, > GdkAtom selection, > guint32 time_); > >void gtk_selection_add_target (GtkWidget *widget, > GdkAtom selection, > GdkAtom target, > guint info); >void gtk_selection_add_targets (GtkWidget *widget, > GdkAtom selection, > const GtkTargetEntry *targets, > guint ntargets); >void gtk_selection_clear_targets (GtkWidget *widget, > GdkAtom selection); >gboolean gtk_selection_convert (GtkWidget *widget, > GdkAtom selection, > GdkAtom target, > guint32 time_); >void gtk_selection_data_set (GtkSelectionData *selection_data, > GdkAtom type, > gint format, > const guchar *data, > gint length); >gboolean gtk_selection_data_set_text (GtkSelectionData *selection_data, > const gchar *str, > gint len); >guchar * gtk_selection_data_get_text (GtkSelectionData *selection_data); > >gboolean gtk_selection_data_get_targets (GtkSelectionData *selection_data, > GdkAtom **targets, > gint *n_atoms); >gboolean gtk_selection_data_targets_include_text (GtkSelectionData *selection_data); > > > >void gtk_selection_remove_all (GtkWidget *widget); > > > >gboolean gtk_selection_clear (GtkWidget *widget, > GdkEventSelection *event); > >gboolean _gtk_selection_request (GtkWidget *widget, > GdkEventSelection *event); >gboolean _gtk_selection_incr_event (GdkWindow *window, > GdkEventProperty *event); >gboolean _gtk_selection_notify (GtkWidget *widget, > GdkEventSelection *event); >gboolean _gtk_selection_property_notify (GtkWidget *widget, > GdkEventProperty *event); > >GType gtk_selection_data_get_type (void); >GtkSelectionData *gtk_selection_data_copy (GtkSelectionData *data); >void gtk_selection_data_free (GtkSelectionData *data); > > > > >} ># 30 "/usr/include/gtk-2.0/gtk/gtkclipboard.h" 2 > > > > > >typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, > GtkSelectionData *selection_data, > gpointer data); >typedef void (* GtkClipboardTextReceivedFunc) (GtkClipboard *clipboard, > const gchar *text, > gpointer data); >typedef void (* GtkClipboardTargetsReceivedFunc) (GtkClipboard *clipboard, > GdkAtom *atoms, > gint n_atoms, > gpointer data); > > > > > >typedef void (* GtkClipboardGetFunc) (GtkClipboard *clipboard, > GtkSelectionData *selection_data, > guint info, > gpointer user_data_or_owner); >typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard, > gpointer user_data_or_owner); > >GType gtk_clipboard_get_type (void); > >GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display, > GdkAtom selection); > >GtkClipboard *gtk_clipboard_get (GdkAtom selection); > > >GdkDisplay *gtk_clipboard_get_display (GtkClipboard *clipboard); > > >gboolean gtk_clipboard_set_with_data (GtkClipboard *clipboard, > const GtkTargetEntry *targets, > guint n_targets, > GtkClipboardGetFunc get_func, > GtkClipboardClearFunc clear_func, > gpointer user_data); >gboolean gtk_clipboard_set_with_owner (GtkClipboard *clipboard, > const GtkTargetEntry *targets, > guint n_targets, > GtkClipboardGetFunc get_func, > GtkClipboardClearFunc clear_func, > GObject *owner); >GObject *gtk_clipboard_get_owner (GtkClipboard *clipboard); >void gtk_clipboard_clear (GtkClipboard *clipboard); >void gtk_clipboard_set_text (GtkClipboard *clipboard, > const gchar *text, > gint len); > >void gtk_clipboard_request_contents (GtkClipboard *clipboard, > GdkAtom target, > GtkClipboardReceivedFunc callback, > gpointer user_data); >void gtk_clipboard_request_text (GtkClipboard *clipboard, > GtkClipboardTextReceivedFunc callback, > gpointer user_data); >void gtk_clipboard_request_targets (GtkClipboard *clipboard, > GtkClipboardTargetsReceivedFunc callback, > gpointer user_data); > >GtkSelectionData *gtk_clipboard_wait_for_contents (GtkClipboard *clipboard, > GdkAtom target); >gchar * gtk_clipboard_wait_for_text (GtkClipboard *clipboard); > >gboolean gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard); > >gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard, > GdkAtom **targets, > gint *n_targets); > > >} ># 56 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkclist.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkclist.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkhscrollbar.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkhscrollbar.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkscrollbar.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkscrollbar.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkrange.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkrange.h" >extern "C" { ># 49 "/usr/include/gtk-2.0/gtk/gtkrange.h" >typedef struct _GtkRangeLayout GtkRangeLayout; >typedef struct _GtkRangeStepTimer GtkRangeStepTimer; > >typedef struct _GtkRange GtkRange; >typedef struct _GtkRangeClass GtkRangeClass; > >struct _GtkRange >{ > GtkWidget widget; > > GtkAdjustment *adjustment; > GtkUpdateType update_policy; > guint inverted : 1; > > > > guint flippable : 1; > > > > > > guint has_stepper_a : 1; > guint has_stepper_b : 1; > guint has_stepper_c : 1; > guint has_stepper_d : 1; > > guint need_recalc : 1; > > guint slider_size_fixed : 1; > > gint min_slider_size; > > GtkOrientation orientation; > > > GdkRectangle range_rect; > > gint slider_start, slider_end; > > > gint round_digits; > > > guint trough_click_forward : 1; > guint update_pending : 1; > GtkRangeLayout *layout; > GtkRangeStepTimer *timer; > gint slide_initial_slider_position; > gint slide_initial_coordinate; > guint update_timeout_id; > GdkWindow *event_window; >}; > >struct _GtkRangeClass >{ > GtkWidgetClass parent_class; > > > gchar *slider_detail; > gchar *stepper_detail; > > void (* value_changed) (GtkRange *range); > void (* adjust_bounds) (GtkRange *range, > gdouble new_value); > > > void (* move_slider) (GtkRange *range, > GtkScrollType scroll); > > > void (* get_range_border) (GtkRange *range, > GtkBorder *border_); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_range_get_type (void) __attribute__((__const__)); > >void gtk_range_set_update_policy (GtkRange *range, > GtkUpdateType policy); >GtkUpdateType gtk_range_get_update_policy (GtkRange *range); >void gtk_range_set_adjustment (GtkRange *range, > GtkAdjustment *adjustment); >GtkAdjustment* gtk_range_get_adjustment (GtkRange *range); >void gtk_range_set_inverted (GtkRange *range, > gboolean setting); >gboolean gtk_range_get_inverted (GtkRange *range); >void gtk_range_set_increments (GtkRange *range, > gdouble step, > gdouble page); >void gtk_range_set_range (GtkRange *range, > gdouble min, > gdouble max); >void gtk_range_set_value (GtkRange *range, > gdouble value); >gdouble gtk_range_get_value (GtkRange *range); > >gdouble _gtk_range_get_wheel_delta (GtkRange *range, > GdkScrollDirection direction); > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkscrollbar.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkscrollbar.h" >typedef struct _GtkScrollbar GtkScrollbar; >typedef struct _GtkScrollbarClass GtkScrollbarClass; > >struct _GtkScrollbar >{ > GtkRange range; >}; > >struct _GtkScrollbarClass >{ > GtkRangeClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_scrollbar_get_type (void) __attribute__((__const__)); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkhscrollbar.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkhscrollbar.h" >typedef struct _GtkHScrollbar GtkHScrollbar; >typedef struct _GtkHScrollbarClass GtkHScrollbarClass; > >struct _GtkHScrollbar >{ > GtkScrollbar scrollbar; >}; > >struct _GtkHScrollbarClass >{ > GtkScrollbarClass parent_class; >}; > > >GType gtk_hscrollbar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment); > > > >} ># 39 "/usr/include/gtk-2.0/gtk/gtkclist.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkvscrollbar.h" 1 ># 43 "/usr/include/gtk-2.0/gtk/gtkvscrollbar.h" >typedef struct _GtkVScrollbar GtkVScrollbar; >typedef struct _GtkVScrollbarClass GtkVScrollbarClass; > >struct _GtkVScrollbar >{ > GtkScrollbar scrollbar; >}; > >struct _GtkVScrollbarClass >{ > GtkScrollbarClass parent_class; >}; > > > >extern "C" { > > > >GType gtk_vscrollbar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment); > > > >} ># 40 "/usr/include/gtk-2.0/gtk/gtkclist.h" 2 > > > >extern "C" { > > > >enum { > GTK_CLIST_IN_DRAG = 1 << 0, > GTK_CLIST_ROW_HEIGHT_SET = 1 << 1, > GTK_CLIST_SHOW_TITLES = 1 << 2, > > GTK_CLIST_ADD_MODE = 1 << 4, > GTK_CLIST_AUTO_SORT = 1 << 5, > GTK_CLIST_AUTO_RESIZE_BLOCKED = 1 << 6, > GTK_CLIST_REORDERABLE = 1 << 7, > GTK_CLIST_USE_DRAG_ICONS = 1 << 8, > GTK_CLIST_DRAW_DRAG_LINE = 1 << 9, > GTK_CLIST_DRAW_DRAG_RECT = 1 << 10 >}; > > >typedef enum >{ > GTK_CELL_EMPTY, > GTK_CELL_TEXT, > GTK_CELL_PIXMAP, > GTK_CELL_PIXTEXT, > GTK_CELL_WIDGET >} GtkCellType; > >typedef enum >{ > GTK_CLIST_DRAG_NONE, > GTK_CLIST_DRAG_BEFORE, > GTK_CLIST_DRAG_INTO, > GTK_CLIST_DRAG_AFTER >} GtkCListDragPos; > >typedef enum >{ > GTK_BUTTON_IGNORED = 0, > GTK_BUTTON_SELECTS = 1 << 0, > GTK_BUTTON_DRAGS = 1 << 1, > GTK_BUTTON_EXPANDS = 1 << 2 >} GtkButtonAction; ># 118 "/usr/include/gtk-2.0/gtk/gtkclist.h" >typedef struct _GtkCList GtkCList; >typedef struct _GtkCListClass GtkCListClass; >typedef struct _GtkCListColumn GtkCListColumn; >typedef struct _GtkCListRow GtkCListRow; > >typedef struct _GtkCell GtkCell; >typedef struct _GtkCellText GtkCellText; >typedef struct _GtkCellPixmap GtkCellPixmap; >typedef struct _GtkCellPixText GtkCellPixText; >typedef struct _GtkCellWidget GtkCellWidget; > >typedef gint (*GtkCListCompareFunc) (GtkCList *clist, > gconstpointer ptr1, > gconstpointer ptr2); > >typedef struct _GtkCListCellInfo GtkCListCellInfo; >typedef struct _GtkCListDestInfo GtkCListDestInfo; > >struct _GtkCListCellInfo >{ > gint row; > gint column; >}; > >struct _GtkCListDestInfo >{ > GtkCListCellInfo cell; > GtkCListDragPos insert_pos; >}; > >struct _GtkCList >{ > GtkContainer container; > > guint16 flags; > > > GMemChunk *row_mem_chunk; > GMemChunk *cell_mem_chunk; > > guint freeze_count; > > > > GdkRectangle internal_allocation; > > > gint rows; > gint row_height; > GList *row_list; > GList *row_list_end; > > > gint columns; > GdkRectangle column_title_area; > GdkWindow *title_window; > > > GtkCListColumn *column; > > > > GdkWindow *clist_window; > gint clist_window_width; > gint clist_window_height; > > > gint hoffset; > gint voffset; > > > GtkShadowType shadow_type; > > > GtkSelectionMode selection_mode; > > > GList *selection; > GList *selection_end; > > GList *undo_selection; > GList *undo_unselection; > gint undo_anchor; > > > guint8 button_actions[5]; > > guint8 drag_button; > > > GtkCListCellInfo click_cell; > > > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; > > > GdkGC *xor_gc; > > > GdkGC *fg_gc; > GdkGC *bg_gc; > > > GdkCursor *cursor_drag; > > > gint x_drag; > > > gint focus_row; > > gint focus_header_column; > > > gint anchor; > GtkStateType anchor_state; > gint drag_pos; > gint htimer; > gint vtimer; > > GtkSortType sort_type; > GtkCListCompareFunc compare; > gint sort_column; > > gint drag_highlight_row; > GtkCListDragPos drag_highlight_pos; >}; > >struct _GtkCListClass >{ > GtkContainerClass parent_class; > > void (*set_scroll_adjustments) (GtkCList *clist, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > void (*refresh) (GtkCList *clist); > void (*select_row) (GtkCList *clist, > gint row, > gint column, > GdkEvent *event); > void (*unselect_row) (GtkCList *clist, > gint row, > gint column, > GdkEvent *event); > void (*row_move) (GtkCList *clist, > gint source_row, > gint dest_row); > void (*click_column) (GtkCList *clist, > gint column); > void (*resize_column) (GtkCList *clist, > gint column, > gint width); > void (*toggle_focus_row) (GtkCList *clist); > void (*select_all) (GtkCList *clist); > void (*unselect_all) (GtkCList *clist); > void (*undo_selection) (GtkCList *clist); > void (*start_selection) (GtkCList *clist); > void (*end_selection) (GtkCList *clist); > void (*extend_selection) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); > void (*scroll_horizontal) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position); > void (*scroll_vertical) (GtkCList *clist, > GtkScrollType scroll_type, > gfloat position); > void (*toggle_add_mode) (GtkCList *clist); > void (*abort_column_resize) (GtkCList *clist); > void (*resync_selection) (GtkCList *clist, > GdkEvent *event); > GList* (*selection_find) (GtkCList *clist, > gint row_number, > GList *row_list_element); > void (*draw_row) (GtkCList *clist, > GdkRectangle *area, > gint row, > GtkCListRow *clist_row); > void (*draw_drag_highlight) (GtkCList *clist, > GtkCListRow *target_row, > gint target_row_number, > GtkCListDragPos drag_pos); > void (*clear) (GtkCList *clist); > void (*fake_unselect_all) (GtkCList *clist, > gint row); > void (*sort_list) (GtkCList *clist); > gint (*insert_row) (GtkCList *clist, > gint row, > gchar *text[]); > void (*remove_row) (GtkCList *clist, > gint row); > void (*set_cell_contents) (GtkCList *clist, > GtkCListRow *clist_row, > gint column, > GtkCellType type, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); > void (*cell_size_request) (GtkCList *clist, > GtkCListRow *clist_row, > gint column, > GtkRequisition *requisition); > >}; > >struct _GtkCListColumn >{ > gchar *title; > GdkRectangle area; > > GtkWidget *button; > GdkWindow *window; > > gint width; > gint min_width; > gint max_width; > GtkJustification justification; > > guint visible : 1; > guint width_set : 1; > guint resizeable : 1; > guint auto_resize : 1; > guint button_passive : 1; >}; > >struct _GtkCListRow >{ > GtkCell *cell; > GtkStateType state; > > GdkColor foreground; > GdkColor background; > > GtkStyle *style; > > gpointer data; > GtkDestroyNotify destroy; > > guint fg_set : 1; > guint bg_set : 1; > guint selectable : 1; >}; > > >struct _GtkCellText >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > gchar *text; >}; > >struct _GtkCellPixmap >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > GdkPixmap *pixmap; > GdkBitmap *mask; >}; > >struct _GtkCellPixText >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > gchar *text; > guint8 spacing; > GdkPixmap *pixmap; > GdkBitmap *mask; >}; > >struct _GtkCellWidget >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > GtkWidget *widget; >}; > >struct _GtkCell >{ > GtkCellType type; > > gint16 vertical; > gint16 horizontal; > > GtkStyle *style; > > union { > gchar *text; > > struct { > GdkPixmap *pixmap; > GdkBitmap *mask; > } pm; > > struct { > gchar *text; > guint8 spacing; > GdkPixmap *pixmap; > GdkBitmap *mask; > } pt; > > GtkWidget *widget; > } u; >}; > >GtkType gtk_clist_get_type (void) __attribute__((__const__)); > > >GtkWidget* gtk_clist_new (gint columns); >GtkWidget* gtk_clist_new_with_titles (gint columns, > gchar *titles[]); > > >void gtk_clist_set_hadjustment (GtkCList *clist, > GtkAdjustment *adjustment); >void gtk_clist_set_vadjustment (GtkCList *clist, > GtkAdjustment *adjustment); > > >GtkAdjustment* gtk_clist_get_hadjustment (GtkCList *clist); >GtkAdjustment* gtk_clist_get_vadjustment (GtkCList *clist); > > >void gtk_clist_set_shadow_type (GtkCList *clist, > GtkShadowType type); > > >void gtk_clist_set_selection_mode (GtkCList *clist, > GtkSelectionMode mode); > > >void gtk_clist_set_reorderable (GtkCList *clist, > gboolean reorderable); >void gtk_clist_set_use_drag_icons (GtkCList *clist, > gboolean use_icons); >void gtk_clist_set_button_actions (GtkCList *clist, > guint button, > guint8 button_actions); > > > > > >void gtk_clist_freeze (GtkCList *clist); >void gtk_clist_thaw (GtkCList *clist); > > >void gtk_clist_column_titles_show (GtkCList *clist); >void gtk_clist_column_titles_hide (GtkCList *clist); > > > > > >void gtk_clist_column_title_active (GtkCList *clist, > gint column); >void gtk_clist_column_title_passive (GtkCList *clist, > gint column); >void gtk_clist_column_titles_active (GtkCList *clist); >void gtk_clist_column_titles_passive (GtkCList *clist); > > >void gtk_clist_set_column_title (GtkCList *clist, > gint column, > const gchar *title); > > >gchar * gtk_clist_get_column_title (GtkCList *clist, > gint column); > > >void gtk_clist_set_column_widget (GtkCList *clist, > gint column, > GtkWidget *widget); > > >GtkWidget * gtk_clist_get_column_widget (GtkCList *clist, > gint column); > > >void gtk_clist_set_column_justification (GtkCList *clist, > gint column, > GtkJustification justification); > > >void gtk_clist_set_column_visibility (GtkCList *clist, > gint column, > gboolean visible); > > >void gtk_clist_set_column_resizeable (GtkCList *clist, > gint column, > gboolean resizeable); > > >void gtk_clist_set_column_auto_resize (GtkCList *clist, > gint column, > gboolean auto_resize); > >gint gtk_clist_columns_autosize (GtkCList *clist); > > >gint gtk_clist_optimal_column_width (GtkCList *clist, > gint column); > > > > > >void gtk_clist_set_column_width (GtkCList *clist, > gint column, > gint width); > > >void gtk_clist_set_column_min_width (GtkCList *clist, > gint column, > gint min_width); >void gtk_clist_set_column_max_width (GtkCList *clist, > gint column, > gint max_width); > > > > >void gtk_clist_set_row_height (GtkCList *clist, > guint height); > > > > > > >void gtk_clist_moveto (GtkCList *clist, > gint row, > gint column, > gfloat row_align, > gfloat col_align); > > >GtkVisibility gtk_clist_row_is_visible (GtkCList *clist, > gint row); > > >GtkCellType gtk_clist_get_cell_type (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_set_text (GtkCList *clist, > gint row, > gint column, > const gchar *text); > > > > >gint gtk_clist_get_text (GtkCList *clist, > gint row, > gint column, > gchar **text); > > >void gtk_clist_set_pixmap (GtkCList *clist, > gint row, > gint column, > GdkPixmap *pixmap, > GdkBitmap *mask); > >gint gtk_clist_get_pixmap (GtkCList *clist, > gint row, > gint column, > GdkPixmap **pixmap, > GdkBitmap **mask); > > >void gtk_clist_set_pixtext (GtkCList *clist, > gint row, > gint column, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); > >gint gtk_clist_get_pixtext (GtkCList *clist, > gint row, > gint column, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap, > GdkBitmap **mask); > > > > >void gtk_clist_set_foreground (GtkCList *clist, > gint row, > const GdkColor *color); > > > > >void gtk_clist_set_background (GtkCList *clist, > gint row, > const GdkColor *color); > > >void gtk_clist_set_cell_style (GtkCList *clist, > gint row, > gint column, > GtkStyle *style); > >GtkStyle *gtk_clist_get_cell_style (GtkCList *clist, > gint row, > gint column); > >void gtk_clist_set_row_style (GtkCList *clist, > gint row, > GtkStyle *style); > >GtkStyle *gtk_clist_get_row_style (GtkCList *clist, > gint row); > > > > > >void gtk_clist_set_shift (GtkCList *clist, > gint row, > gint column, > gint vertical, > gint horizontal); > > >void gtk_clist_set_selectable (GtkCList *clist, > gint row, > gboolean selectable); >gboolean gtk_clist_get_selectable (GtkCList *clist, > gint row); > > > > >gint gtk_clist_prepend (GtkCList *clist, > gchar *text[]); >gint gtk_clist_append (GtkCList *clist, > gchar *text[]); > > > > >gint gtk_clist_insert (GtkCList *clist, > gint row, > gchar *text[]); > > >void gtk_clist_remove (GtkCList *clist, > gint row); > > >void gtk_clist_set_row_data (GtkCList *clist, > gint row, > gpointer data); > > >void gtk_clist_set_row_data_full (GtkCList *clist, > gint row, > gpointer data, > GtkDestroyNotify destroy); > > >gpointer gtk_clist_get_row_data (GtkCList *clist, > gint row); > > > > >gint gtk_clist_find_row_from_data (GtkCList *clist, > gpointer data); > > >void gtk_clist_select_row (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_unselect_row (GtkCList *clist, > gint row, > gint column); > > >void gtk_clist_undo_selection (GtkCList *clist); > > > > >void gtk_clist_clear (GtkCList *clist); > > > > > >gint gtk_clist_get_selection_info (GtkCList *clist, > gint x, > gint y, > gint *row, > gint *column); > > >void gtk_clist_select_all (GtkCList *clist); > > >void gtk_clist_unselect_all (GtkCList *clist); > > >void gtk_clist_swap_rows (GtkCList *clist, > gint row1, > gint row2); > > >void gtk_clist_row_move (GtkCList *clist, > gint source_row, > gint dest_row); > > >void gtk_clist_set_compare_func (GtkCList *clist, > GtkCListCompareFunc cmp_func); > > >void gtk_clist_set_sort_column (GtkCList *clist, > gint column); > > >void gtk_clist_set_sort_type (GtkCList *clist, > GtkSortType sort_type); > > >void gtk_clist_sort (GtkCList *clist); > > >void gtk_clist_set_auto_sort (GtkCList *clist, > gboolean auto_sort); > > > >PangoLayout *_gtk_clist_create_cell_layout (GtkCList *clist, > GtkCListRow *clist_row, > gint column); > > >} ># 57 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcolorbutton.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkcolorbutton.h" >extern "C" { ># 53 "/usr/include/gtk-2.0/gtk/gtkcolorbutton.h" >typedef struct _GtkColorButton GtkColorButton; >typedef struct _GtkColorButtonClass GtkColorButtonClass; >typedef struct _GtkColorButtonPrivate GtkColorButtonPrivate; > >struct _GtkColorButton { > GtkButton button; > > > > GtkColorButtonPrivate *priv; >}; > >struct _GtkColorButtonClass { > GtkButtonClass parent_class; > > void (* color_set) (GtkColorButton *cp); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_color_button_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_color_button_new (void); >GtkWidget *gtk_color_button_new_with_color (const GdkColor *color); >void gtk_color_button_set_color (GtkColorButton *color_button, > const GdkColor *color); >void gtk_color_button_set_alpha (GtkColorButton *color_button, > guint16 alpha); >void gtk_color_button_get_color (GtkColorButton *color_button, > GdkColor *color); >guint16 gtk_color_button_get_alpha (GtkColorButton *color_button); >void gtk_color_button_set_use_alpha (GtkColorButton *color_button, > gboolean use_alpha); >gboolean gtk_color_button_get_use_alpha (GtkColorButton *color_button); >void gtk_color_button_set_title (GtkColorButton *color_button, > const gchar *title); >const gchar *gtk_color_button_get_title (GtkColorButton *color_button); > > >} ># 58 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcolorsel.h" 1 ># 30 "/usr/include/gtk-2.0/gtk/gtkcolorsel.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkdialog.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkdialog.h" >extern "C" { > > > >typedef enum >{ > GTK_DIALOG_MODAL = 1 << 0, > GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1, > GTK_DIALOG_NO_SEPARATOR = 1 << 2 >} GtkDialogFlags; ># 55 "/usr/include/gtk-2.0/gtk/gtkdialog.h" >typedef enum >{ > > > > GTK_RESPONSE_NONE = -1, > > > > > > GTK_RESPONSE_REJECT = -2, > GTK_RESPONSE_ACCEPT = -3, > > > GTK_RESPONSE_DELETE_EVENT = -4, > > > > > GTK_RESPONSE_OK = -5, > GTK_RESPONSE_CANCEL = -6, > GTK_RESPONSE_CLOSE = -7, > GTK_RESPONSE_YES = -8, > GTK_RESPONSE_NO = -9, > GTK_RESPONSE_APPLY = -10, > GTK_RESPONSE_HELP = -11 >} GtkResponseType; ># 93 "/usr/include/gtk-2.0/gtk/gtkdialog.h" >typedef struct _GtkDialog GtkDialog; >typedef struct _GtkDialogClass GtkDialogClass; > >struct _GtkDialog >{ > GtkWindow window; > > > GtkWidget *vbox; > GtkWidget *action_area; > > > GtkWidget *separator; >}; > >struct _GtkDialogClass >{ > GtkWindowClass parent_class; > > void (* response) (GtkDialog *dialog, gint response_id); > > > > void (* close) (GtkDialog *dialog); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_dialog_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_dialog_new (void); > >GtkWidget* gtk_dialog_new_with_buttons (const gchar *title, > GtkWindow *parent, > GtkDialogFlags flags, > const gchar *first_button_text, > ...); > >void gtk_dialog_add_action_widget (GtkDialog *dialog, > GtkWidget *child, > gint response_id); >GtkWidget* gtk_dialog_add_button (GtkDialog *dialog, > const gchar *button_text, > gint response_id); >void gtk_dialog_add_buttons (GtkDialog *dialog, > const gchar *first_button_text, > ...); > >void gtk_dialog_set_response_sensitive (GtkDialog *dialog, > gint response_id, > gboolean setting); >void gtk_dialog_set_default_response (GtkDialog *dialog, > gint response_id); > >void gtk_dialog_set_has_separator (GtkDialog *dialog, > gboolean setting); >gboolean gtk_dialog_get_has_separator (GtkDialog *dialog); > > >void gtk_dialog_response (GtkDialog *dialog, > gint response_id); > > >gint gtk_dialog_run (GtkDialog *dialog); > > > >void _gtk_dialog_set_ignore_separator (GtkDialog *dialog, > gboolean ignore_separator); >gint _gtk_dialog_get_response_for_widget (GtkDialog *dialog, > GtkWidget *widget); > > >} ># 31 "/usr/include/gtk-2.0/gtk/gtkcolorsel.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkvbox.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkvbox.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkvbox.h" >typedef struct _GtkVBox GtkVBox; >typedef struct _GtkVBoxClass GtkVBoxClass; > >struct _GtkVBox >{ > GtkBox box; >}; > >struct _GtkVBoxClass >{ > GtkBoxClass parent_class; >}; > > >GType gtk_vbox_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_vbox_new (gboolean homogeneous, > gint spacing); > > > >} ># 32 "/usr/include/gtk-2.0/gtk/gtkcolorsel.h" 2 > > >extern "C" { ># 46 "/usr/include/gtk-2.0/gtk/gtkcolorsel.h" >typedef struct _GtkColorSelection GtkColorSelection; >typedef struct _GtkColorSelectionClass GtkColorSelectionClass; > > >typedef void (* GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, > gint n_colors); >typedef void (* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, > const GdkColor *colors, > gint n_colors); > >struct _GtkColorSelection >{ > GtkVBox parent_instance; > > > gpointer private_data; >}; > >struct _GtkColorSelectionClass >{ > GtkVBoxClass parent_class; > > void (*color_changed) (GtkColorSelection *color_selection); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > > >GType gtk_color_selection_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_color_selection_new (void); >gboolean gtk_color_selection_get_has_opacity_control (GtkColorSelection *colorsel); >void gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel, > gboolean has_opacity); >gboolean gtk_color_selection_get_has_palette (GtkColorSelection *colorsel); >void gtk_color_selection_set_has_palette (GtkColorSelection *colorsel, > gboolean has_palette); > > >void gtk_color_selection_set_current_color (GtkColorSelection *colorsel, > const GdkColor *color); >void gtk_color_selection_set_current_alpha (GtkColorSelection *colorsel, > guint16 alpha); >void gtk_color_selection_get_current_color (GtkColorSelection *colorsel, > GdkColor *color); >guint16 gtk_color_selection_get_current_alpha (GtkColorSelection *colorsel); >void gtk_color_selection_set_previous_color (GtkColorSelection *colorsel, > const GdkColor *color); >void gtk_color_selection_set_previous_alpha (GtkColorSelection *colorsel, > guint16 alpha); >void gtk_color_selection_get_previous_color (GtkColorSelection *colorsel, > GdkColor *color); >guint16 gtk_color_selection_get_previous_alpha (GtkColorSelection *colorsel); > >gboolean gtk_color_selection_is_adjusting (GtkColorSelection *colorsel); > >gboolean gtk_color_selection_palette_from_string (const gchar *str, > GdkColor **colors, > gint *n_colors); >gchar* gtk_color_selection_palette_to_string (const GdkColor *colors, > gint n_colors); > > > >GtkColorSelectionChangePaletteFunc gtk_color_selection_set_change_palette_hook (GtkColorSelectionChangePaletteFunc func); > > > >GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func); > > > >void gtk_color_selection_set_color (GtkColorSelection *colorsel, > gdouble *color); >void gtk_color_selection_get_color (GtkColorSelection *colorsel, > gdouble *color); >void gtk_color_selection_set_update_policy (GtkColorSelection *colorsel, > GtkUpdateType policy); > > > >} ># 59 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h" >extern "C" { ># 45 "/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h" >typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog; >typedef struct _GtkColorSelectionDialogClass GtkColorSelectionDialogClass; > > >struct _GtkColorSelectionDialog >{ > GtkDialog parent_instance; > > GtkWidget *colorsel; > GtkWidget *ok_button; > GtkWidget *cancel_button; > GtkWidget *help_button; >}; > >struct _GtkColorSelectionDialogClass >{ > GtkDialogClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > >GType gtk_color_selection_dialog_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_color_selection_dialog_new (const gchar *title); > > > >} ># 60 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcombo.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkcombo.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkhbox.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkhbox.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkhbox.h" >typedef struct _GtkHBox GtkHBox; >typedef struct _GtkHBoxClass GtkHBoxClass; > >struct _GtkHBox >{ > GtkBox box; >}; > >struct _GtkHBoxClass >{ > GtkBoxClass parent_class; >}; > > >GType gtk_hbox_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hbox_new (gboolean homogeneous, > gint spacing); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkcombo.h" 2 > > > >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkcombo.h" >typedef struct _GtkCombo GtkCombo; >typedef struct _GtkComboClass GtkComboClass; > > >struct _GtkCombo { > GtkHBox hbox; > > > GtkWidget *entry; > > > GtkWidget *button; > GtkWidget *popup; > GtkWidget *popwin; > > > GtkWidget *list; > > > guint entry_change_id; > guint list_change_id; > > guint value_in_list:1; > guint ok_if_empty:1; > guint case_sensitive:1; > guint use_arrows:1; > guint use_arrows_always:1; > > guint16 current_button; > guint activate_id; >}; > >struct _GtkComboClass { > GtkHBoxClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_combo_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_combo_new (void); > >void gtk_combo_set_value_in_list (GtkCombo* combo, > gboolean val, > gboolean ok_if_empty); > >void gtk_combo_set_use_arrows (GtkCombo* combo, > gboolean val); > >void gtk_combo_set_use_arrows_always (GtkCombo* combo, > gboolean val); > >void gtk_combo_set_case_sensitive (GtkCombo* combo, > gboolean val); > > >void gtk_combo_set_item_string (GtkCombo* combo, > GtkItem* item, > const gchar* item_value); > >void gtk_combo_set_popdown_strings (GtkCombo* combo, > GList *strings); > >void gtk_combo_disable_activate (GtkCombo* combo); > > >} ># 61 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcombobox.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkcombobox.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktreeview.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtktreeview.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkdnd.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkdnd.h" >extern "C" { > > >typedef enum { > GTK_DEST_DEFAULT_MOTION = 1 << 0, > GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1, > GTK_DEST_DEFAULT_DROP = 1 << 2, > GTK_DEST_DEFAULT_ALL = 0x07 >} GtkDestDefaults; > > > >typedef enum { > GTK_TARGET_SAME_APP = 1 << 0, > GTK_TARGET_SAME_WIDGET = 1 << 1 >} GtkTargetFlags; > > > >void gtk_drag_get_data (GtkWidget *widget, > GdkDragContext *context, > GdkAtom target, > guint32 time_); >void gtk_drag_finish (GdkDragContext *context, > gboolean success, > gboolean del, > guint32 time_); > >GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); > >void gtk_drag_highlight (GtkWidget *widget); >void gtk_drag_unhighlight (GtkWidget *widget); > >void gtk_drag_dest_set (GtkWidget *widget, > GtkDestDefaults flags, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); > >void gtk_drag_dest_set_proxy (GtkWidget *widget, > GdkWindow *proxy_window, > GdkDragProtocol protocol, > gboolean use_coordinates); > >void gtk_drag_dest_unset (GtkWidget *widget); > >GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, > GdkDragContext *context, > GtkTargetList *target_list); >GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget); >void gtk_drag_dest_set_target_list (GtkWidget *widget, > GtkTargetList *target_list); > > > >void gtk_drag_source_set (GtkWidget *widget, > GdkModifierType start_button_mask, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); > >void gtk_drag_source_unset (GtkWidget *widget); > >GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget); >void gtk_drag_source_set_target_list (GtkWidget *widget, > GtkTargetList *target_list); > >void gtk_drag_source_set_icon (GtkWidget *widget, > GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, > GdkPixbuf *pixbuf); >void gtk_drag_source_set_icon_stock (GtkWidget *widget, > const gchar *stock_id); > > > > > >GdkDragContext *gtk_drag_begin (GtkWidget *widget, > GtkTargetList *targets, > GdkDragAction actions, > gint button, > GdkEvent *event); > > > >void gtk_drag_set_icon_widget (GdkDragContext *context, > GtkWidget *widget, > gint hot_x, > gint hot_y); >void gtk_drag_set_icon_pixmap (GdkDragContext *context, > GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask, > gint hot_x, > gint hot_y); >void gtk_drag_set_icon_pixbuf (GdkDragContext *context, > GdkPixbuf *pixbuf, > gint hot_x, > gint hot_y); >void gtk_drag_set_icon_stock (GdkDragContext *context, > const gchar *stock_id, > gint hot_x, > gint hot_y); > >void gtk_drag_set_icon_default (GdkDragContext *context); > >gboolean gtk_drag_check_threshold (GtkWidget *widget, > gint start_x, > gint start_y, > gint current_x, > gint current_y); > > >void _gtk_drag_source_handle_event (GtkWidget *widget, > GdkEvent *event); >void _gtk_drag_dest_handle_event (GtkWidget *toplevel, > GdkEvent *event); > > >void gtk_drag_set_default_icon (GdkColormap *colormap, > GdkPixmap *pixmap, > GdkBitmap *mask, > gint hot_x, > gint hot_y); > > > >} ># 27 "/usr/include/gtk-2.0/gtk/gtktreeview.h" 2 > > >extern "C" { > > >typedef enum >{ > > GTK_TREE_VIEW_DROP_BEFORE, > GTK_TREE_VIEW_DROP_AFTER, > > > > GTK_TREE_VIEW_DROP_INTO_OR_BEFORE, > GTK_TREE_VIEW_DROP_INTO_OR_AFTER >} GtkTreeViewDropPosition; ># 51 "/usr/include/gtk-2.0/gtk/gtktreeview.h" >typedef struct _GtkTreeView GtkTreeView; >typedef struct _GtkTreeViewClass GtkTreeViewClass; >typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate; >typedef struct _GtkTreeSelection GtkTreeSelection; >typedef struct _GtkTreeSelectionClass GtkTreeSelectionClass; > >struct _GtkTreeView >{ > GtkContainer parent; > > GtkTreeViewPrivate *priv; >}; > >struct _GtkTreeViewClass >{ > GtkContainerClass parent_class; > > void (* set_scroll_adjustments) (GtkTreeView *tree_view, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > void (* row_activated) (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *column); > gboolean (* test_expand_row) (GtkTreeView *tree_view, > GtkTreeIter *iter, > GtkTreePath *path); > gboolean (* test_collapse_row) (GtkTreeView *tree_view, > GtkTreeIter *iter, > GtkTreePath *path); > void (* row_expanded) (GtkTreeView *tree_view, > GtkTreeIter *iter, > GtkTreePath *path); > void (* row_collapsed) (GtkTreeView *tree_view, > GtkTreeIter *iter, > GtkTreePath *path); > void (* columns_changed) (GtkTreeView *tree_view); > void (* cursor_changed) (GtkTreeView *tree_view); > > > gboolean (* move_cursor) (GtkTreeView *tree_view, > GtkMovementStep step, > gint count); > gboolean (* select_all) (GtkTreeView *tree_view); > gboolean (* unselect_all) (GtkTreeView *tree_view); > gboolean (* select_cursor_row) (GtkTreeView *tree_view, > gboolean start_editing); > gboolean (* toggle_cursor_row) (GtkTreeView *tree_view); > gboolean (* expand_collapse_cursor_row) (GtkTreeView *tree_view, > gboolean logical, > gboolean expand, > gboolean open_all); > gboolean (* select_cursor_parent) (GtkTreeView *tree_view); > gboolean (* start_interactive_search) (GtkTreeView *tree_view); > > > void (*_gtk_reserved0) (void); > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >typedef gboolean (* GtkTreeViewColumnDropFunc) (GtkTreeView *tree_view, > GtkTreeViewColumn *column, > GtkTreeViewColumn *prev_column, > GtkTreeViewColumn *next_column, > gpointer data); >typedef void (* GtkTreeViewMappingFunc) (GtkTreeView *tree_view, > GtkTreePath *path, > gpointer user_data); >typedef gboolean (*GtkTreeViewSearchEqualFunc) (GtkTreeModel *model, > gint column, > const gchar *key, > GtkTreeIter *iter, > gpointer search_data); > > > >GType gtk_tree_view_get_type (void); >GtkWidget *gtk_tree_view_new (void); >GtkWidget *gtk_tree_view_new_with_model (GtkTreeModel *model); > > >GtkTreeModel *gtk_tree_view_get_model (GtkTreeView *tree_view); >void gtk_tree_view_set_model (GtkTreeView *tree_view, > GtkTreeModel *model); >GtkTreeSelection *gtk_tree_view_get_selection (GtkTreeView *tree_view); >GtkAdjustment *gtk_tree_view_get_hadjustment (GtkTreeView *tree_view); >void gtk_tree_view_set_hadjustment (GtkTreeView *tree_view, > GtkAdjustment *adjustment); >GtkAdjustment *gtk_tree_view_get_vadjustment (GtkTreeView *tree_view); >void gtk_tree_view_set_vadjustment (GtkTreeView *tree_view, > GtkAdjustment *adjustment); >gboolean gtk_tree_view_get_headers_visible (GtkTreeView *tree_view); >void gtk_tree_view_set_headers_visible (GtkTreeView *tree_view, > gboolean headers_visible); >void gtk_tree_view_columns_autosize (GtkTreeView *tree_view); >void gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view, > gboolean setting); >void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, > gboolean setting); >gboolean gtk_tree_view_get_rules_hint (GtkTreeView *tree_view); > > >gint gtk_tree_view_append_column (GtkTreeView *tree_view, > GtkTreeViewColumn *column); >gint gtk_tree_view_remove_column (GtkTreeView *tree_view, > GtkTreeViewColumn *column); >gint gtk_tree_view_insert_column (GtkTreeView *tree_view, > GtkTreeViewColumn *column, > gint position); >gint gtk_tree_view_insert_column_with_attributes (GtkTreeView *tree_view, > gint position, > const gchar *title, > GtkCellRenderer *cell, > ...); >gint gtk_tree_view_insert_column_with_data_func (GtkTreeView *tree_view, > gint position, > const gchar *title, > GtkCellRenderer *cell, > GtkTreeCellDataFunc func, > gpointer data, > GDestroyNotify dnotify); >GtkTreeViewColumn *gtk_tree_view_get_column (GtkTreeView *tree_view, > gint n); >GList *gtk_tree_view_get_columns (GtkTreeView *tree_view); >void gtk_tree_view_move_column_after (GtkTreeView *tree_view, > GtkTreeViewColumn *column, > GtkTreeViewColumn *base_column); >void gtk_tree_view_set_expander_column (GtkTreeView *tree_view, > GtkTreeViewColumn *column); >GtkTreeViewColumn *gtk_tree_view_get_expander_column (GtkTreeView *tree_view); >void gtk_tree_view_set_column_drag_function (GtkTreeView *tree_view, > GtkTreeViewColumnDropFunc func, > gpointer user_data, > GtkDestroyNotify destroy); > > >void gtk_tree_view_scroll_to_point (GtkTreeView *tree_view, > gint tree_x, > gint tree_y); >void gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *column, > gboolean use_align, > gfloat row_align, > gfloat col_align); >void gtk_tree_view_row_activated (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *column); >void gtk_tree_view_expand_all (GtkTreeView *tree_view); >void gtk_tree_view_collapse_all (GtkTreeView *tree_view); >void gtk_tree_view_expand_to_path (GtkTreeView *tree_view, > GtkTreePath *path); >gboolean gtk_tree_view_expand_row (GtkTreeView *tree_view, > GtkTreePath *path, > gboolean open_all); >gboolean gtk_tree_view_collapse_row (GtkTreeView *tree_view, > GtkTreePath *path); >void gtk_tree_view_map_expanded_rows (GtkTreeView *tree_view, > GtkTreeViewMappingFunc func, > gpointer data); >gboolean gtk_tree_view_row_expanded (GtkTreeView *tree_view, > GtkTreePath *path); >void gtk_tree_view_set_reorderable (GtkTreeView *tree_view, > gboolean reorderable); >gboolean gtk_tree_view_get_reorderable (GtkTreeView *tree_view); >void gtk_tree_view_set_cursor (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *focus_column, > gboolean start_editing); >void gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *focus_column, > GtkCellRenderer *focus_cell, > gboolean start_editing); >void gtk_tree_view_get_cursor (GtkTreeView *tree_view, > GtkTreePath **path, > GtkTreeViewColumn **focus_column); > > > >GdkWindow *gtk_tree_view_get_bin_window (GtkTreeView *tree_view); >gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view, > gint x, > gint y, > GtkTreePath **path, > GtkTreeViewColumn **column, > gint *cell_x, > gint *cell_y); >void gtk_tree_view_get_cell_area (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *column, > GdkRectangle *rect); >void gtk_tree_view_get_background_area (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewColumn *column, > GdkRectangle *rect); >void gtk_tree_view_get_visible_rect (GtkTreeView *tree_view, > GdkRectangle *visible_rect); >void gtk_tree_view_widget_to_tree_coords (GtkTreeView *tree_view, > gint wx, > gint wy, > gint *tx, > gint *ty); >void gtk_tree_view_tree_to_widget_coords (GtkTreeView *tree_view, > gint tx, > gint ty, > gint *wx, > gint *wy); > > >void gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view, > GdkModifierType start_button_mask, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); >void gtk_tree_view_enable_model_drag_dest (GtkTreeView *tree_view, > const GtkTargetEntry *targets, > gint n_targets, > GdkDragAction actions); >void gtk_tree_view_unset_rows_drag_source (GtkTreeView *tree_view); >void gtk_tree_view_unset_rows_drag_dest (GtkTreeView *tree_view); > > > >void gtk_tree_view_set_drag_dest_row (GtkTreeView *tree_view, > GtkTreePath *path, > GtkTreeViewDropPosition pos); >void gtk_tree_view_get_drag_dest_row (GtkTreeView *tree_view, > GtkTreePath **path, > GtkTreeViewDropPosition *pos); >gboolean gtk_tree_view_get_dest_row_at_pos (GtkTreeView *tree_view, > gint drag_x, > gint drag_y, > GtkTreePath **path, > GtkTreeViewDropPosition *pos); >GdkPixmap *gtk_tree_view_create_row_drag_icon (GtkTreeView *tree_view, > GtkTreePath *path); > > >void gtk_tree_view_set_enable_search (GtkTreeView *tree_view, > gboolean enable_search); >gboolean gtk_tree_view_get_enable_search (GtkTreeView *tree_view); >gint gtk_tree_view_get_search_column (GtkTreeView *tree_view); >void gtk_tree_view_set_search_column (GtkTreeView *tree_view, > gint column); >GtkTreeViewSearchEqualFunc gtk_tree_view_get_search_equal_func (GtkTreeView *tree_view); >void gtk_tree_view_set_search_equal_func (GtkTreeView *tree_view, > GtkTreeViewSearchEqualFunc search_equal_func, > gpointer search_user_data, > GtkDestroyNotify search_destroy); > > > >typedef void (* GtkTreeDestroyCountFunc) (GtkTreeView *tree_view, > GtkTreePath *path, > gint children, > gpointer user_data); >void gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view, > GtkTreeDestroyCountFunc func, > gpointer data, > GtkDestroyNotify destroy); > > > >} ># 26 "/usr/include/gtk-2.0/gtk/gtkcombobox.h" 2 > >extern "C" { ># 36 "/usr/include/gtk-2.0/gtk/gtkcombobox.h" >typedef struct _GtkComboBox GtkComboBox; >typedef struct _GtkComboBoxClass GtkComboBoxClass; >typedef struct _GtkComboBoxPrivate GtkComboBoxPrivate; > >struct _GtkComboBox >{ > GtkBin parent_instance; > > > GtkComboBoxPrivate *priv; >}; > >struct _GtkComboBoxClass >{ > GtkBinClass parent_class; > > > void (* changed) (GtkComboBox *combo_box); > > > void (*_gtk_reserved0) (void); > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > > > >GType gtk_combo_box_get_type (void); >GtkWidget *gtk_combo_box_new (void); >GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model); > > >void gtk_combo_box_set_wrap_width (GtkComboBox *combo_box, > gint width); >void gtk_combo_box_set_row_span_column (GtkComboBox *combo_box, > gint row_span); >void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box, > gint column_span); > > >gint gtk_combo_box_get_active (GtkComboBox *combo_box); >void gtk_combo_box_set_active (GtkComboBox *combo_box, > gint index); >gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box, > GtkTreeIter *iter); >void gtk_combo_box_set_active_iter (GtkComboBox *combo_box, > GtkTreeIter *iter); > > >void gtk_combo_box_set_model (GtkComboBox *combo_box, > GtkTreeModel *model); >GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); > > >GtkWidget *gtk_combo_box_new_text (void); >void gtk_combo_box_append_text (GtkComboBox *combo_box, > const gchar *text); >void gtk_combo_box_insert_text (GtkComboBox *combo_box, > gint position, > const gchar *text); >void gtk_combo_box_prepend_text (GtkComboBox *combo_box, > const gchar *text); >void gtk_combo_box_remove_text (GtkComboBox *combo_box, > gint position); > > >void gtk_combo_box_popup (GtkComboBox *combo_box); >void gtk_combo_box_popdown (GtkComboBox *combo_box); > >} ># 62 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h" >extern "C" { ># 35 "/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h" >typedef struct _GtkComboBoxEntry GtkComboBoxEntry; >typedef struct _GtkComboBoxEntryClass GtkComboBoxEntryClass; >typedef struct _GtkComboBoxEntryPrivate GtkComboBoxEntryPrivate; > >struct _GtkComboBoxEntry >{ > GtkComboBox parent_instance; > > > GtkComboBoxEntryPrivate *priv; >}; > >struct _GtkComboBoxEntryClass >{ > GtkComboBoxClass parent_class; > > > void (*_gtk_reserved0) (void); > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > > >GType gtk_combo_box_entry_get_type (void); >GtkWidget *gtk_combo_box_entry_new (void); >GtkWidget *gtk_combo_box_entry_new_with_model (GtkTreeModel *model, > gint text_column); > >void gtk_combo_box_entry_set_text_column (GtkComboBoxEntry *entry_box, > gint text_column); >gint gtk_combo_box_entry_get_text_column (GtkComboBoxEntry *entry_box); > > >GtkWidget *gtk_combo_box_entry_new_text (void); > > >} ># 63 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkctree.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkctree.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkclist.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkctree.h" 2 > > >extern "C" { ># 57 "/usr/include/gtk-2.0/gtk/gtkctree.h" >typedef enum >{ > GTK_CTREE_POS_BEFORE, > GTK_CTREE_POS_AS_CHILD, > GTK_CTREE_POS_AFTER >} GtkCTreePos; > >typedef enum >{ > GTK_CTREE_LINES_NONE, > GTK_CTREE_LINES_SOLID, > GTK_CTREE_LINES_DOTTED, > GTK_CTREE_LINES_TABBED >} GtkCTreeLineStyle; > >typedef enum >{ > GTK_CTREE_EXPANDER_NONE, > GTK_CTREE_EXPANDER_SQUARE, > GTK_CTREE_EXPANDER_TRIANGLE, > GTK_CTREE_EXPANDER_CIRCULAR >} GtkCTreeExpanderStyle; > >typedef enum >{ > GTK_CTREE_EXPANSION_EXPAND, > GTK_CTREE_EXPANSION_EXPAND_RECURSIVE, > GTK_CTREE_EXPANSION_COLLAPSE, > GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE, > GTK_CTREE_EXPANSION_TOGGLE, > GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE >} GtkCTreeExpansionType; > >typedef struct _GtkCTree GtkCTree; >typedef struct _GtkCTreeClass GtkCTreeClass; >typedef struct _GtkCTreeRow GtkCTreeRow; >typedef struct _GtkCTreeNode GtkCTreeNode; > >typedef void (*GtkCTreeFunc) (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); > >typedef gboolean (*GtkCTreeGNodeFunc) (GtkCTree *ctree, > guint depth, > GNode *gnode, > GtkCTreeNode *cnode, > gpointer data); > >typedef gboolean (*GtkCTreeCompareDragFunc) (GtkCTree *ctree, > GtkCTreeNode *source_node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); > >struct _GtkCTree >{ > GtkCList clist; > > GdkGC *lines_gc; > > gint tree_indent; > gint tree_spacing; > gint tree_column; > > guint line_style : 2; > guint expander_style : 2; > guint show_stub : 1; > > GtkCTreeCompareDragFunc drag_compare; >}; > >struct _GtkCTreeClass >{ > GtkCListClass parent_class; > > void (*tree_select_row) (GtkCTree *ctree, > GtkCTreeNode *row, > gint column); > void (*tree_unselect_row) (GtkCTree *ctree, > GtkCTreeNode *row, > gint column); > void (*tree_expand) (GtkCTree *ctree, > GtkCTreeNode *node); > void (*tree_collapse) (GtkCTree *ctree, > GtkCTreeNode *node); > void (*tree_move) (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); > void (*change_focus_row_expansion) (GtkCTree *ctree, > GtkCTreeExpansionType action); >}; > >struct _GtkCTreeRow >{ > GtkCListRow row; > > GtkCTreeNode *parent; > GtkCTreeNode *sibling; > GtkCTreeNode *children; > > GdkPixmap *pixmap_closed; > GdkBitmap *mask_closed; > GdkPixmap *pixmap_opened; > GdkBitmap *mask_opened; > > guint16 level; > > guint is_leaf : 1; > guint expanded : 1; >}; > >struct _GtkCTreeNode { > GList list; >}; > > > > > > >GtkType gtk_ctree_get_type (void) __attribute__((__const__)); >GtkWidget * gtk_ctree_new_with_titles (gint columns, > gint tree_column, > gchar *titles[]); >GtkWidget * gtk_ctree_new (gint columns, > gint tree_column); >GtkCTreeNode * gtk_ctree_insert_node (GtkCTree *ctree, > GtkCTreeNode *parent, > GtkCTreeNode *sibling, > gchar *text[], > guint8 spacing, > GdkPixmap *pixmap_closed, > GdkBitmap *mask_closed, > GdkPixmap *pixmap_opened, > GdkBitmap *mask_opened, > gboolean is_leaf, > gboolean expanded); >void gtk_ctree_remove_node (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_insert_gnode (GtkCTree *ctree, > GtkCTreeNode *parent, > GtkCTreeNode *sibling, > GNode *gnode, > GtkCTreeGNodeFunc func, > gpointer data); >GNode * gtk_ctree_export_to_gnode (GtkCTree *ctree, > GNode *parent, > GNode *sibling, > GtkCTreeNode *node, > GtkCTreeGNodeFunc func, > gpointer data); > > > > > > >void gtk_ctree_post_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_post_recursive_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_pre_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeFunc func, > gpointer data); >void gtk_ctree_pre_recursive_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth, > GtkCTreeFunc func, > gpointer data); >gboolean gtk_ctree_is_viewable (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_last (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCTreeNode * gtk_ctree_find_node_ptr (GtkCTree *ctree, > GtkCTreeRow *ctree_row); >GtkCTreeNode * gtk_ctree_node_nth (GtkCTree *ctree, > guint row); >gboolean gtk_ctree_find (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *child); >gboolean gtk_ctree_is_ancestor (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *child); >GtkCTreeNode * gtk_ctree_find_by_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); > >GList * gtk_ctree_find_all_by_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); >GtkCTreeNode * gtk_ctree_find_by_row_data_custom (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GCompareFunc func); > >GList * gtk_ctree_find_all_by_row_data_custom (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GCompareFunc func); >gboolean gtk_ctree_is_hot_spot (GtkCTree *ctree, > gint x, > gint y); > > > > > >void gtk_ctree_move (GtkCTree *ctree, > GtkCTreeNode *node, > GtkCTreeNode *new_parent, > GtkCTreeNode *new_sibling); >void gtk_ctree_expand (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_expand_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_expand_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth); >void gtk_ctree_collapse (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_collapse_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_collapse_to_depth (GtkCTree *ctree, > GtkCTreeNode *node, > gint depth); >void gtk_ctree_toggle_expansion (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_toggle_expansion_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_select (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_select_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_unselect (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_unselect_recursive (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_real_select_recursive (GtkCTree *ctree, > GtkCTreeNode *node, > gint state); > > > > > >void gtk_ctree_node_set_text (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > const gchar *text); >void gtk_ctree_node_set_pixmap (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_ctree_node_set_pixtext (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_ctree_set_node_info (GtkCTree *ctree, > GtkCTreeNode *node, > const gchar *text, > guint8 spacing, > GdkPixmap *pixmap_closed, > GdkBitmap *mask_closed, > GdkPixmap *pixmap_opened, > GdkBitmap *mask_opened, > gboolean is_leaf, > gboolean expanded); >void gtk_ctree_node_set_shift (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gint vertical, > gint horizontal); >void gtk_ctree_node_set_selectable (GtkCTree *ctree, > GtkCTreeNode *node, > gboolean selectable); >gboolean gtk_ctree_node_get_selectable (GtkCTree *ctree, > GtkCTreeNode *node); >GtkCellType gtk_ctree_node_get_cell_type (GtkCTree *ctree, > GtkCTreeNode *node, > gint column); >gboolean gtk_ctree_node_get_text (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gchar **text); >gboolean gtk_ctree_node_get_pixmap (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GdkPixmap **pixmap, > GdkBitmap **mask); >gboolean gtk_ctree_node_get_pixtext (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap, > GdkBitmap **mask); >gboolean gtk_ctree_get_node_info (GtkCTree *ctree, > GtkCTreeNode *node, > gchar **text, > guint8 *spacing, > GdkPixmap **pixmap_closed, > GdkBitmap **mask_closed, > GdkPixmap **pixmap_opened, > GdkBitmap **mask_opened, > gboolean *is_leaf, > gboolean *expanded); >void gtk_ctree_node_set_row_style (GtkCTree *ctree, > GtkCTreeNode *node, > GtkStyle *style); >GtkStyle * gtk_ctree_node_get_row_style (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_node_set_cell_style (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > GtkStyle *style); >GtkStyle * gtk_ctree_node_get_cell_style (GtkCTree *ctree, > GtkCTreeNode *node, > gint column); >void gtk_ctree_node_set_foreground (GtkCTree *ctree, > GtkCTreeNode *node, > const GdkColor *color); >void gtk_ctree_node_set_background (GtkCTree *ctree, > GtkCTreeNode *node, > const GdkColor *color); >void gtk_ctree_node_set_row_data (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data); >void gtk_ctree_node_set_row_data_full (GtkCTree *ctree, > GtkCTreeNode *node, > gpointer data, > GtkDestroyNotify destroy); >gpointer gtk_ctree_node_get_row_data (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_node_moveto (GtkCTree *ctree, > GtkCTreeNode *node, > gint column, > gfloat row_align, > gfloat col_align); >GtkVisibility gtk_ctree_node_is_visible (GtkCTree *ctree, > GtkCTreeNode *node); > > > > > >void gtk_ctree_set_indent (GtkCTree *ctree, > gint indent); >void gtk_ctree_set_spacing (GtkCTree *ctree, > gint spacing); >void gtk_ctree_set_show_stub (GtkCTree *ctree, > gboolean show_stub); >void gtk_ctree_set_line_style (GtkCTree *ctree, > GtkCTreeLineStyle line_style); >void gtk_ctree_set_expander_style (GtkCTree *ctree, > GtkCTreeExpanderStyle expander_style); >void gtk_ctree_set_drag_compare_func (GtkCTree *ctree, > GtkCTreeCompareDragFunc cmp_func); > > > > > >void gtk_ctree_sort_node (GtkCTree *ctree, > GtkCTreeNode *node); >void gtk_ctree_sort_recursive (GtkCTree *ctree, > GtkCTreeNode *node); ># 441 "/usr/include/gtk-2.0/gtk/gtkctree.h" >GType gtk_ctree_node_get_type (void) __attribute__((__const__)); > > >} ># 65 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkcurve.h" 1 ># 42 "/usr/include/gtk-2.0/gtk/gtkcurve.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkdrawingarea.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkdrawingarea.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkdrawingarea.h" >typedef struct _GtkDrawingArea GtkDrawingArea; >typedef struct _GtkDrawingAreaClass GtkDrawingAreaClass; > >struct _GtkDrawingArea >{ > GtkWidget widget; > > gpointer draw_data; >}; > >struct _GtkDrawingAreaClass >{ > GtkWidgetClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_drawing_area_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_drawing_area_new (void); > > >void gtk_drawing_area_size (GtkDrawingArea *darea, > gint width, > gint height); > > > > >} ># 43 "/usr/include/gtk-2.0/gtk/gtkcurve.h" 2 > > >extern "C" { ># 57 "/usr/include/gtk-2.0/gtk/gtkcurve.h" >typedef struct _GtkCurve GtkCurve; >typedef struct _GtkCurveClass GtkCurveClass; > > >struct _GtkCurve >{ > GtkDrawingArea graph; > > gint cursor_type; > gfloat min_x; > gfloat max_x; > gfloat min_y; > gfloat max_y; > GdkPixmap *pixmap; > GtkCurveType curve_type; > gint height; > gint grab_point; > gint last; > > > gint num_points; > GdkPoint *point; > > > gint num_ctlpoints; > gfloat (*ctlpoint)[2]; >}; > >struct _GtkCurveClass >{ > GtkDrawingAreaClass parent_class; > > void (* curve_type_changed) (GtkCurve *curve); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_curve_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_curve_new (void); >void gtk_curve_reset (GtkCurve *curve); >void gtk_curve_set_gamma (GtkCurve *curve, gfloat gamma_); >void gtk_curve_set_range (GtkCurve *curve, > gfloat min_x, gfloat max_x, > gfloat min_y, gfloat max_y); >void gtk_curve_get_vector (GtkCurve *curve, > int veclen, gfloat vector[]); >void gtk_curve_set_vector (GtkCurve *curve, > int veclen, gfloat vector[]); >void gtk_curve_set_curve_type (GtkCurve *curve, GtkCurveType type); > > > >} ># 66 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-2.0/gtk/gtkeditable.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtkeditable.h" >extern "C" { ># 46 "/usr/include/gtk-2.0/gtk/gtkeditable.h" >typedef struct _GtkEditable GtkEditable; >typedef struct _GtkEditableClass GtkEditableClass; > >struct _GtkEditableClass >{ > GTypeInterface base_iface; > > > void (* insert_text) (GtkEditable *editable, > const gchar *text, > gint length, > gint *position); > void (* delete_text) (GtkEditable *editable, > gint start_pos, > gint end_pos); > void (* changed) (GtkEditable *editable); > > > void (* do_insert_text) (GtkEditable *editable, > const gchar *text, > gint length, > gint *position); > void (* do_delete_text) (GtkEditable *editable, > gint start_pos, > gint end_pos); > > gchar* (* get_chars) (GtkEditable *editable, > gint start_pos, > gint end_pos); > void (* set_selection_bounds) (GtkEditable *editable, > gint start_pos, > gint end_pos); > gboolean (* get_selection_bounds) (GtkEditable *editable, > gint *start_pos, > gint *end_pos); > void (* set_position) (GtkEditable *editable, > gint position); > gint (* get_position) (GtkEditable *editable); >}; > >GType gtk_editable_get_type (void) __attribute__((__const__)); >void gtk_editable_select_region (GtkEditable *editable, > gint start, > gint end); >gboolean gtk_editable_get_selection_bounds (GtkEditable *editable, > gint *start, > gint *end); >void gtk_editable_insert_text (GtkEditable *editable, > const gchar *new_text, > gint new_text_length, > gint *position); >void gtk_editable_delete_text (GtkEditable *editable, > gint start_pos, > gint end_pos); >gchar* gtk_editable_get_chars (GtkEditable *editable, > gint start_pos, > gint end_pos); >void gtk_editable_cut_clipboard (GtkEditable *editable); >void gtk_editable_copy_clipboard (GtkEditable *editable); >void gtk_editable_paste_clipboard (GtkEditable *editable); >void gtk_editable_delete_selection (GtkEditable *editable); >void gtk_editable_set_position (GtkEditable *editable, > gint position); >gint gtk_editable_get_position (GtkEditable *editable); >void gtk_editable_set_editable (GtkEditable *editable, > gboolean is_editable); >gboolean gtk_editable_get_editable (GtkEditable *editable); > > >} ># 70 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkentry.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkentry.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkimcontext.h" 1 ># 29 "/usr/include/gtk-2.0/gtk/gtkimcontext.h" >extern "C" { ># 40 "/usr/include/gtk-2.0/gtk/gtkimcontext.h" >typedef struct _GtkIMContext GtkIMContext; >typedef struct _GtkIMContextClass GtkIMContextClass; > >struct _GtkIMContext >{ > GObject parent_instance; >}; > >struct _GtkIMContextClass >{ > > > > GtkObjectClass parent_class; > > > void (*preedit_start) (GtkIMContext *context); > void (*preedit_end) (GtkIMContext *context); > void (*preedit_changed) (GtkIMContext *context); > void (*commit) (GtkIMContext *context, const gchar *str); > gboolean (*retrieve_surrounding) (GtkIMContext *context); > gboolean (*delete_surrounding) (GtkIMContext *context, > gint offset, > gint n_chars); > > > void (*set_client_window) (GtkIMContext *context, > GdkWindow *window); > void (*get_preedit_string) (GtkIMContext *context, > gchar **str, > PangoAttrList **attrs, > gint *cursor_pos); > gboolean (*filter_keypress) (GtkIMContext *context, > GdkEventKey *event); > void (*focus_in) (GtkIMContext *context); > void (*focus_out) (GtkIMContext *context); > void (*reset) (GtkIMContext *context); > void (*set_cursor_location) (GtkIMContext *context, > GdkRectangle *area); > void (*set_use_preedit) (GtkIMContext *context, > gboolean use_preedit); > void (*set_surrounding) (GtkIMContext *context, > const gchar *text, > gint len, > gint cursor_index); > gboolean (*get_surrounding) (GtkIMContext *context, > gchar **text, > gint *cursor_index); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); > void (*_gtk_reserved5) (void); > void (*_gtk_reserved6) (void); >}; > >GType gtk_im_context_get_type (void) __attribute__((__const__)); > >void gtk_im_context_set_client_window (GtkIMContext *context, > GdkWindow *window); >void gtk_im_context_get_preedit_string (GtkIMContext *context, > gchar **str, > PangoAttrList **attrs, > gint *cursor_pos); >gboolean gtk_im_context_filter_keypress (GtkIMContext *context, > GdkEventKey *event); >void gtk_im_context_focus_in (GtkIMContext *context); >void gtk_im_context_focus_out (GtkIMContext *context); >void gtk_im_context_reset (GtkIMContext *context); >void gtk_im_context_set_cursor_location (GtkIMContext *context, > GdkRectangle *area); >void gtk_im_context_set_use_preedit (GtkIMContext *context, > gboolean use_preedit); >void gtk_im_context_set_surrounding (GtkIMContext *context, > const gchar *text, > gint len, > gint cursor_index); >gboolean gtk_im_context_get_surrounding (GtkIMContext *context, > gchar **text, > gint *cursor_index); >gboolean gtk_im_context_delete_surrounding (GtkIMContext *context, > gint offset, > gint n_chars); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkentry.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkentrycompletion.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkentrycompletion.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkliststore.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkliststore.h" >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtkliststore.h" >typedef struct _GtkListStore GtkListStore; >typedef struct _GtkListStoreClass GtkListStoreClass; > >struct _GtkListStore >{ > GObject parent; > > > gint stamp; > gpointer root; > gpointer tail; > GList *sort_list; > gint n_columns; > gint sort_column_id; > GtkSortType order; > GType *column_headers; > gint length; > GtkTreeIterCompareFunc default_sort_func; > gpointer default_sort_data; > GtkDestroyNotify default_sort_destroy; > guint columns_dirty : 1; >}; > >struct _GtkListStoreClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_list_store_get_type (void); >GtkListStore *gtk_list_store_new (gint n_columns, > ...); >GtkListStore *gtk_list_store_newv (gint n_columns, > GType *types); >void gtk_list_store_set_column_types (GtkListStore *list_store, > gint n_columns, > GType *types); > > > >void gtk_list_store_set_value (GtkListStore *list_store, > GtkTreeIter *iter, > gint column, > GValue *value); >void gtk_list_store_set (GtkListStore *list_store, > GtkTreeIter *iter, > ...); >void gtk_list_store_set_valist (GtkListStore *list_store, > GtkTreeIter *iter, > va_list var_args); >gboolean gtk_list_store_remove (GtkListStore *list_store, > GtkTreeIter *iter); >void gtk_list_store_insert (GtkListStore *list_store, > GtkTreeIter *iter, > gint position); >void gtk_list_store_insert_before (GtkListStore *list_store, > GtkTreeIter *iter, > GtkTreeIter *sibling); >void gtk_list_store_insert_after (GtkListStore *list_store, > GtkTreeIter *iter, > GtkTreeIter *sibling); >void gtk_list_store_prepend (GtkListStore *list_store, > GtkTreeIter *iter); >void gtk_list_store_append (GtkListStore *list_store, > GtkTreeIter *iter); >void gtk_list_store_clear (GtkListStore *list_store); >gboolean gtk_list_store_iter_is_valid (GtkListStore *list_store, > GtkTreeIter *iter); >void gtk_list_store_reorder (GtkListStore *store, > gint *new_order); >void gtk_list_store_swap (GtkListStore *store, > GtkTreeIter *a, > GtkTreeIter *b); >void gtk_list_store_move_after (GtkListStore *store, > GtkTreeIter *iter, > GtkTreeIter *position); >void gtk_list_store_move_before (GtkListStore *store, > GtkTreeIter *iter, > GtkTreeIter *position); > > > >} ># 27 "/usr/include/gtk-2.0/gtk/gtkentrycompletion.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h" >extern "C" { ># 35 "/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h" >typedef gboolean (* GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model, > GtkTreeIter *iter, > gpointer data); >typedef void (* GtkTreeModelFilterModifyFunc) (GtkTreeModel *model, > GtkTreeIter *iter, > GValue *value, > gint column, > gpointer data); > >typedef struct _GtkTreeModelFilter GtkTreeModelFilter; >typedef struct _GtkTreeModelFilterClass GtkTreeModelFilterClass; >typedef struct _GtkTreeModelFilterPrivate GtkTreeModelFilterPrivate; > >struct _GtkTreeModelFilter >{ > GObject parent; > > > GtkTreeModelFilterPrivate *priv; >}; > >struct _GtkTreeModelFilterClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved0) (void); > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > > >GType gtk_tree_model_filter_get_type (void); >GtkTreeModel *gtk_tree_model_filter_new (GtkTreeModel *child_model, > GtkTreePath *root); >void gtk_tree_model_filter_set_visible_func (GtkTreeModelFilter *filter, > GtkTreeModelFilterVisibleFunc func, > gpointer data, > GtkDestroyNotify destroy); >void gtk_tree_model_filter_set_modify_func (GtkTreeModelFilter *filter, > gint n_columns, > GType *types, > GtkTreeModelFilterModifyFunc func, > gpointer data, > GtkDestroyNotify destroy); >void gtk_tree_model_filter_set_visible_column (GtkTreeModelFilter *filter, > gint column); > >GtkTreeModel *gtk_tree_model_filter_get_model (GtkTreeModelFilter *filter); > > >void gtk_tree_model_filter_convert_child_iter_to_iter (GtkTreeModelFilter *filter, > GtkTreeIter *filter_iter, > GtkTreeIter *child_iter); >void gtk_tree_model_filter_convert_iter_to_child_iter (GtkTreeModelFilter *filter, > GtkTreeIter *child_iter, > GtkTreeIter *filter_iter); >GtkTreePath *gtk_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter, > GtkTreePath *child_path); >GtkTreePath *gtk_tree_model_filter_convert_path_to_child_path (GtkTreeModelFilter *filter, > GtkTreePath *filter_path); > > >void gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter); >void gtk_tree_model_filter_clear_cache (GtkTreeModelFilter *filter); > >} ># 29 "/usr/include/gtk-2.0/gtk/gtkentrycompletion.h" 2 > >extern "C" { ># 39 "/usr/include/gtk-2.0/gtk/gtkentrycompletion.h" >typedef struct _GtkEntryCompletion GtkEntryCompletion; >typedef struct _GtkEntryCompletionClass GtkEntryCompletionClass; >typedef struct _GtkEntryCompletionPrivate GtkEntryCompletionPrivate; > >typedef gboolean (* GtkEntryCompletionMatchFunc) (GtkEntryCompletion *completion, > const gchar *key, > GtkTreeIter *iter, > gpointer user_data); > > >struct _GtkEntryCompletion >{ > GObject parent_instance; > > > GtkEntryCompletionPrivate *priv; >}; > >struct _GtkEntryCompletionClass >{ > GObjectClass parent_class; > > gboolean (* match_selected) (GtkEntryCompletion *completion, > GtkTreeModel *model, > GtkTreeIter *iter); > void (* action_activated) (GtkEntryCompletion *completion, > gint index); > > > void (*_gtk_reserved0) (void); > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > > >GType gtk_entry_completion_get_type (void); >GtkEntryCompletion *gtk_entry_completion_new (void); > >GtkWidget *gtk_entry_completion_get_entry (GtkEntryCompletion *completion); > >void gtk_entry_completion_set_model (GtkEntryCompletion *completion, > GtkTreeModel *model); >GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion); > >void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, > GtkEntryCompletionMatchFunc func, > gpointer func_data, > GDestroyNotify func_notify); >void gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion, > gint length); >gint gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion *completion); >void gtk_entry_completion_complete (GtkEntryCompletion *completion); > >void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion, > gint index, > const gchar *text); >void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion, > gint index, > const gchar *markup); >void gtk_entry_completion_delete_action (GtkEntryCompletion *completion, > gint index); > > >void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion, > gint column); > >} ># 36 "/usr/include/gtk-2.0/gtk/gtkentry.h" 2 > > > >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtkentry.h" >typedef struct _GtkEntry GtkEntry; >typedef struct _GtkEntryClass GtkEntryClass; > >struct _GtkEntry >{ > GtkWidget widget; > > gchar *text; > > guint editable : 1; > guint visible : 1; > guint overwrite_mode : 1; > guint in_drag : 1; > > guint16 text_length; > guint16 text_max_length; > > > GdkWindow *text_area; > GtkIMContext *im_context; > GtkWidget *popup_menu; > > gint current_pos; > gint selection_bound; > > PangoLayout *cached_layout; > guint cache_includes_preedit : 1; > > guint need_im_reset : 1; > > guint has_frame : 1; > > guint activates_default : 1; > > guint cursor_visible : 1; > > guint in_click : 1; > > guint is_cell_renderer : 1; > guint editing_canceled : 1; > > guint mouse_cursor_obscured : 1; > > guint select_words : 1; > guint select_lines : 1; > guint resolved_dir : 4; > guint button; > guint blink_timeout; > guint recompute_idle; > gint scroll_offset; > gint ascent; > gint descent; > > guint16 text_size; > guint16 n_bytes; > > guint16 preedit_length; > guint16 preedit_cursor; > > gint dnd_position; > > gint drag_start_x; > gint drag_start_y; > > gunichar invisible_char; > > gint width_chars; >}; > >struct _GtkEntryClass >{ > GtkWidgetClass parent_class; > > > void (* populate_popup) (GtkEntry *entry, > GtkMenu *menu); > > > > void (* activate) (GtkEntry *entry); > void (* move_cursor) (GtkEntry *entry, > GtkMovementStep step, > gint count, > gboolean extend_selection); > void (* insert_at_cursor) (GtkEntry *entry, > const gchar *str); > void (* delete_from_cursor) (GtkEntry *entry, > GtkDeleteType type, > gint count); > void (* cut_clipboard) (GtkEntry *entry); > void (* copy_clipboard) (GtkEntry *entry); > void (* paste_clipboard) (GtkEntry *entry); > void (* toggle_overwrite) (GtkEntry *entry); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_entry_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_entry_new (void); >void gtk_entry_set_visibility (GtkEntry *entry, > gboolean visible); >gboolean gtk_entry_get_visibility (GtkEntry *entry); >void gtk_entry_set_invisible_char (GtkEntry *entry, > gunichar ch); >gunichar gtk_entry_get_invisible_char (GtkEntry *entry); >void gtk_entry_set_has_frame (GtkEntry *entry, > gboolean setting); >gboolean gtk_entry_get_has_frame (GtkEntry *entry); > >void gtk_entry_set_max_length (GtkEntry *entry, > gint max); >gint gtk_entry_get_max_length (GtkEntry *entry); >void gtk_entry_set_activates_default (GtkEntry *entry, > gboolean setting); >gboolean gtk_entry_get_activates_default (GtkEntry *entry); > >void gtk_entry_set_width_chars (GtkEntry *entry, > gint n_chars); >gint gtk_entry_get_width_chars (GtkEntry *entry); > > > >void gtk_entry_set_text (GtkEntry *entry, > const gchar *text); > >const gchar* gtk_entry_get_text (GtkEntry *entry); > >PangoLayout* gtk_entry_get_layout (GtkEntry *entry); >void gtk_entry_get_layout_offsets (GtkEntry *entry, > gint *x, > gint *y); >void gtk_entry_set_alignment (GtkEntry *entry, > gfloat xalign); >gfloat gtk_entry_get_alignment (GtkEntry *entry); > >void gtk_entry_set_completion (GtkEntry *entry, > GtkEntryCompletion *completion); >GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); > > > > > >GtkWidget* gtk_entry_new_with_max_length (gint max); >void gtk_entry_append_text (GtkEntry *entry, > const gchar *text); >void gtk_entry_prepend_text (GtkEntry *entry, > const gchar *text); >void gtk_entry_set_position (GtkEntry *entry, > gint position); >void gtk_entry_select_region (GtkEntry *entry, > gint start, > gint end); >void gtk_entry_set_editable (GtkEntry *entry, > gboolean editable); > > > >} ># 71 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtkeventbox.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkeventbox.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkeventbox.h" >typedef struct _GtkEventBox GtkEventBox; >typedef struct _GtkEventBoxClass GtkEventBoxClass; > >struct _GtkEventBox >{ > GtkBin bin; >}; > >struct _GtkEventBoxClass >{ > GtkBinClass parent_class; >}; > >GType gtk_event_box_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_event_box_new (void); >gboolean gtk_event_box_get_visible_window (GtkEventBox *event_box); >void gtk_event_box_set_visible_window (GtkEventBox *event_box, > gboolean visible_window); >gboolean gtk_event_box_get_above_child (GtkEventBox *event_box); >void gtk_event_box_set_above_child (GtkEventBox *event_box, > gboolean above_child); > > >} ># 74 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkexpander.h" 1 ># 29 "/usr/include/gtk-2.0/gtk/gtkexpander.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtkexpander.h" >typedef struct _GtkExpander GtkExpander; >typedef struct _GtkExpanderClass GtkExpanderClass; >typedef struct _GtkExpanderPrivate GtkExpanderPrivate; > >struct _GtkExpander >{ > GtkBin bin; > > GtkExpanderPrivate *priv; >}; > >struct _GtkExpanderClass >{ > GtkBinClass parent_class; > > > > > void (* activate) (GtkExpander *expander); >}; > >GType gtk_expander_get_type (void); > >GtkWidget *gtk_expander_new (const gchar *label); >GtkWidget *gtk_expander_new_with_mnemonic (const gchar *label); > >void gtk_expander_set_expanded (GtkExpander *expander, > gboolean expanded); >gboolean gtk_expander_get_expanded (GtkExpander *expander); > > >void gtk_expander_set_spacing (GtkExpander *expander, > gint spacing); >gint gtk_expander_get_spacing (GtkExpander *expander); > >void gtk_expander_set_label (GtkExpander *expander, > const gchar *label); >const gchar *gtk_expander_get_label (GtkExpander *expander); > >void gtk_expander_set_use_underline (GtkExpander *expander, > gboolean use_underline); >gboolean gtk_expander_get_use_underline (GtkExpander *expander); > >void gtk_expander_set_use_markup (GtkExpander *expander, > gboolean use_markup); >gboolean gtk_expander_get_use_markup (GtkExpander *expander); > >void gtk_expander_set_label_widget (GtkExpander *expander, > GtkWidget *label_widget); >GtkWidget *gtk_expander_get_label_widget (GtkExpander *expander); > >} ># 75 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfilesel.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkfilesel.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkfilesel.h" >typedef struct _GtkFileSelection GtkFileSelection; >typedef struct _GtkFileSelectionClass GtkFileSelectionClass; > >struct _GtkFileSelection >{ > > GtkDialog parent_instance; > > > GtkWidget *dir_list; > GtkWidget *file_list; > GtkWidget *selection_entry; > GtkWidget *selection_text; > GtkWidget *main_vbox; > GtkWidget *ok_button; > GtkWidget *cancel_button; > GtkWidget *help_button; > GtkWidget *history_pulldown; > GtkWidget *history_menu; > GList *history_list; > GtkWidget *fileop_dialog; > GtkWidget *fileop_entry; > gchar *fileop_file; > gpointer cmpl_state; > > GtkWidget *fileop_c_dir; > GtkWidget *fileop_del_file; > GtkWidget *fileop_ren_file; > > GtkWidget *button_area; > GtkWidget *action_area; > > > GPtrArray *selected_names; > gchar *last_selected; >}; > >struct _GtkFileSelectionClass >{ > GtkDialogClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_file_selection_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_file_selection_new (const gchar *title); >void gtk_file_selection_set_filename (GtkFileSelection *filesel, > const gchar *filename); > > > > > > >const gchar* gtk_file_selection_get_filename (GtkFileSelection *filesel); > >void gtk_file_selection_complete (GtkFileSelection *filesel, > const gchar *pattern); >void gtk_file_selection_show_fileop_buttons (GtkFileSelection *filesel); >void gtk_file_selection_hide_fileop_buttons (GtkFileSelection *filesel); > >gchar** gtk_file_selection_get_selections (GtkFileSelection *filesel); > >void gtk_file_selection_set_select_multiple (GtkFileSelection *filesel, > gboolean select_multiple); >gboolean gtk_file_selection_get_select_multiple (GtkFileSelection *filesel); > > >} ># 76 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfixed.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkfixed.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkfixed.h" >typedef struct _GtkFixed GtkFixed; >typedef struct _GtkFixedClass GtkFixedClass; >typedef struct _GtkFixedChild GtkFixedChild; > >struct _GtkFixed >{ > GtkContainer container; > > GList *children; >}; > >struct _GtkFixedClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkFixedChild >{ > GtkWidget *widget; > gint x; > gint y; >}; > > >GType gtk_fixed_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_fixed_new (void); >void gtk_fixed_put (GtkFixed *fixed, > GtkWidget *widget, > gint x, > gint y); >void gtk_fixed_move (GtkFixed *fixed, > GtkWidget *widget, > gint x, > gint y); >void gtk_fixed_set_has_window (GtkFixed *fixed, > gboolean has_window); >gboolean gtk_fixed_get_has_window (GtkFixed *fixed); > > >} ># 77 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h" 1 ># 25 "/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkfilechooser.h" 1 ># 24 "/usr/include/gtk-2.0/gtk/gtkfilechooser.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkfilefilter.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkfilefilter.h" >extern "C" { > > > > > >typedef struct _GtkFileFilter GtkFileFilter; >typedef struct _GtkFileFilterInfo GtkFileFilterInfo; > >typedef enum { > GTK_FILE_FILTER_FILENAME = 1 << 0, > GTK_FILE_FILTER_URI = 1 << 1, > GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2, > GTK_FILE_FILTER_MIME_TYPE = 1 << 3 >} GtkFileFilterFlags; > >typedef gboolean (*GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, > gpointer data); > >struct _GtkFileFilterInfo >{ > GtkFileFilterFlags contains; > > const gchar *filename; > const gchar *uri; > const gchar *display_name; > const gchar *mime_type; >}; > >GType gtk_file_filter_get_type (void); > >GtkFileFilter * gtk_file_filter_new (void); >void gtk_file_filter_set_name (GtkFileFilter *filter, > const gchar *name); >const gchar *gtk_file_filter_get_name (GtkFileFilter *filter); > >void gtk_file_filter_add_mime_type (GtkFileFilter *filter, > const gchar *mime_type); >void gtk_file_filter_add_pattern (GtkFileFilter *filter, > const gchar *pattern); >void gtk_file_filter_add_custom (GtkFileFilter *filter, > GtkFileFilterFlags needed, > GtkFileFilterFunc func, > gpointer data, > GDestroyNotify notify); > >GtkFileFilterFlags gtk_file_filter_get_needed (GtkFileFilter *filter); >gboolean gtk_file_filter_filter (GtkFileFilter *filter, > const GtkFileFilterInfo *filter_info); > >} ># 25 "/usr/include/gtk-2.0/gtk/gtkfilechooser.h" 2 > > >extern "C" { > > > > > >typedef struct _GtkFileChooser GtkFileChooser; > >typedef enum >{ > GTK_FILE_CHOOSER_ACTION_OPEN, > GTK_FILE_CHOOSER_ACTION_SAVE, > GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, > GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER >} GtkFileChooserAction; > >GType gtk_file_chooser_get_type (void); > > > > > >typedef enum { > GTK_FILE_CHOOSER_ERROR_NONEXISTENT, > GTK_FILE_CHOOSER_ERROR_BAD_FILENAME >} GtkFileChooserError; > >GQuark gtk_file_chooser_error_quark (void); > > > >void gtk_file_chooser_set_action (GtkFileChooser *chooser, > GtkFileChooserAction action); >GtkFileChooserAction gtk_file_chooser_get_action (GtkFileChooser *chooser); >void gtk_file_chooser_set_local_only (GtkFileChooser *chooser, > gboolean local_only); >gboolean gtk_file_chooser_get_local_only (GtkFileChooser *chooser); >void gtk_file_chooser_set_select_multiple (GtkFileChooser *chooser, > gboolean select_multiple); >gboolean gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser); > > > >void gtk_file_chooser_set_current_name (GtkFileChooser *chooser, > const gchar *name); > > > >gchar * gtk_file_chooser_get_filename (GtkFileChooser *chooser); >gboolean gtk_file_chooser_set_filename (GtkFileChooser *chooser, > const char *filename); >gboolean gtk_file_chooser_select_filename (GtkFileChooser *chooser, > const char *filename); >void gtk_file_chooser_unselect_filename (GtkFileChooser *chooser, > const char *filename); >void gtk_file_chooser_select_all (GtkFileChooser *chooser); >void gtk_file_chooser_unselect_all (GtkFileChooser *chooser); >GSList * gtk_file_chooser_get_filenames (GtkFileChooser *chooser); >gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser, > const gchar *filename); >gchar * gtk_file_chooser_get_current_folder (GtkFileChooser *chooser); > > > > >gchar * gtk_file_chooser_get_uri (GtkFileChooser *chooser); >gboolean gtk_file_chooser_set_uri (GtkFileChooser *chooser, > const char *uri); >gboolean gtk_file_chooser_select_uri (GtkFileChooser *chooser, > const char *uri); >void gtk_file_chooser_unselect_uri (GtkFileChooser *chooser, > const char *uri); >GSList * gtk_file_chooser_get_uris (GtkFileChooser *chooser); >gboolean gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser, > const gchar *uri); >gchar * gtk_file_chooser_get_current_folder_uri (GtkFileChooser *chooser); > > > >void gtk_file_chooser_set_preview_widget (GtkFileChooser *chooser, > GtkWidget *preview_widget); >GtkWidget *gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser); >void gtk_file_chooser_set_preview_widget_active (GtkFileChooser *chooser, > gboolean active); >gboolean gtk_file_chooser_get_preview_widget_active (GtkFileChooser *chooser); >void gtk_file_chooser_set_use_preview_label (GtkFileChooser *chooser, > gboolean use_label); >gboolean gtk_file_chooser_get_use_preview_label (GtkFileChooser *chooser); > >char *gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser); >char *gtk_file_chooser_get_preview_uri (GtkFileChooser *chooser); > > > >void gtk_file_chooser_set_extra_widget (GtkFileChooser *chooser, > GtkWidget *extra_widget); >GtkWidget *gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser); > > > >void gtk_file_chooser_add_filter (GtkFileChooser *chooser, > GtkFileFilter *filter); >void gtk_file_chooser_remove_filter (GtkFileChooser *chooser, > GtkFileFilter *filter); >GSList *gtk_file_chooser_list_filters (GtkFileChooser *chooser); > > > >void gtk_file_chooser_set_filter (GtkFileChooser *chooser, > GtkFileFilter *filter); >GtkFileFilter *gtk_file_chooser_get_filter (GtkFileChooser *chooser); > > > >gboolean gtk_file_chooser_add_shortcut_folder (GtkFileChooser *chooser, > const char *folder, > GError **error); >gboolean gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser, > const char *folder, > GError **error); >GSList *gtk_file_chooser_list_shortcut_folders (GtkFileChooser *chooser); > >gboolean gtk_file_chooser_add_shortcut_folder_uri (GtkFileChooser *chooser, > const char *uri, > GError **error); >gboolean gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser, > const char *uri, > GError **error); >GSList *gtk_file_chooser_list_shortcut_folder_uris (GtkFileChooser *chooser); > >} ># 26 "/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h" 2 > >extern "C" { ># 36 "/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h" >typedef struct _GtkFileChooserDialog GtkFileChooserDialog; >typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass; > >typedef struct _GtkFileChooserDialogPrivate GtkFileChooserDialogPrivate; > >struct _GtkFileChooserDialogClass >{ > GtkDialogClass parent_class; >}; > >struct _GtkFileChooserDialog >{ > GtkDialog parent_instance; > > GtkFileChooserDialogPrivate *priv; >}; > >GType gtk_file_chooser_dialog_get_type (void); >GtkWidget *gtk_file_chooser_dialog_new (const gchar *title, > GtkWindow *parent, > GtkFileChooserAction action, > const gchar *first_button_text, > ...); >GtkWidget *gtk_file_chooser_dialog_new_with_backend (const gchar *title, > GtkWindow *parent, > GtkFileChooserAction action, > const gchar *backend, > const gchar *first_button_text, > ...); > >} ># 78 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h" >extern "C" { ># 36 "/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h" >typedef struct _GtkFileChooserWidget GtkFileChooserWidget; >typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass; > >typedef struct _GtkFileChooserWidgetPrivate GtkFileChooserWidgetPrivate; > >struct _GtkFileChooserWidgetClass >{ > GtkVBoxClass parent_class; >}; > >struct _GtkFileChooserWidget >{ > GtkVBox parent_instance; > > GtkFileChooserWidgetPrivate *priv; >}; > >GType gtk_file_chooser_widget_get_type (void); >GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action); >GtkWidget *gtk_file_chooser_widget_new_with_backend (GtkFileChooserAction action, > const gchar *backend); >} ># 79 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfontbutton.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkfontbutton.h" >extern "C" { ># 45 "/usr/include/gtk-2.0/gtk/gtkfontbutton.h" >typedef struct _GtkFontButton GtkFontButton; >typedef struct _GtkFontButtonClass GtkFontButtonClass; >typedef struct _GtkFontButtonPrivate GtkFontButtonPrivate; > >struct _GtkFontButton { > GtkButton button; > > > GtkFontButtonPrivate *priv; >}; > >struct _GtkFontButtonClass { > GtkButtonClass parent_class; > > > void (* font_set) (GtkFontButton *gfp); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_font_button_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_font_button_new (void); >GtkWidget *gtk_font_button_new_with_font (const gchar *fontname); > >const gchar *gtk_font_button_get_title (GtkFontButton *font_button); >void gtk_font_button_set_title (GtkFontButton *font_button, > const gchar *title); >gboolean gtk_font_button_get_use_font (GtkFontButton *font_button); >void gtk_font_button_set_use_font (GtkFontButton *font_button, > gboolean use_font); >gboolean gtk_font_button_get_use_size (GtkFontButton *font_button); >void gtk_font_button_set_use_size (GtkFontButton *font_button, > gboolean use_size); >const gchar* gtk_font_button_get_font_name (GtkFontButton *font_button); >gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, > const gchar *fontname); >gboolean gtk_font_button_get_show_style (GtkFontButton *font_button); >void gtk_font_button_set_show_style (GtkFontButton *font_button, > gboolean show_style); >gboolean gtk_font_button_get_show_size (GtkFontButton *font_button); >void gtk_font_button_set_show_size (GtkFontButton *font_button, > gboolean show_size); > >} ># 80 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkfontsel.h" 1 ># 40 "/usr/include/gtk-2.0/gtk/gtkfontsel.h" >extern "C" { ># 59 "/usr/include/gtk-2.0/gtk/gtkfontsel.h" >typedef struct _GtkFontSelection GtkFontSelection; >typedef struct _GtkFontSelectionClass GtkFontSelectionClass; > >typedef struct _GtkFontSelectionDialog GtkFontSelectionDialog; >typedef struct _GtkFontSelectionDialogClass GtkFontSelectionDialogClass; > >struct _GtkFontSelection >{ > GtkVBox parent_instance; > > GtkWidget *font_entry; > GtkWidget *family_list; > GtkWidget *font_style_entry; > GtkWidget *face_list; > GtkWidget *size_entry; > GtkWidget *size_list; > GtkWidget *pixels_button; > GtkWidget *points_button; > GtkWidget *filter_button; > GtkWidget *preview_entry; > > PangoFontFamily *family; > PangoFontFace *face; > > gint size; > > GdkFont *font; > > >}; > >struct _GtkFontSelectionClass >{ > GtkVBoxClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >struct _GtkFontSelectionDialog >{ > GtkDialog parent_instance; > > > GtkWidget *fontsel; > > GtkWidget *main_vbox; > GtkWidget *action_area; > > GtkWidget *ok_button; > GtkWidget *apply_button; > GtkWidget *cancel_button; > > > > > > > gint dialog_width; > gboolean auto_resize; >}; > >struct _GtkFontSelectionDialogClass >{ > GtkDialogClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; ># 143 "/usr/include/gtk-2.0/gtk/gtkfontsel.h" >GType gtk_font_selection_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_font_selection_new (void); >gchar* gtk_font_selection_get_font_name (GtkFontSelection *fontsel); > > >GdkFont* gtk_font_selection_get_font (GtkFontSelection *fontsel); > > >gboolean gtk_font_selection_set_font_name (GtkFontSelection *fontsel, > const gchar *fontname); >const gchar* gtk_font_selection_get_preview_text (GtkFontSelection *fontsel); >void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel, > const gchar *text); > > > > > > > >GType gtk_font_selection_dialog_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_font_selection_dialog_new (const gchar *title); > > > > > > >gchar* gtk_font_selection_dialog_get_font_name (GtkFontSelectionDialog *fsd); > > > > > >GdkFont* gtk_font_selection_dialog_get_font (GtkFontSelectionDialog *fsd); > > > > > > >gboolean gtk_font_selection_dialog_set_font_name (GtkFontSelectionDialog *fsd, > const gchar *fontname); > > > >const gchar* gtk_font_selection_dialog_get_preview_text (GtkFontSelectionDialog *fsd); > > > >void gtk_font_selection_dialog_set_preview_text (GtkFontSelectionDialog *fsd, > const gchar *text); > > > >} ># 81 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkgamma.h" 1 ># 46 "/usr/include/gtk-2.0/gtk/gtkgamma.h" >extern "C" { ># 57 "/usr/include/gtk-2.0/gtk/gtkgamma.h" >typedef struct _GtkGammaCurve GtkGammaCurve; >typedef struct _GtkGammaCurveClass GtkGammaCurveClass; > > >struct _GtkGammaCurve >{ > GtkVBox vbox; > > GtkWidget *table; > GtkWidget *curve; > GtkWidget *button[5]; > > gfloat gamma; > GtkWidget *gamma_dialog; > GtkWidget *gamma_text; >}; > >struct _GtkGammaCurveClass >{ > GtkVBoxClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_gamma_curve_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_gamma_curve_new (void); > > > >} ># 83 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkgc.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtkgc.h" >extern "C" { > > > >GdkGC* gtk_gc_get (gint depth, > GdkColormap *colormap, > GdkGCValues *values, > GdkGCValuesMask values_mask); >void gtk_gc_release (GdkGC *gc); > > > >} ># 84 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkhandlebox.h" 1 ># 42 "/usr/include/gtk-2.0/gtk/gtkhandlebox.h" >extern "C" { ># 54 "/usr/include/gtk-2.0/gtk/gtkhandlebox.h" >typedef struct _GtkHandleBox GtkHandleBox; >typedef struct _GtkHandleBoxClass GtkHandleBoxClass; > >struct _GtkHandleBox >{ > GtkBin bin; > > GdkWindow *bin_window; > GdkWindow *float_window; > GtkShadowType shadow_type; > guint handle_position : 2; > guint float_window_mapped : 1; > guint child_detached : 1; > guint in_drag : 1; > guint shrink_on_detach : 1; > > signed int snap_edge : 3; > > > > gint deskoff_x, deskoff_y; > > GtkAllocation attach_allocation; > GtkAllocation float_allocation; >}; > >struct _GtkHandleBoxClass >{ > GtkBinClass parent_class; > > void (*child_attached) (GtkHandleBox *handle_box, > GtkWidget *child); > void (*child_detached) (GtkHandleBox *handle_box, > GtkWidget *child); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_handle_box_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_handle_box_new (void); >void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box, > GtkShadowType type); >GtkShadowType gtk_handle_box_get_shadow_type (GtkHandleBox *handle_box); >void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box, > GtkPositionType position); >GtkPositionType gtk_handle_box_get_handle_position(GtkHandleBox *handle_box); >void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box, > GtkPositionType edge); >GtkPositionType gtk_handle_box_get_snap_edge (GtkHandleBox *handle_box); > > > > >} ># 85 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkhbbox.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtkhbbox.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkhbbox.h" >typedef struct _GtkHButtonBox GtkHButtonBox; >typedef struct _GtkHButtonBoxClass GtkHButtonBoxClass; > >struct _GtkHButtonBox >{ > GtkButtonBox button_box; >}; > >struct _GtkHButtonBoxClass >{ > GtkButtonBoxClass parent_class; >}; > > >GType gtk_hbutton_box_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hbutton_box_new (void); > > > > >gint gtk_hbutton_box_get_spacing_default (void); >GtkButtonBoxStyle gtk_hbutton_box_get_layout_default (void); > >void gtk_hbutton_box_set_spacing_default (gint spacing); >void gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout); > > > >} ># 86 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkhpaned.h" 1 ># 30 "/usr/include/gtk-2.0/gtk/gtkhpaned.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkpaned.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkpaned.h" >extern "C" { ># 46 "/usr/include/gtk-2.0/gtk/gtkpaned.h" >typedef struct _GtkPaned GtkPaned; >typedef struct _GtkPanedClass GtkPanedClass; >typedef struct _GtkPanedPrivate GtkPanedPrivate; > >struct _GtkPaned >{ > GtkContainer container; > > GtkWidget *child1; > GtkWidget *child2; > > GdkWindow *handle; > GdkGC *xor_gc; > GdkCursorType cursor_type; > > > GdkRectangle handle_pos; > > gint child1_size; > gint last_allocation; > gint min_position; > gint max_position; > > guint position_set : 1; > guint in_drag : 1; > guint child1_shrink : 1; > guint child1_resize : 1; > guint child2_shrink : 1; > guint child2_resize : 1; > guint orientation : 1; > guint in_recursion : 1; > guint handle_prelit : 1; > > GtkWidget *last_child1_focus; > GtkWidget *last_child2_focus; > GtkPanedPrivate *priv; > > gint drag_pos; > gint original_position; >}; > >struct _GtkPanedClass >{ > GtkContainerClass parent_class; > > gboolean (* cycle_child_focus) (GtkPaned *paned, > gboolean reverse); > gboolean (* toggle_handle_focus) (GtkPaned *paned); > gboolean (* move_handle) (GtkPaned *paned, > GtkScrollType scroll); > gboolean (* cycle_handle_focus) (GtkPaned *paned, > gboolean reverse); > gboolean (* accept_position) (GtkPaned *paned); > gboolean (* cancel_position) (GtkPaned *paned); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_paned_get_type (void) __attribute__((__const__)); >void gtk_paned_add1 (GtkPaned *paned, > GtkWidget *child); >void gtk_paned_add2 (GtkPaned *paned, > GtkWidget *child); >void gtk_paned_pack1 (GtkPaned *paned, > GtkWidget *child, > gboolean resize, > gboolean shrink); >void gtk_paned_pack2 (GtkPaned *paned, > GtkWidget *child, > gboolean resize, > gboolean shrink); >gint gtk_paned_get_position (GtkPaned *paned); >void gtk_paned_set_position (GtkPaned *paned, > gint position); > >GtkWidget *gtk_paned_get_child1 (GtkPaned *paned); >GtkWidget *gtk_paned_get_child2 (GtkPaned *paned); > > > >void gtk_paned_compute_position (GtkPaned *paned, > gint allocation, > gint child1_req, > gint child2_req); > > > > > > > >} ># 31 "/usr/include/gtk-2.0/gtk/gtkhpaned.h" 2 > > >extern "C" { ># 44 "/usr/include/gtk-2.0/gtk/gtkhpaned.h" >typedef struct _GtkHPaned GtkHPaned; >typedef struct _GtkHPanedClass GtkHPanedClass; > >struct _GtkHPaned >{ > GtkPaned paned; >}; > >struct _GtkHPanedClass >{ > GtkPanedClass parent_class; >}; > >GType gtk_hpaned_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_hpaned_new (void); > > >} ># 88 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkhruler.h" 1 ># 42 "/usr/include/gtk-2.0/gtk/gtkhruler.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkruler.h" 1 ># 46 "/usr/include/gtk-2.0/gtk/gtkruler.h" >extern "C" { ># 58 "/usr/include/gtk-2.0/gtk/gtkruler.h" >typedef struct _GtkRuler GtkRuler; >typedef struct _GtkRulerClass GtkRulerClass; >typedef struct _GtkRulerMetric GtkRulerMetric; > > > > >struct _GtkRuler >{ > GtkWidget widget; > > GdkPixmap *backing_store; > GdkGC *non_gr_exp_gc; > GtkRulerMetric *metric; > gint xsrc, ysrc; > gint slider_size; > > > gdouble lower; > > gdouble upper; > > gdouble position; > > gdouble max_size; >}; > >struct _GtkRulerClass >{ > GtkWidgetClass parent_class; > > void (* draw_ticks) (GtkRuler *ruler); > void (* draw_pos) (GtkRuler *ruler); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >struct _GtkRulerMetric >{ > gchar *metric_name; > gchar *abbrev; > > > gdouble pixels_per_unit; > gdouble ruler_scale[10]; > gint subdivide[5]; >}; > > >GType gtk_ruler_get_type (void) __attribute__((__const__)); >void gtk_ruler_set_metric (GtkRuler *ruler, > GtkMetricType metric); >void gtk_ruler_set_range (GtkRuler *ruler, > gdouble lower, > gdouble upper, > gdouble position, > gdouble max_size); >void gtk_ruler_draw_ticks (GtkRuler *ruler); >void gtk_ruler_draw_pos (GtkRuler *ruler); > >GtkMetricType gtk_ruler_get_metric (GtkRuler *ruler); >void gtk_ruler_get_range (GtkRuler *ruler, > gdouble *lower, > gdouble *upper, > gdouble *position, > gdouble *max_size); > > >} ># 43 "/usr/include/gtk-2.0/gtk/gtkhruler.h" 2 > > > >extern "C" { ># 58 "/usr/include/gtk-2.0/gtk/gtkhruler.h" >typedef struct _GtkHRuler GtkHRuler; >typedef struct _GtkHRulerClass GtkHRulerClass; > >struct _GtkHRuler >{ > GtkRuler ruler; >}; > >struct _GtkHRulerClass >{ > GtkRulerClass parent_class; >}; > > >GType gtk_hruler_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hruler_new (void); > > > >} ># 89 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkhscale.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkhscale.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkscale.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkscale.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkscale.h" >typedef struct _GtkScale GtkScale; >typedef struct _GtkScaleClass GtkScaleClass; > >struct _GtkScale >{ > GtkRange range; > > gint digits; > guint draw_value : 1; > guint value_pos : 2; >}; > >struct _GtkScaleClass >{ > GtkRangeClass parent_class; > > gchar* (* format_value) (GtkScale *scale, > gdouble value); > > void (* draw_value) (GtkScale *scale); > > void (* get_layout_offsets) (GtkScale *scale, > gint *x, > gint *y); > > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_scale_get_type (void) __attribute__((__const__)); > >void gtk_scale_set_digits (GtkScale *scale, > gint digits); >gint gtk_scale_get_digits (GtkScale *scale); >void gtk_scale_set_draw_value (GtkScale *scale, > gboolean draw_value); >gboolean gtk_scale_get_draw_value (GtkScale *scale); >void gtk_scale_set_value_pos (GtkScale *scale, > GtkPositionType pos); >GtkPositionType gtk_scale_get_value_pos (GtkScale *scale); > >PangoLayout *gtk_scale_get_layout (GtkScale *scale); >void gtk_scale_get_layout_offsets (GtkScale *scale, > gint *x, > gint *y); >void _gtk_scale_clear_layout (GtkScale *scale); > >void _gtk_scale_get_value_size (GtkScale *scale, > gint *width, > gint *height); >gchar *_gtk_scale_format_value (GtkScale *scale, > gdouble value); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkhscale.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkhscale.h" >typedef struct _GtkHScale GtkHScale; >typedef struct _GtkHScaleClass GtkHScaleClass; > >struct _GtkHScale >{ > GtkScale scale; >}; > >struct _GtkHScaleClass >{ > GtkScaleClass parent_class; >}; > > >GType gtk_hscale_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment); >GtkWidget* gtk_hscale_new_with_range (gdouble min, > gdouble max, > gdouble step); > > > >} ># 90 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkhseparator.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkhseparator.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkseparator.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkseparator.h" >extern "C" { ># 49 "/usr/include/gtk-2.0/gtk/gtkseparator.h" >typedef struct _GtkSeparator GtkSeparator; >typedef struct _GtkSeparatorClass GtkSeparatorClass; > >struct _GtkSeparator >{ > GtkWidget widget; >}; > >struct _GtkSeparatorClass >{ > GtkWidgetClass parent_class; >}; > > >GType gtk_separator_get_type (void) __attribute__((__const__)); > > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtkhseparator.h" 2 > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkhseparator.h" >typedef struct _GtkHSeparator GtkHSeparator; >typedef struct _GtkHSeparatorClass GtkHSeparatorClass; > >struct _GtkHSeparator >{ > GtkSeparator separator; >}; > >struct _GtkHSeparatorClass >{ > GtkSeparatorClass parent_class; >}; > > >GType gtk_hseparator_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_hseparator_new (void); > > > > >} ># 92 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkiconfactory.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkiconfactory.h" >extern "C" { > > >typedef struct _GtkIconFactoryClass GtkIconFactoryClass; ># 48 "/usr/include/gtk-2.0/gtk/gtkiconfactory.h" >struct _GtkIconFactory >{ > GObject parent_instance; > > GHashTable *icons; >}; > >struct _GtkIconFactoryClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_icon_factory_get_type (void); >GtkIconFactory* gtk_icon_factory_new (void); >void gtk_icon_factory_add (GtkIconFactory *factory, > const gchar *stock_id, > GtkIconSet *icon_set); >GtkIconSet* gtk_icon_factory_lookup (GtkIconFactory *factory, > const gchar *stock_id); > > > >void gtk_icon_factory_add_default (GtkIconFactory *factory); >void gtk_icon_factory_remove_default (GtkIconFactory *factory); >GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id); ># 92 "/usr/include/gtk-2.0/gtk/gtkiconfactory.h" >gboolean gtk_icon_size_lookup (GtkIconSize size, > gint *width, > gint *height); > >gboolean gtk_icon_size_lookup_for_settings (GtkSettings *settings, > GtkIconSize size, > gint *width, > gint *height); > >GtkIconSize gtk_icon_size_register (const gchar *name, > gint width, > gint height); >void gtk_icon_size_register_alias (const gchar *alias, > GtkIconSize target); >GtkIconSize gtk_icon_size_from_name (const gchar *name); >const gchar* gtk_icon_size_get_name (GtkIconSize size); > > > >GType gtk_icon_set_get_type (void); >GtkIconSet* gtk_icon_set_new (void); >GtkIconSet* gtk_icon_set_new_from_pixbuf (GdkPixbuf *pixbuf); > >GtkIconSet* gtk_icon_set_ref (GtkIconSet *icon_set); >void gtk_icon_set_unref (GtkIconSet *icon_set); >GtkIconSet* gtk_icon_set_copy (GtkIconSet *icon_set); > > > > >GdkPixbuf* gtk_icon_set_render_icon (GtkIconSet *icon_set, > GtkStyle *style, > GtkTextDirection direction, > GtkStateType state, > GtkIconSize size, > GtkWidget *widget, > const char *detail); > > >void gtk_icon_set_add_source (GtkIconSet *icon_set, > const GtkIconSource *source); > >void gtk_icon_set_get_sizes (GtkIconSet *icon_set, > GtkIconSize **sizes, > gint *n_sizes); > >GType gtk_icon_source_get_type (void); >GtkIconSource* gtk_icon_source_new (void); >GtkIconSource* gtk_icon_source_copy (const GtkIconSource *source); >void gtk_icon_source_free (GtkIconSource *source); > >void gtk_icon_source_set_filename (GtkIconSource *source, > const gchar *filename); >void gtk_icon_source_set_icon_name (GtkIconSource *source, > const gchar *icon_name); >void gtk_icon_source_set_pixbuf (GtkIconSource *source, > GdkPixbuf *pixbuf); > >const gchar* gtk_icon_source_get_filename (const GtkIconSource *source); >const gchar* gtk_icon_source_get_icon_name (const GtkIconSource *source); >GdkPixbuf* gtk_icon_source_get_pixbuf (const GtkIconSource *source); > >void gtk_icon_source_set_direction_wildcarded (GtkIconSource *source, > gboolean setting); >void gtk_icon_source_set_state_wildcarded (GtkIconSource *source, > gboolean setting); >void gtk_icon_source_set_size_wildcarded (GtkIconSource *source, > gboolean setting); >gboolean gtk_icon_source_get_size_wildcarded (const GtkIconSource *source); >gboolean gtk_icon_source_get_state_wildcarded (const GtkIconSource *source); >gboolean gtk_icon_source_get_direction_wildcarded (const GtkIconSource *source); >void gtk_icon_source_set_direction (GtkIconSource *source, > GtkTextDirection direction); >void gtk_icon_source_set_state (GtkIconSource *source, > GtkStateType state); >void gtk_icon_source_set_size (GtkIconSource *source, > GtkIconSize size); >GtkTextDirection gtk_icon_source_get_direction (const GtkIconSource *source); >GtkStateType gtk_icon_source_get_state (const GtkIconSource *source); >GtkIconSize gtk_icon_source_get_size (const GtkIconSource *source); > > > >void _gtk_icon_set_invalidate_caches (void); >GSList* _gtk_icon_factory_list_ids (void); > > >} ># 93 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkicontheme.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkicontheme.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtkicontheme.h" >typedef struct _GtkIconInfo GtkIconInfo; >typedef struct _GtkIconTheme GtkIconTheme; >typedef struct _GtkIconThemeClass GtkIconThemeClass; >typedef struct _GtkIconThemePrivate GtkIconThemePrivate; > >struct _GtkIconTheme >{ > > GObject parent_instance; > > GtkIconThemePrivate *priv; >}; > >struct _GtkIconThemeClass >{ > GObjectClass parent_class; > > void (* changed) (GtkIconTheme *icon_theme); >}; ># 72 "/usr/include/gtk-2.0/gtk/gtkicontheme.h" >typedef enum >{ > GTK_ICON_LOOKUP_NO_SVG = 1 << 0, > GTK_ICON_LOOKUP_FORCE_SVG = 1 << 1, > GTK_ICON_LOOKUP_USE_BUILTIN = 1 << 2 >} GtkIconLookupFlags; ># 88 "/usr/include/gtk-2.0/gtk/gtkicontheme.h" >typedef enum { > GTK_ICON_THEME_NOT_FOUND, > GTK_ICON_THEME_FAILED >} GtkIconThemeError; > >GQuark gtk_icon_theme_error_quark (void) __attribute__((__const__)); > >GType gtk_icon_theme_get_type (void) __attribute__((__const__)); > >GtkIconTheme *gtk_icon_theme_new (void); >GtkIconTheme *gtk_icon_theme_get_default (void); >GtkIconTheme *gtk_icon_theme_get_for_screen (GdkScreen *screen); >void gtk_icon_theme_set_screen (GtkIconTheme *icon_theme, > GdkScreen *screen); > >void gtk_icon_theme_set_search_path (GtkIconTheme *icon_theme, > const gchar *path[], > gint n_elements); >void gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme, > gchar **path[], > gint *n_elements); >void gtk_icon_theme_append_search_path (GtkIconTheme *icon_theme, > const gchar *path); >void gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme, > const gchar *path); > >void gtk_icon_theme_set_custom_theme (GtkIconTheme *icon_theme, > const gchar *theme_name); > >gboolean gtk_icon_theme_has_icon (GtkIconTheme *icon_theme, > const gchar *icon_name); >GtkIconInfo * gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme, > const gchar *icon_name, > gint size, > GtkIconLookupFlags flags); >GdkPixbuf * gtk_icon_theme_load_icon (GtkIconTheme *icon_theme, > const gchar *icon_name, > gint size, > GtkIconLookupFlags flags, > GError **error); > >GList * gtk_icon_theme_list_icons (GtkIconTheme *icon_theme, > const gchar *context); >char * gtk_icon_theme_get_example_icon_name (GtkIconTheme *icon_theme); > >gboolean gtk_icon_theme_rescan_if_needed (GtkIconTheme *icon_theme); > >void gtk_icon_theme_add_builtin_icon (const gchar *icon_name, > gint size, > GdkPixbuf *pixbuf); > >GType gtk_icon_info_get_type (void); >GtkIconInfo *gtk_icon_info_copy (GtkIconInfo *icon_info); >void gtk_icon_info_free (GtkIconInfo *icon_info); > >gint gtk_icon_info_get_base_size (GtkIconInfo *icon_info); >const gchar *gtk_icon_info_get_filename (GtkIconInfo *icon_info); >GdkPixbuf * gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info); >GdkPixbuf * gtk_icon_info_load_icon (GtkIconInfo *icon_info, > GError **error); > >void gtk_icon_info_set_raw_coordinates (GtkIconInfo *icon_info, > gboolean raw_coordinates); > >gboolean gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info, > GdkRectangle *rectangle); >gboolean gtk_icon_info_get_attach_points (GtkIconInfo *icon_info, > GdkPoint **points, > gint *n_points); >const gchar *gtk_icon_info_get_display_name (GtkIconInfo *icon_info); > >} ># 94 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkimage.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkimage.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkimage.h" >typedef struct _GtkImage GtkImage; >typedef struct _GtkImageClass GtkImageClass; > >typedef struct _GtkImagePixmapData GtkImagePixmapData; >typedef struct _GtkImageImageData GtkImageImageData; >typedef struct _GtkImagePixbufData GtkImagePixbufData; >typedef struct _GtkImageStockData GtkImageStockData; >typedef struct _GtkImageIconSetData GtkImageIconSetData; >typedef struct _GtkImageAnimationData GtkImageAnimationData; > >struct _GtkImagePixmapData >{ > GdkPixmap *pixmap; >}; > >struct _GtkImageImageData >{ > GdkImage *image; >}; > >struct _GtkImagePixbufData >{ > GdkPixbuf *pixbuf; >}; > >struct _GtkImageStockData >{ > gchar *stock_id; >}; > >struct _GtkImageIconSetData >{ > GtkIconSet *icon_set; >}; > >struct _GtkImageAnimationData >{ > GdkPixbufAnimation *anim; > GdkPixbufAnimationIter *iter; > guint frame_timeout; >}; > >typedef enum >{ > GTK_IMAGE_EMPTY, > GTK_IMAGE_PIXMAP, > GTK_IMAGE_IMAGE, > GTK_IMAGE_PIXBUF, > GTK_IMAGE_STOCK, > GTK_IMAGE_ICON_SET, > GTK_IMAGE_ANIMATION >} GtkImageType; > >struct _GtkImage >{ > GtkMisc misc; > > GtkImageType storage_type; > > union > { > GtkImagePixmapData pixmap; > GtkImageImageData image; > GtkImagePixbufData pixbuf; > GtkImageStockData stock; > GtkImageIconSetData icon_set; > GtkImageAnimationData anim; > } data; > > > GdkBitmap *mask; > > > GtkIconSize icon_size; >}; > >struct _GtkImageClass >{ > GtkMiscClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_image_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_image_new (void); >GtkWidget* gtk_image_new_from_pixmap (GdkPixmap *pixmap, > GdkBitmap *mask); >GtkWidget* gtk_image_new_from_image (GdkImage *image, > GdkBitmap *mask); >GtkWidget* gtk_image_new_from_file (const gchar *filename); >GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf); >GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, > GtkIconSize size); >GtkWidget* gtk_image_new_from_icon_set (GtkIconSet *icon_set, > GtkIconSize size); >GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation); > >void gtk_image_set_from_pixmap (GtkImage *image, > GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_image_set_from_image (GtkImage *image, > GdkImage *gdk_image, > GdkBitmap *mask); >void gtk_image_set_from_file (GtkImage *image, > const gchar *filename); >void gtk_image_set_from_pixbuf (GtkImage *image, > GdkPixbuf *pixbuf); >void gtk_image_set_from_stock (GtkImage *image, > const gchar *stock_id, > GtkIconSize size); >void gtk_image_set_from_icon_set (GtkImage *image, > GtkIconSet *icon_set, > GtkIconSize size); >void gtk_image_set_from_animation (GtkImage *image, > GdkPixbufAnimation *animation); > >GtkImageType gtk_image_get_storage_type (GtkImage *image); > >void gtk_image_get_pixmap (GtkImage *image, > GdkPixmap **pixmap, > GdkBitmap **mask); >void gtk_image_get_image (GtkImage *image, > GdkImage **gdk_image, > GdkBitmap **mask); >GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image); >void gtk_image_get_stock (GtkImage *image, > gchar **stock_id, > GtkIconSize *size); >void gtk_image_get_icon_set (GtkImage *image, > GtkIconSet **icon_set, > GtkIconSize *size); >GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image); > > > > > >void gtk_image_set (GtkImage *image, > GdkImage *val, > GdkBitmap *mask); >void gtk_image_get (GtkImage *image, > GdkImage **val, > GdkBitmap **mask); > > > >} ># 95 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h" >typedef struct _GtkImageMenuItem GtkImageMenuItem; >typedef struct _GtkImageMenuItemClass GtkImageMenuItemClass; > >struct _GtkImageMenuItem >{ > GtkMenuItem menu_item; > > > GtkWidget *image; >}; > >struct _GtkImageMenuItemClass >{ > GtkMenuItemClass parent_class; >}; > > >GType gtk_image_menu_item_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_image_menu_item_new (void); >GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); >GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); >GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, > GtkAccelGroup *accel_group); >void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, > GtkWidget *image); >GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item); > > > >} ># 96 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h" >typedef struct _GtkIMContextSimple GtkIMContextSimple; >typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass; > > > >struct _GtkIMContextSimple >{ > GtkIMContext object; > > GSList *tables; > > guint compose_buffer[7 + 1]; > gunichar tentative_match; > gint tentative_match_len; > > guint in_hex_sequence : 1; >}; > >struct _GtkIMContextSimpleClass >{ > GtkIMContextClass parent_class; >}; > >GType gtk_im_context_simple_get_type (void) __attribute__((__const__)); >GtkIMContext *gtk_im_context_simple_new (void); > >void gtk_im_context_simple_add_table (GtkIMContextSimple *context_simple, > guint16 *data, > gint max_seq_len, > gint n_seqs); > >} ># 98 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkimmulticontext.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkimmulticontext.h" >extern "C" { ># 39 "/usr/include/gtk-2.0/gtk/gtkimmulticontext.h" >typedef struct _GtkIMMulticontext GtkIMMulticontext; >typedef struct _GtkIMMulticontextClass GtkIMMulticontextClass; >typedef struct _GtkIMMulticontextPrivate GtkIMMulticontextPrivate; > >struct _GtkIMMulticontext >{ > GtkIMContext object; > > GtkIMContext *slave; > > GtkIMMulticontextPrivate *priv; > > const gchar *context_id; >}; > >struct _GtkIMMulticontextClass >{ > GtkIMContextClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_im_multicontext_get_type (void) __attribute__((__const__)); >GtkIMContext *gtk_im_multicontext_new (void); > >void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, > GtkMenuShell *menushell); > > >} ># 99 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkinputdialog.h" 1 ># 46 "/usr/include/gtk-2.0/gtk/gtkinputdialog.h" >extern "C" { ># 58 "/usr/include/gtk-2.0/gtk/gtkinputdialog.h" >typedef struct _GtkInputDialog GtkInputDialog; >typedef struct _GtkInputDialogClass GtkInputDialogClass; > >struct _GtkInputDialog >{ > GtkDialog dialog; > > GtkWidget *axis_list; > GtkWidget *axis_listbox; > GtkWidget *mode_optionmenu; > > GtkWidget *close_button; > GtkWidget *save_button; > > GtkWidget *axis_items[GDK_AXIS_LAST]; > GdkDevice *current_device; > > GtkWidget *keys_list; > GtkWidget *keys_listbox; >}; > >struct _GtkInputDialogClass >{ > GtkDialogClass parent_class; > > void (* enable_device) (GtkInputDialog *inputd, > GdkDevice *device); > void (* disable_device) (GtkInputDialog *inputd, > GdkDevice *device); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_input_dialog_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_input_dialog_new (void); > > > >} ># 100 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkinvisible.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtkinvisible.h" >extern "C" { ># 42 "/usr/include/gtk-2.0/gtk/gtkinvisible.h" >typedef struct _GtkInvisible GtkInvisible; >typedef struct _GtkInvisibleClass GtkInvisibleClass; > >struct _GtkInvisible >{ > GtkWidget widget; > gboolean has_user_ref_count; > GdkScreen *screen; >}; > >struct _GtkInvisibleClass >{ > GtkWidgetClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_invisible_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_invisible_new (void); >GtkWidget* gtk_invisible_new_for_screen (GdkScreen *screen); >void gtk_invisible_set_screen (GtkInvisible *invisible, > GdkScreen *screen); >GdkScreen* gtk_invisible_get_screen (GtkInvisible *invisible); > >} ># 101 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-2.0/gtk/gtklayout.h" 1 ># 39 "/usr/include/gtk-2.0/gtk/gtklayout.h" >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtklayout.h" >typedef struct _GtkLayout GtkLayout; >typedef struct _GtkLayoutClass GtkLayoutClass; > >struct _GtkLayout >{ > GtkContainer container; > > GList *children; > > guint width; > guint height; > > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; > > > GdkWindow *bin_window; > > > GdkVisibilityState visibility; > gint scroll_x; > gint scroll_y; > > guint freeze_count; >}; > >struct _GtkLayoutClass >{ > GtkContainerClass parent_class; > > void (*set_scroll_adjustments) (GtkLayout *layout, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_layout_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >void gtk_layout_put (GtkLayout *layout, > GtkWidget *child_widget, > gint x, > gint y); > >void gtk_layout_move (GtkLayout *layout, > GtkWidget *child_widget, > gint x, > gint y); > >void gtk_layout_set_size (GtkLayout *layout, > guint width, > guint height); >void gtk_layout_get_size (GtkLayout *layout, > guint *width, > guint *height); > >GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout); >GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout); >void gtk_layout_set_hadjustment (GtkLayout *layout, > GtkAdjustment *adjustment); >void gtk_layout_set_vadjustment (GtkLayout *layout, > GtkAdjustment *adjustment); ># 129 "/usr/include/gtk-2.0/gtk/gtklayout.h" >void gtk_layout_freeze (GtkLayout *layout); >void gtk_layout_thaw (GtkLayout *layout); > > > >} ># 105 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtklist.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtklist.h" ># 1 "/usr/include/gtk-2.0/gtk/gtklistitem.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtklistitem.h" >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtklistitem.h" >typedef struct _GtkListItem GtkListItem; >typedef struct _GtkListItemClass GtkListItemClass; > >struct _GtkListItem >{ > GtkItem item; >}; > >struct _GtkListItemClass >{ > GtkItemClass parent_class; > > void (*toggle_focus_row) (GtkListItem *list_item); > void (*select_all) (GtkListItem *list_item); > void (*unselect_all) (GtkListItem *list_item); > void (*undo_selection) (GtkListItem *list_item); > void (*start_selection) (GtkListItem *list_item); > void (*end_selection) (GtkListItem *list_item); > void (*extend_selection) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); > void (*scroll_horizontal) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position); > void (*scroll_vertical) (GtkListItem *list_item, > GtkScrollType scroll_type, > gfloat position); > void (*toggle_add_mode) (GtkListItem *list_item); >}; > > >GtkType gtk_list_item_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_list_item_new (void); >GtkWidget* gtk_list_item_new_with_label (const gchar *label); >void gtk_list_item_select (GtkListItem *list_item); >void gtk_list_item_deselect (GtkListItem *list_item); > > > > > >} ># 37 "/usr/include/gtk-2.0/gtk/gtklist.h" 2 > > >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtklist.h" >typedef struct _GtkList GtkList; >typedef struct _GtkListClass GtkListClass; > >struct _GtkList >{ > GtkContainer container; > > GList *children; > GList *selection; > > GList *undo_selection; > GList *undo_unselection; > > GtkWidget *last_focus_child; > GtkWidget *undo_focus_child; > > guint htimer; > guint vtimer; > > gint anchor; > gint drag_pos; > GtkStateType anchor_state; > > guint selection_mode : 2; > guint drag_selection:1; > guint add_mode:1; >}; > >struct _GtkListClass >{ > GtkContainerClass parent_class; > > void (* selection_changed) (GtkList *list); > void (* select_child) (GtkList *list, > GtkWidget *child); > void (* unselect_child) (GtkList *list, > GtkWidget *child); >}; > > >GtkType gtk_list_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_list_new (void); >void gtk_list_insert_items (GtkList *list, > GList *items, > gint position); >void gtk_list_append_items (GtkList *list, > GList *items); >void gtk_list_prepend_items (GtkList *list, > GList *items); >void gtk_list_remove_items (GtkList *list, > GList *items); >void gtk_list_remove_items_no_unref (GtkList *list, > GList *items); >void gtk_list_clear_items (GtkList *list, > gint start, > gint end); >void gtk_list_select_item (GtkList *list, > gint item); >void gtk_list_unselect_item (GtkList *list, > gint item); >void gtk_list_select_child (GtkList *list, > GtkWidget *child); >void gtk_list_unselect_child (GtkList *list, > GtkWidget *child); >gint gtk_list_child_position (GtkList *list, > GtkWidget *child); >void gtk_list_set_selection_mode (GtkList *list, > GtkSelectionMode mode); > >void gtk_list_extend_selection (GtkList *list, > GtkScrollType scroll_type, > gfloat position, > gboolean auto_start_selection); >void gtk_list_start_selection (GtkList *list); >void gtk_list_end_selection (GtkList *list); >void gtk_list_select_all (GtkList *list); >void gtk_list_unselect_all (GtkList *list); >void gtk_list_scroll_horizontal (GtkList *list, > GtkScrollType scroll_type, > gfloat position); >void gtk_list_scroll_vertical (GtkList *list, > GtkScrollType scroll_type, > gfloat position); >void gtk_list_toggle_add_mode (GtkList *list); >void gtk_list_toggle_focus_row (GtkList *list); >void gtk_list_toggle_row (GtkList *list, > GtkWidget *item); >void gtk_list_undo_selection (GtkList *list); >void gtk_list_end_drag_selection (GtkList *list); > > >} ># 106 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtklistitem.h" 1 ># 107 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkmain.h" 1 ># 39 "/usr/include/gtk-2.0/gtk/gtkmain.h" >extern "C" { ># 60 "/usr/include/gtk-2.0/gtk/gtkmain.h" >typedef void (*GtkModuleInitFunc) (gint *argc, > gchar ***argv); >typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display); >typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget, > GdkEventKey *event, > gpointer func_data); ># 79 "/usr/include/gtk-2.0/gtk/gtkmain.h" >extern const guint gtk_major_version; >extern const guint gtk_minor_version; >extern const guint gtk_micro_version; >extern const guint gtk_binary_age; >extern const guint gtk_interface_age; >gchar* gtk_check_version (guint required_major, > guint required_minor, > guint required_micro); > > > > > >void gtk_init (int *argc, > char ***argv); > >gboolean gtk_init_check (int *argc, > char ***argv); ># 119 "/usr/include/gtk-2.0/gtk/gtkmain.h" >void gtk_exit (gint error_code); > > >void gtk_disable_setlocale (void); >gchar * gtk_set_locale (void); >PangoLanguage *gtk_get_default_language (void); >gboolean gtk_events_pending (void); > > > > > >void gtk_main_do_event (GdkEvent *event); > >void gtk_main (void); >guint gtk_main_level (void); >void gtk_main_quit (void); >gboolean gtk_main_iteration (void); > >gboolean gtk_main_iteration_do (gboolean blocking); > >gboolean gtk_true (void) __attribute__((__const__)); >gboolean gtk_false (void) __attribute__((__const__)); > >void gtk_grab_add (GtkWidget *widget); >GtkWidget* gtk_grab_get_current (void); >void gtk_grab_remove (GtkWidget *widget); > >void gtk_init_add (GtkFunction function, > gpointer data); >void gtk_quit_add_destroy (guint main_level, > GtkObject *object); >guint gtk_quit_add (guint main_level, > GtkFunction function, > gpointer data); >guint gtk_quit_add_full (guint main_level, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_quit_remove (guint quit_handler_id); >void gtk_quit_remove_by_data (gpointer data); > >guint gtk_timeout_add (guint32 interval, > GtkFunction function, > gpointer data); >guint gtk_timeout_add_full (guint32 interval, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_timeout_remove (guint timeout_handler_id); > >guint gtk_idle_add (GtkFunction function, > gpointer data); >guint gtk_idle_add_priority (gint priority, > GtkFunction function, > gpointer data); >guint gtk_idle_add_full (gint priority, > GtkFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_idle_remove (guint idle_handler_id); >void gtk_idle_remove_by_data (gpointer data); >guint gtk_input_add_full (gint source, > GdkInputCondition condition, > GdkInputFunction function, > GtkCallbackMarshal marshal, > gpointer data, > GtkDestroyNotify destroy); >void gtk_input_remove (guint input_handler_id); > > >guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, > gpointer func_data); >void gtk_key_snooper_remove (guint snooper_handler_id); > >GdkEvent* gtk_get_current_event (void); >guint32 gtk_get_current_event_time (void); >gboolean gtk_get_current_event_state (GdkModifierType *state); > >GtkWidget* gtk_get_event_widget (GdkEvent *event); > > > > >void gtk_propagate_event (GtkWidget *widget, > GdkEvent *event); > >gboolean _gtk_boolean_handled_accumulator (GSignalInvocationHint *ihint, > GValue *return_accu, > const GValue *handler_return, > gpointer dummy); > >gchar * _gtk_find_module (const gchar *name, > const gchar *type); >gchar **_gtk_get_module_path (const gchar *type); > >gchar *_gtk_get_lc_ctype (void); > > >} ># 109 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkmenubar.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkmenubar.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkmenubar.h" >typedef struct _GtkMenuBar GtkMenuBar; >typedef struct _GtkMenuBarClass GtkMenuBarClass; > >struct _GtkMenuBar >{ > GtkMenuShell menu_shell; >}; > >struct _GtkMenuBarClass >{ > GtkMenuShellClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_menu_bar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_menu_bar_new (void); ># 78 "/usr/include/gtk-2.0/gtk/gtkmenubar.h" >void _gtk_menu_bar_cycle_focus (GtkMenuBar *menubar, > GtkDirectionType dir); > > >} ># 111 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtkmessagedialog.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkmessagedialog.h" >extern "C" { > > >typedef enum >{ > GTK_MESSAGE_INFO, > GTK_MESSAGE_WARNING, > GTK_MESSAGE_QUESTION, > GTK_MESSAGE_ERROR >} GtkMessageType; > >typedef enum >{ > GTK_BUTTONS_NONE, > GTK_BUTTONS_OK, > GTK_BUTTONS_CLOSE, > GTK_BUTTONS_CANCEL, > GTK_BUTTONS_YES_NO, > GTK_BUTTONS_OK_CANCEL >} GtkButtonsType; ># 62 "/usr/include/gtk-2.0/gtk/gtkmessagedialog.h" >typedef struct _GtkMessageDialog GtkMessageDialog; >typedef struct _GtkMessageDialogClass GtkMessageDialogClass; > >struct _GtkMessageDialog >{ > > > GtkDialog parent_instance; > > GtkWidget *image; > GtkWidget *label; >}; > >struct _GtkMessageDialogClass >{ > GtkDialogClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_message_dialog_get_type (void); > >GtkWidget* gtk_message_dialog_new (GtkWindow *parent, > GtkDialogFlags flags, > GtkMessageType type, > GtkButtonsType buttons, > const gchar *message_format, > ...) __attribute__((__format__ (__printf__, 5, 6))); > >GtkWidget* gtk_message_dialog_new_with_markup (GtkWindow *parent, > GtkDialogFlags flags, > GtkMessageType type, > GtkButtonsType buttons, > const gchar *message_format, > ...) __attribute__((__format__ (__printf__, 5, 6))); > > >void gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog, > const gchar *str); > > >} ># 114 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtknotebook.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtknotebook.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtknotebook.h" >typedef enum >{ > GTK_NOTEBOOK_TAB_FIRST, > GTK_NOTEBOOK_TAB_LAST >} GtkNotebookTab; > >typedef struct _GtkNotebook GtkNotebook; >typedef struct _GtkNotebookClass GtkNotebookClass; >typedef struct _GtkNotebookPage GtkNotebookPage; > >struct _GtkNotebook >{ > GtkContainer container; > > GtkNotebookPage *cur_page; > GList *children; > GList *first_tab; > GList *focus_tab; > > GtkWidget *menu; > GdkWindow *event_window; > > guint32 timer; > > guint16 tab_hborder; > guint16 tab_vborder; > > guint show_tabs : 1; > guint homogeneous : 1; > guint show_border : 1; > guint tab_pos : 2; > guint scrollable : 1; > guint in_child : 3; > guint click_child : 3; > guint button : 2; > guint need_timer : 1; > guint child_has_focus : 1; > guint have_visible_child : 1; > guint focus_out : 1; > > guint has_before_previous : 1; > guint has_before_next : 1; > guint has_after_previous : 1; > guint has_after_next : 1; >}; > >struct _GtkNotebookClass >{ > GtkContainerClass parent_class; > > void (* switch_page) (GtkNotebook *notebook, > GtkNotebookPage *page, > guint page_num); > > > gboolean (* select_page) (GtkNotebook *notebook, > gboolean move_focus); > gboolean (* focus_tab) (GtkNotebook *notebook, > GtkNotebookTab type); > void (* change_current_page) (GtkNotebook *notebook, > gint offset); > void (* move_focus_out) (GtkNotebook *notebook, > GtkDirectionType direction); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > > > >GType gtk_notebook_get_type (void) __attribute__((__const__)); >GtkWidget * gtk_notebook_new (void); >gint gtk_notebook_append_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >gint gtk_notebook_append_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label); >gint gtk_notebook_prepend_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >gint gtk_notebook_prepend_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label); >gint gtk_notebook_insert_page (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > gint position); >gint gtk_notebook_insert_page_menu (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label, > GtkWidget *menu_label, > gint position); >void gtk_notebook_remove_page (GtkNotebook *notebook, > gint page_num); > > > > > >gint gtk_notebook_get_current_page (GtkNotebook *notebook); >GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook, > gint page_num); >gint gtk_notebook_get_n_pages (GtkNotebook *notebook); >gint gtk_notebook_page_num (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_current_page (GtkNotebook *notebook, > gint page_num); >void gtk_notebook_next_page (GtkNotebook *notebook); >void gtk_notebook_prev_page (GtkNotebook *notebook); > > > > > >void gtk_notebook_set_show_border (GtkNotebook *notebook, > gboolean show_border); >gboolean gtk_notebook_get_show_border (GtkNotebook *notebook); >void gtk_notebook_set_show_tabs (GtkNotebook *notebook, > gboolean show_tabs); >gboolean gtk_notebook_get_show_tabs (GtkNotebook *notebook); >void gtk_notebook_set_tab_pos (GtkNotebook *notebook, > GtkPositionType pos); >GtkPositionType gtk_notebook_get_tab_pos (GtkNotebook *notebook); > > >void gtk_notebook_set_homogeneous_tabs (GtkNotebook *notebook, > gboolean homogeneous); >void gtk_notebook_set_tab_border (GtkNotebook *notebook, > guint border_width); >void gtk_notebook_set_tab_hborder (GtkNotebook *notebook, > guint tab_hborder); >void gtk_notebook_set_tab_vborder (GtkNotebook *notebook, > guint tab_vborder); > > >void gtk_notebook_set_scrollable (GtkNotebook *notebook, > gboolean scrollable); >gboolean gtk_notebook_get_scrollable (GtkNotebook *notebook); > > > > > >void gtk_notebook_popup_enable (GtkNotebook *notebook); >void gtk_notebook_popup_disable (GtkNotebook *notebook); > > > > > >GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_tab_label (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *tab_label); >void gtk_notebook_set_tab_label_text (GtkNotebook *notebook, > GtkWidget *child, > const gchar *tab_text); >const gchar *gtk_notebook_get_tab_label_text (GtkNotebook *notebook, > GtkWidget *child); >GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_set_menu_label (GtkNotebook *notebook, > GtkWidget *child, > GtkWidget *menu_label); >void gtk_notebook_set_menu_label_text (GtkNotebook *notebook, > GtkWidget *child, > const gchar *menu_text); >const gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook, > GtkWidget *child); >void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook, > GtkWidget *child, > gboolean *expand, > gboolean *fill, > GtkPackType *pack_type); >void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook, > GtkWidget *child, > gboolean expand, > gboolean fill, > GtkPackType pack_type); >void gtk_notebook_reorder_child (GtkNotebook *notebook, > GtkWidget *child, > gint position); > > > > > > > >} ># 116 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkoldeditable.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkoldeditable.h" >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkoldeditable.h" >typedef struct _GtkOldEditable GtkOldEditable; >typedef struct _GtkOldEditableClass GtkOldEditableClass; > >typedef void (*GtkTextFunction) (GtkOldEditable *editable, guint32 time_); > >struct _GtkOldEditable >{ > GtkWidget widget; > > > guint current_pos; > > guint selection_start_pos; > guint selection_end_pos; > guint has_selection : 1; > > > guint editable : 1; > guint visible : 1; > > gchar *clipboard_text; >}; > >struct _GtkOldEditableClass >{ > GtkWidgetClass parent_class; > > > void (* activate) (GtkOldEditable *editable); > void (* set_editable) (GtkOldEditable *editable, > gboolean is_editable); > void (* move_cursor) (GtkOldEditable *editable, > gint x, > gint y); > void (* move_word) (GtkOldEditable *editable, > gint n); > void (* move_page) (GtkOldEditable *editable, > gint x, > gint y); > void (* move_to_row) (GtkOldEditable *editable, > gint row); > void (* move_to_column) (GtkOldEditable *editable, > gint row); > void (* kill_char) (GtkOldEditable *editable, > gint direction); > void (* kill_word) (GtkOldEditable *editable, > gint direction); > void (* kill_line) (GtkOldEditable *editable, > gint direction); > void (* cut_clipboard) (GtkOldEditable *editable); > void (* copy_clipboard) (GtkOldEditable *editable); > void (* paste_clipboard) (GtkOldEditable *editable); > > > > > > > void (* update_text) (GtkOldEditable *editable, > gint start_pos, > gint end_pos); > gchar* (* get_chars) (GtkOldEditable *editable, > gint start_pos, > gint end_pos); > void (* set_selection)(GtkOldEditable *editable, > gint start_pos, > gint end_pos); > void (* set_position) (GtkOldEditable *editable, > gint position); >}; > >GtkType gtk_old_editable_get_type (void) __attribute__((__const__)); >void gtk_old_editable_claim_selection (GtkOldEditable *old_editable, > gboolean claim, > guint32 time_); >void gtk_old_editable_changed (GtkOldEditable *old_editable); > > >} ># 118 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkoptionmenu.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkoptionmenu.h" >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkoptionmenu.h" >typedef struct _GtkOptionMenu GtkOptionMenu; >typedef struct _GtkOptionMenuClass GtkOptionMenuClass; > >struct _GtkOptionMenu >{ > GtkButton button; > > GtkWidget *menu; > GtkWidget *menu_item; > > guint16 width; > guint16 height; >}; > >struct _GtkOptionMenuClass >{ > GtkButtonClass parent_class; > > void (*changed) (GtkOptionMenu *option_menu); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_option_menu_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_option_menu_new (void); >GtkWidget* gtk_option_menu_get_menu (GtkOptionMenu *option_menu); >void gtk_option_menu_set_menu (GtkOptionMenu *option_menu, > GtkWidget *menu); >void gtk_option_menu_remove_menu (GtkOptionMenu *option_menu); >gint gtk_option_menu_get_history (GtkOptionMenu *option_menu); >void gtk_option_menu_set_history (GtkOptionMenu *option_menu, > guint index_); > > > >} ># 119 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkpixmap.h" 1 ># 38 "/usr/include/gtk-2.0/gtk/gtkpixmap.h" >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkpixmap.h" >typedef struct _GtkPixmap GtkPixmap; >typedef struct _GtkPixmapClass GtkPixmapClass; > >struct _GtkPixmap >{ > GtkMisc misc; > > GdkPixmap *pixmap; > GdkBitmap *mask; > > GdkPixmap *pixmap_insensitive; > guint build_insensitive : 1; >}; > >struct _GtkPixmapClass >{ > GtkMiscClass parent_class; >}; > > >GtkType gtk_pixmap_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_pixmap_new (GdkPixmap *pixmap, > GdkBitmap *mask); >void gtk_pixmap_set (GtkPixmap *pixmap, > GdkPixmap *val, > GdkBitmap *mask); >void gtk_pixmap_get (GtkPixmap *pixmap, > GdkPixmap **val, > GdkBitmap **mask); > >void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, > gboolean build); > > > >} ># 121 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkplug.h" 1 ># 31 "/usr/include/gtk-2.0/gtk/gtkplug.h" ># 1 "/usr/include/gtk-2.0/gtk/gtksocket.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtksocket.h" >extern "C" { ># 44 "/usr/include/gtk-2.0/gtk/gtksocket.h" >typedef struct _GtkSocket GtkSocket; >typedef struct _GtkSocketClass GtkSocketClass; > >struct _GtkSocket >{ > GtkContainer container; > > guint16 request_width; > guint16 request_height; > guint16 current_width; > guint16 current_height; > > GdkWindow *plug_window; > GtkWidget *plug_widget; > > gshort xembed_version; > guint same_app : 1; > guint focus_in : 1; > guint have_size : 1; > guint need_map : 1; > guint is_mapped : 1; > guint active : 1; > > GtkAccelGroup *accel_group; > GtkWidget *toplevel; >}; > >struct _GtkSocketClass >{ > GtkContainerClass parent_class; > > void (*plug_added) (GtkSocket *socket_); > gboolean (*plug_removed) (GtkSocket *socket_); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_socket_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_socket_new (void); > >void gtk_socket_add_id (GtkSocket *socket_, > GdkNativeWindow window_id); >GdkNativeWindow gtk_socket_get_id (GtkSocket *socket_); > > >void gtk_socket_steal (GtkSocket *socket_, > GdkNativeWindow wid); > > > >} ># 32 "/usr/include/gtk-2.0/gtk/gtkplug.h" 2 > > > > >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkplug.h" >typedef struct _GtkPlug GtkPlug; >typedef struct _GtkPlugClass GtkPlugClass; > > >struct _GtkPlug >{ > GtkWindow window; > > GdkWindow *socket_window; > GtkWidget *modality_window; > GtkWindowGroup *modality_group; > GHashTable *grabbed_keys; > > guint same_app : 1; >}; > >struct _GtkPlugClass >{ > GtkWindowClass parent_class; > > void (*embedded) (GtkPlug *plug); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_plug_get_type (void) __attribute__((__const__)); > > >void gtk_plug_construct (GtkPlug *plug, > GdkNativeWindow socket_id); >GtkWidget* gtk_plug_new (GdkNativeWindow socket_id); > > >void gtk_plug_construct_for_display (GtkPlug *plug, > GdkDisplay *display, > GdkNativeWindow socket_id); >GtkWidget* gtk_plug_new_for_display (GdkDisplay *display, > GdkNativeWindow socket_id); > >GdkNativeWindow gtk_plug_get_id (GtkPlug *plug); > >void _gtk_plug_add_to_socket (GtkPlug *plug, > GtkSocket *socket_); >void _gtk_plug_remove_from_socket (GtkPlug *plug, > GtkSocket *socket_); > > >} ># 122 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkpreview.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkpreview.h" >extern "C" { ># 49 "/usr/include/gtk-2.0/gtk/gtkpreview.h" >typedef struct _GtkPreview GtkPreview; >typedef struct _GtkPreviewInfo GtkPreviewInfo; >typedef union _GtkDitherInfo GtkDitherInfo; >typedef struct _GtkPreviewClass GtkPreviewClass; > >struct _GtkPreview >{ > GtkWidget widget; > > guchar *buffer; > guint16 buffer_width; > guint16 buffer_height; > > guint16 bpp; > guint16 rowstride; > > GdkRgbDither dither; > > guint type : 1; > guint expand : 1; >}; > >struct _GtkPreviewInfo >{ > guchar *lookup; > > gdouble gamma; >}; > >union _GtkDitherInfo >{ > gushort s[2]; > guchar c[4]; >}; > >struct _GtkPreviewClass >{ > GtkWidgetClass parent_class; > > GtkPreviewInfo info; > >}; > > >GtkType gtk_preview_get_type (void) __attribute__((__const__)); >void gtk_preview_uninit (void); >GtkWidget* gtk_preview_new (GtkPreviewType type); >void gtk_preview_size (GtkPreview *preview, > gint width, > gint height); >void gtk_preview_put (GtkPreview *preview, > GdkWindow *window, > GdkGC *gc, > gint srcx, > gint srcy, > gint destx, > gint desty, > gint width, > gint height); >void gtk_preview_draw_row (GtkPreview *preview, > guchar *data, > gint x, > gint y, > gint w); >void gtk_preview_set_expand (GtkPreview *preview, > gboolean expand); > >void gtk_preview_set_gamma (double gamma_); >void gtk_preview_set_color_cube (guint nred_shades, > guint ngreen_shades, > guint nblue_shades, > guint ngray_shades); >void gtk_preview_set_install_cmap (gint install_cmap); >void gtk_preview_set_reserved (gint nreserved); >void gtk_preview_set_dither (GtkPreview *preview, > GdkRgbDither dither); > >GdkVisual* gtk_preview_get_visual (void); >GdkColormap* gtk_preview_get_cmap (void); > >GtkPreviewInfo* gtk_preview_get_info (void); > > > > > > >void gtk_preview_reset (void); > > > >} ># 123 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkprogress.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkprogress.h" >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtkprogress.h" >typedef struct _GtkProgress GtkProgress; >typedef struct _GtkProgressClass GtkProgressClass; > > >struct _GtkProgress >{ > GtkWidget widget; > > GtkAdjustment *adjustment; > GdkPixmap *offscreen_pixmap; > gchar *format; > gfloat x_align; > gfloat y_align; > > guint show_text : 1; > guint activity_mode : 1; > guint use_text_format : 1; >}; > >struct _GtkProgressClass >{ > GtkWidgetClass parent_class; > > void (* paint) (GtkProgress *progress); > void (* update) (GtkProgress *progress); > void (* act_mode_enter) (GtkProgress *progress); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > > > > > >GType gtk_progress_get_type (void) __attribute__((__const__)); >void gtk_progress_set_show_text (GtkProgress *progress, > gboolean show_text); >void gtk_progress_set_text_alignment (GtkProgress *progress, > gfloat x_align, > gfloat y_align); >void gtk_progress_set_format_string (GtkProgress *progress, > const gchar *format); >void gtk_progress_set_adjustment (GtkProgress *progress, > GtkAdjustment *adjustment); >void gtk_progress_configure (GtkProgress *progress, > gdouble value, > gdouble min, > gdouble max); >void gtk_progress_set_percentage (GtkProgress *progress, > gdouble percentage); >void gtk_progress_set_value (GtkProgress *progress, > gdouble value); >gdouble gtk_progress_get_value (GtkProgress *progress); >void gtk_progress_set_activity_mode (GtkProgress *progress, > gboolean activity_mode); >gchar* gtk_progress_get_current_text (GtkProgress *progress); >gchar* gtk_progress_get_text_from_value (GtkProgress *progress, > gdouble value); >gdouble gtk_progress_get_current_percentage (GtkProgress *progress); >gdouble gtk_progress_get_percentage_from_value (GtkProgress *progress, > gdouble value); > > > > >} ># 124 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkprogressbar.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkprogressbar.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkprogressbar.h" >typedef struct _GtkProgressBar GtkProgressBar; >typedef struct _GtkProgressBarClass GtkProgressBarClass; > >typedef enum >{ > GTK_PROGRESS_CONTINUOUS, > GTK_PROGRESS_DISCRETE >} GtkProgressBarStyle; > >typedef enum >{ > GTK_PROGRESS_LEFT_TO_RIGHT, > GTK_PROGRESS_RIGHT_TO_LEFT, > GTK_PROGRESS_BOTTOM_TO_TOP, > GTK_PROGRESS_TOP_TO_BOTTOM >} GtkProgressBarOrientation; > >struct _GtkProgressBar >{ > GtkProgress progress; > > GtkProgressBarStyle bar_style; > GtkProgressBarOrientation orientation; > > guint blocks; > gint in_block; > > gint activity_pos; > guint activity_step; > guint activity_blocks; > > gdouble pulse_fraction; > > guint activity_dir : 1; >}; > >struct _GtkProgressBarClass >{ > GtkProgressClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_progress_bar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_progress_bar_new (void); ># 126 "/usr/include/gtk-2.0/gtk/gtkprogressbar.h" >void gtk_progress_bar_pulse (GtkProgressBar *pbar); >void gtk_progress_bar_set_text (GtkProgressBar *pbar, > const gchar *text); >void gtk_progress_bar_set_fraction (GtkProgressBar *pbar, > gdouble fraction); > >void gtk_progress_bar_set_pulse_step (GtkProgressBar *pbar, > gdouble fraction); >void gtk_progress_bar_set_orientation (GtkProgressBar *pbar, > GtkProgressBarOrientation orientation); > >const gchar* gtk_progress_bar_get_text (GtkProgressBar *pbar); >gdouble gtk_progress_bar_get_fraction (GtkProgressBar *pbar); >gdouble gtk_progress_bar_get_pulse_step (GtkProgressBar *pbar); > >GtkProgressBarOrientation gtk_progress_bar_get_orientation (GtkProgressBar *pbar); > > > > > >GtkWidget* gtk_progress_bar_new_with_adjustment (GtkAdjustment *adjustment); >void gtk_progress_bar_set_bar_style (GtkProgressBar *pbar, > GtkProgressBarStyle style); >void gtk_progress_bar_set_discrete_blocks (GtkProgressBar *pbar, > guint blocks); > > > > >void gtk_progress_bar_set_activity_step (GtkProgressBar *pbar, > guint step); >void gtk_progress_bar_set_activity_blocks (GtkProgressBar *pbar, > guint blocks); >void gtk_progress_bar_update (GtkProgressBar *pbar, > gdouble percentage); > > > > >} ># 125 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkradioaction.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkradioaction.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktoggleaction.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtktoggleaction.h" >extern "C" { ># 44 "/usr/include/gtk-2.0/gtk/gtktoggleaction.h" >typedef struct _GtkToggleAction GtkToggleAction; >typedef struct _GtkToggleActionPrivate GtkToggleActionPrivate; >typedef struct _GtkToggleActionClass GtkToggleActionClass; > >struct _GtkToggleAction >{ > GtkAction parent; > > > > GtkToggleActionPrivate *private_data; >}; > >struct _GtkToggleActionClass >{ > GtkActionClass parent_class; > > void (* toggled) (GtkToggleAction *action); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_toggle_action_get_type (void); >GtkToggleAction *gtk_toggle_action_new (const gchar *name, > const gchar *label, > const gchar *tooltip, > const gchar *stock_id); >void gtk_toggle_action_toggled (GtkToggleAction *action); >void gtk_toggle_action_set_active (GtkToggleAction *action, > gboolean is_active); >gboolean gtk_toggle_action_get_active (GtkToggleAction *action); >void gtk_toggle_action_set_draw_as_radio (GtkToggleAction *action, > gboolean draw_as_radio); >gboolean gtk_toggle_action_get_draw_as_radio (GtkToggleAction *action); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtkradioaction.h" 2 > >extern "C" { ># 44 "/usr/include/gtk-2.0/gtk/gtkradioaction.h" >typedef struct _GtkRadioAction GtkRadioAction; >typedef struct _GtkRadioActionPrivate GtkRadioActionPrivate; >typedef struct _GtkRadioActionClass GtkRadioActionClass; > >struct _GtkRadioAction >{ > GtkToggleAction parent; > > > > GtkRadioActionPrivate *private_data; >}; > >struct _GtkRadioActionClass >{ > GtkToggleActionClass parent_class; > > void (* changed) (GtkRadioAction *action, GtkRadioAction *current); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_radio_action_get_type (void); >GtkRadioAction *gtk_radio_action_new (const gchar *name, > const gchar *label, > const gchar *tooltip, > const gchar *stock_id, > gint value); >GSList *gtk_radio_action_get_group (GtkRadioAction *action); >void gtk_radio_action_set_group (GtkRadioAction *action, > GSList *group); >gint gtk_radio_action_get_current_value (GtkRadioAction *action); > > >} ># 126 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkradiobutton.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkradiobutton.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkradiobutton.h" >typedef struct _GtkRadioButton GtkRadioButton; >typedef struct _GtkRadioButtonClass GtkRadioButtonClass; > >struct _GtkRadioButton >{ > GtkCheckButton check_button; > > GSList *group; >}; > >struct _GtkRadioButtonClass >{ > GtkCheckButtonClass parent_class; > > > void (*group_changed) (GtkRadioButton *radio_button); > > > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_radio_button_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_radio_button_new (GSList *group); >GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *group); >GtkWidget* gtk_radio_button_new_with_label (GSList *group, > const gchar *label); >GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group, > const gchar *label); >GtkWidget* gtk_radio_button_new_with_mnemonic (GSList *group, > const gchar *label); >GtkWidget* gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *group, > const gchar *label); >GSList* gtk_radio_button_get_group (GtkRadioButton *radio_button); >void gtk_radio_button_set_group (GtkRadioButton *radio_button, > GSList *group); > > > > > > >} ># 127 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h" >extern "C" { ># 44 "/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h" >typedef struct _GtkRadioMenuItem GtkRadioMenuItem; >typedef struct _GtkRadioMenuItemClass GtkRadioMenuItemClass; > >struct _GtkRadioMenuItem >{ > GtkCheckMenuItem check_menu_item; > > GSList *group; >}; > >struct _GtkRadioMenuItemClass >{ > GtkCheckMenuItemClass parent_class; > > > void (*group_changed) (GtkRadioMenuItem *radio_menu_item); > > > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_radio_menu_item_get_type (void) __attribute__((__const__)); > >GtkWidget* gtk_radio_menu_item_new (GSList *group); >GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, > const gchar *label); >GtkWidget* gtk_radio_menu_item_new_with_mnemonic (GSList *group, > const gchar *label); >GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group); >GtkWidget *gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, > const gchar *label); >GtkWidget *gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, > const gchar *label); >GSList* gtk_radio_menu_item_get_group (GtkRadioMenuItem *radio_menu_item); >void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, > GSList *group); > > > > > >} ># 128 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktoolbutton.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtktoolbutton.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktoolitem.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtktoolitem.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktooltips.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtktooltips.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtktooltips.h" >typedef struct _GtkTooltips GtkTooltips; >typedef struct _GtkTooltipsClass GtkTooltipsClass; >typedef struct _GtkTooltipsData GtkTooltipsData; > >struct _GtkTooltipsData >{ > GtkTooltips *tooltips; > GtkWidget *widget; > gchar *tip_text; > gchar *tip_private; >}; > >struct _GtkTooltips >{ > GtkObject parent_instance; > > GtkWidget *tip_window; > GtkWidget *tip_label; > GtkTooltipsData *active_tips_data; > GList *tips_data_list; > > guint delay : 30; > guint enabled : 1; > guint have_grab : 1; > guint use_sticky_delay : 1; > gint timer_tag; > GTimeVal last_popdown; >}; > >struct _GtkTooltipsClass >{ > GtkObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_tooltips_get_type (void) __attribute__((__const__)); >GtkTooltips* gtk_tooltips_new (void); > >void gtk_tooltips_enable (GtkTooltips *tooltips); >void gtk_tooltips_disable (GtkTooltips *tooltips); > >void gtk_tooltips_set_delay (GtkTooltips *tooltips, > guint delay); > >void gtk_tooltips_set_tip (GtkTooltips *tooltips, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private); >GtkTooltipsData* gtk_tooltips_data_get (GtkWidget *widget); >void gtk_tooltips_force_window (GtkTooltips *tooltips); > > >void _gtk_tooltips_toggle_keyboard_mode (GtkWidget *widget); > >gboolean gtk_tooltips_get_info_from_tip_window (GtkWindow *tip_window, > GtkTooltips **tooltips, > GtkWidget **current_widget); > > >} ># 28 "/usr/include/gtk-2.0/gtk/gtktoolitem.h" 2 > > >extern "C" { ># 39 "/usr/include/gtk-2.0/gtk/gtktoolitem.h" >typedef struct _GtkToolItem GtkToolItem; >typedef struct _GtkToolItemClass GtkToolItemClass; >typedef struct _GtkToolItemPrivate GtkToolItemPrivate; > >struct _GtkToolItem >{ > GtkBin parent; > > > GtkToolItemPrivate *priv; >}; > >struct _GtkToolItemClass >{ > GtkBinClass parent_class; > > > gboolean (* create_menu_proxy) (GtkToolItem *tool_item); > void (* toolbar_reconfigured) (GtkToolItem *tool_item); > gboolean (* set_tooltip) (GtkToolItem *tool_item, > GtkTooltips *tooltips, > const gchar *tip_text, > const gchar *tip_private); > > > void (* _gtk_reserved1) (void); > void (* _gtk_reserved2) (void); > void (* _gtk_reserved3) (void); > void (* _gtk_reserved4) (void); >}; > >GType gtk_tool_item_get_type (void); >GtkToolItem *gtk_tool_item_new (void); > >void gtk_tool_item_set_homogeneous (GtkToolItem *tool_item, > gboolean homogeneous); >gboolean gtk_tool_item_get_homogeneous (GtkToolItem *tool_item); > >void gtk_tool_item_set_expand (GtkToolItem *tool_item, > gboolean expand); >gboolean gtk_tool_item_get_expand (GtkToolItem *tool_item); > >void gtk_tool_item_set_tooltip (GtkToolItem *tool_item, > GtkTooltips *tooltips, > const gchar *tip_text, > const gchar *tip_private); > >void gtk_tool_item_set_use_drag_window (GtkToolItem *toolitem, > gboolean use_drag_window); >gboolean gtk_tool_item_get_use_drag_window (GtkToolItem *toolitem); > >void gtk_tool_item_set_visible_horizontal (GtkToolItem *toolitem, > gboolean visible_horizontal); >gboolean gtk_tool_item_get_visible_horizontal (GtkToolItem *toolitem); > >void gtk_tool_item_set_visible_vertical (GtkToolItem *toolitem, > gboolean visible_vertical); >gboolean gtk_tool_item_get_visible_vertical (GtkToolItem *toolitem); > >gboolean gtk_tool_item_get_is_important (GtkToolItem *tool_item); >void gtk_tool_item_set_is_important (GtkToolItem *tool_item, > gboolean is_important); > >GtkIconSize gtk_tool_item_get_icon_size (GtkToolItem *tool_item); >GtkOrientation gtk_tool_item_get_orientation (GtkToolItem *tool_item); >GtkToolbarStyle gtk_tool_item_get_toolbar_style (GtkToolItem *tool_item); >GtkReliefStyle gtk_tool_item_get_relief_style (GtkToolItem *tool_item); > >GtkWidget * gtk_tool_item_retrieve_proxy_menu_item (GtkToolItem *tool_item); >GtkWidget * gtk_tool_item_get_proxy_menu_item (GtkToolItem *tool_item, > const gchar *menu_item_id); >void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item, > const gchar *menu_item_id, > GtkWidget *menu_item); > > >void _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item); > >} ># 27 "/usr/include/gtk-2.0/gtk/gtktoolbutton.h" 2 > >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtktoolbutton.h" >typedef struct _GtkToolButton GtkToolButton; >typedef struct _GtkToolButtonClass GtkToolButtonClass; >typedef struct _GtkToolButtonPrivate GtkToolButtonPrivate; > >struct _GtkToolButton >{ > GtkToolItem parent; > > > GtkToolButtonPrivate *priv; >}; > >struct _GtkToolButtonClass >{ > GtkToolItemClass parent_class; > > GType button_type; > > > void (* clicked) (GtkToolButton *tool_item); > > > void (* _gtk_reserved1) (void); > void (* _gtk_reserved2) (void); > void (* _gtk_reserved3) (void); > void (* _gtk_reserved4) (void); >}; > >GType gtk_tool_button_get_type (void); >GtkToolItem *gtk_tool_button_new (GtkWidget *icon_widget, > const gchar *label); >GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); > >void gtk_tool_button_set_label (GtkToolButton *button, > const gchar *label); >const gchar *gtk_tool_button_get_label (GtkToolButton *button); >void gtk_tool_button_set_use_underline (GtkToolButton *button, > gboolean use_underline); >gboolean gtk_tool_button_get_use_underline (GtkToolButton *button); >void gtk_tool_button_set_stock_id (GtkToolButton *button, > const gchar *stock_id); >const gchar *gtk_tool_button_get_stock_id (GtkToolButton *button); >void gtk_tool_button_set_icon_widget (GtkToolButton *button, > GtkWidget *icon_widget); >GtkWidget * gtk_tool_button_get_icon_widget (GtkToolButton *button); >void gtk_tool_button_set_label_widget (GtkToolButton *button, > GtkWidget *label_widget); >GtkWidget * gtk_tool_button_get_label_widget (GtkToolButton *button); > > > >GtkWidget *_gtk_tool_button_get_button (GtkToolButton *button); > >} ># 27 "/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h" 2 > >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h" >typedef struct _GtkToggleToolButton GtkToggleToolButton; >typedef struct _GtkToggleToolButtonClass GtkToggleToolButtonClass; >typedef struct _GtkToggleToolButtonPrivate GtkToggleToolButtonPrivate; > >struct _GtkToggleToolButton >{ > GtkToolButton parent; > > > GtkToggleToolButtonPrivate *priv; >}; > >struct _GtkToggleToolButtonClass >{ > GtkToolButtonClass parent_class; > > > void (* toggled) (GtkToggleToolButton *button); > > > void (* _gtk_reserved1) (void); > void (* _gtk_reserved2) (void); > void (* _gtk_reserved3) (void); > void (* _gtk_reserved4) (void); >}; > >GType gtk_toggle_tool_button_get_type (void) __attribute__((__const__)); >GtkToolItem *gtk_toggle_tool_button_new (void); >GtkToolItem *gtk_toggle_tool_button_new_from_stock (const gchar *stock_id); > >void gtk_toggle_tool_button_set_active (GtkToggleToolButton *button, > gboolean is_active); >gboolean gtk_toggle_tool_button_get_active (GtkToggleToolButton *button); > >} ># 27 "/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h" 2 > >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h" >typedef struct _GtkRadioToolButton GtkRadioToolButton; >typedef struct _GtkRadioToolButtonClass GtkRadioToolButtonClass; > >struct _GtkRadioToolButton >{ > GtkToggleToolButton parent; >}; > >struct _GtkRadioToolButtonClass >{ > GtkToggleToolButtonClass parent_class; > > > void (* _gtk_reserved1) (void); > void (* _gtk_reserved2) (void); > void (* _gtk_reserved3) (void); > void (* _gtk_reserved4) (void); >}; > >GType gtk_radio_tool_button_get_type (void) __attribute__((__const__)); > >GtkToolItem *gtk_radio_tool_button_new (GSList *group); >GtkToolItem *gtk_radio_tool_button_new_from_stock (GSList *group, > const gchar *stock_id); >GtkToolItem *gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group); >GtkToolItem *gtk_radio_tool_button_new_with_stock_from_widget (GtkRadioToolButton *group, > const gchar *stock_id); >GSList * gtk_radio_tool_button_get_group (GtkRadioToolButton *button); >void gtk_radio_tool_button_set_group (GtkRadioToolButton *button, > GSList *group); > >} ># 129 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > > > ># 1 "/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkviewport.h" 1 ># 37 "/usr/include/gtk-2.0/gtk/gtkviewport.h" >extern "C" { ># 49 "/usr/include/gtk-2.0/gtk/gtkviewport.h" >typedef struct _GtkViewport GtkViewport; >typedef struct _GtkViewportClass GtkViewportClass; > >struct _GtkViewport >{ > GtkBin bin; > > GtkShadowType shadow_type; > GdkWindow *view_window; > GdkWindow *bin_window; > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; >}; > >struct _GtkViewportClass >{ > GtkBinClass parent_class; > > void (*set_scroll_adjustments) (GtkViewport *viewport, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >}; > > >GType gtk_viewport_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport); >GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport); >void gtk_viewport_set_hadjustment (GtkViewport *viewport, > GtkAdjustment *adjustment); >void gtk_viewport_set_vadjustment (GtkViewport *viewport, > GtkAdjustment *adjustment); >void gtk_viewport_set_shadow_type (GtkViewport *viewport, > GtkShadowType type); >GtkShadowType gtk_viewport_get_shadow_type (GtkViewport *viewport); > > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h" 2 > > > >extern "C" { ># 51 "/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h" >typedef struct _GtkScrolledWindow GtkScrolledWindow; >typedef struct _GtkScrolledWindowClass GtkScrolledWindowClass; > >struct _GtkScrolledWindow >{ > GtkBin container; > > GtkWidget *hscrollbar; > GtkWidget *vscrollbar; > > guint hscrollbar_policy : 2; > guint vscrollbar_policy : 2; > guint hscrollbar_visible : 1; > guint vscrollbar_visible : 1; > guint window_placement : 2; > guint focus_out : 1; > > guint16 shadow_type; >}; > >struct _GtkScrolledWindowClass >{ > GtkBinClass parent_class; > > gint scrollbar_spacing; ># 84 "/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h" > void (*scroll_child) (GtkScrolledWindow *scrolled_window, > GtkScrollType scroll, > gboolean horizontal); > > void (* move_focus_out) (GtkScrolledWindow *scrolled_window, > GtkDirectionType direction); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_scrolled_window_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_scrolled_window_new (GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); >void gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window, > GtkAdjustment *hadjustment); >void gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window, > GtkAdjustment *hadjustment); >GtkAdjustment* gtk_scrolled_window_get_hadjustment (GtkScrolledWindow *scrolled_window); >GtkAdjustment* gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_window); >void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window, > GtkPolicyType hscrollbar_policy, > GtkPolicyType vscrollbar_policy); >void gtk_scrolled_window_get_policy (GtkScrolledWindow *scrolled_window, > GtkPolicyType *hscrollbar_policy, > GtkPolicyType *vscrollbar_policy); >void gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window, > GtkCornerType window_placement); >GtkCornerType gtk_scrolled_window_get_placement (GtkScrolledWindow *scrolled_window); >void gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window, > GtkShadowType type); >GtkShadowType gtk_scrolled_window_get_shadow_type (GtkScrolledWindow *scrolled_window); >void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, > GtkWidget *child); > >gint _gtk_scrolled_window_get_scrollbar_spacing (GtkScrolledWindow *scrolled_window); > > >} ># 135 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h" >typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem; >typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass; > >struct _GtkSeparatorMenuItem >{ > GtkMenuItem menu_item; >}; > >struct _GtkSeparatorMenuItemClass >{ > GtkMenuItemClass parent_class; >}; > > >GType gtk_separator_menu_item_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_separator_menu_item_new (void); > > > >} ># 138 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h" >extern "C" { ># 36 "/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h" >typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem; >typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass; >typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate; > >struct _GtkSeparatorToolItem >{ > GtkToolItem parent; > > > GtkSeparatorToolItemPrivate *priv; >}; > >struct _GtkSeparatorToolItemClass >{ > GtkToolItemClass parent_class; > > > void (* _gtk_reserved1) (void); > void (* _gtk_reserved2) (void); > void (* _gtk_reserved3) (void); > void (* _gtk_reserved4) (void); >}; > >GType gtk_separator_tool_item_get_type (void) __attribute__((__const__)); >GtkToolItem *gtk_separator_tool_item_new (void); > >gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item); >void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item, > gboolean draw); > >} ># 139 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtksizegroup.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtksizegroup.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtksizegroup.h" >typedef struct _GtkSizeGroup GtkSizeGroup; >typedef struct _GtkSizeGroupClass GtkSizeGroupClass; > >struct _GtkSizeGroup >{ > GObject parent_instance; > > GSList *widgets; > > guint8 mode; > > guint have_width : 1; > guint have_height : 1; > > GtkRequisition requisition; >}; > >struct _GtkSizeGroupClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; ># 76 "/usr/include/gtk-2.0/gtk/gtksizegroup.h" >typedef enum { > GTK_SIZE_GROUP_NONE, > GTK_SIZE_GROUP_HORIZONTAL, > GTK_SIZE_GROUP_VERTICAL, > GTK_SIZE_GROUP_BOTH >} GtkSizeGroupMode; > >GType gtk_size_group_get_type (void) __attribute__((__const__)); > >GtkSizeGroup * gtk_size_group_new (GtkSizeGroupMode mode); >void gtk_size_group_set_mode (GtkSizeGroup *size_group, > GtkSizeGroupMode mode); >GtkSizeGroupMode gtk_size_group_get_mode (GtkSizeGroup *size_group); >void gtk_size_group_add_widget (GtkSizeGroup *size_group, > GtkWidget *widget); >void gtk_size_group_remove_widget (GtkSizeGroup *size_group, > GtkWidget *widget); > > >void _gtk_size_group_get_child_requisition (GtkWidget *widget, > GtkRequisition *requisition); >void _gtk_size_group_compute_requisition (GtkWidget *widget, > GtkRequisition *requisition); >void _gtk_size_group_queue_resize (GtkWidget *widget); > > >} ># 142 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkspinbutton.h" 1 ># 40 "/usr/include/gtk-2.0/gtk/gtkspinbutton.h" >extern "C" { ># 53 "/usr/include/gtk-2.0/gtk/gtkspinbutton.h" >typedef enum >{ > GTK_UPDATE_ALWAYS, > GTK_UPDATE_IF_VALID >} GtkSpinButtonUpdatePolicy; > >typedef enum >{ > GTK_SPIN_STEP_FORWARD, > GTK_SPIN_STEP_BACKWARD, > GTK_SPIN_PAGE_FORWARD, > GTK_SPIN_PAGE_BACKWARD, > GTK_SPIN_HOME, > GTK_SPIN_END, > GTK_SPIN_USER_DEFINED >} GtkSpinType; > > >typedef struct _GtkSpinButton GtkSpinButton; >typedef struct _GtkSpinButtonClass GtkSpinButtonClass; > > >struct _GtkSpinButton >{ > GtkEntry entry; > > GtkAdjustment *adjustment; > > GdkWindow *panel; > > guint32 timer; > > gdouble climb_rate; > gdouble timer_step; > > GtkSpinButtonUpdatePolicy update_policy; > > guint in_child : 2; > guint click_child : 2; > guint button : 2; > guint need_timer : 1; > guint timer_calls : 3; > guint digits : 10; > guint numeric : 1; > guint wrap : 1; > guint snap_to_ticks : 1; >}; > >struct _GtkSpinButtonClass >{ > GtkEntryClass parent_class; > > gint (*input) (GtkSpinButton *spin_button, > gdouble *new_value); > gint (*output) (GtkSpinButton *spin_button); > void (*value_changed) (GtkSpinButton *spin_button); > > > void (*change_value) (GtkSpinButton *spin_button, > GtkScrollType scroll); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_spin_button_get_type (void) __attribute__((__const__)); > >void gtk_spin_button_configure (GtkSpinButton *spin_button, > GtkAdjustment *adjustment, > gdouble climb_rate, > guint digits); > >GtkWidget* gtk_spin_button_new (GtkAdjustment *adjustment, > gdouble climb_rate, > guint digits); > >GtkWidget* gtk_spin_button_new_with_range (gdouble min, > gdouble max, > gdouble step); > >void gtk_spin_button_set_adjustment (GtkSpinButton *spin_button, > GtkAdjustment *adjustment); > >GtkAdjustment* gtk_spin_button_get_adjustment (GtkSpinButton *spin_button); > >void gtk_spin_button_set_digits (GtkSpinButton *spin_button, > guint digits); >guint gtk_spin_button_get_digits (GtkSpinButton *spin_button); > >void gtk_spin_button_set_increments (GtkSpinButton *spin_button, > gdouble step, > gdouble page); >void gtk_spin_button_get_increments (GtkSpinButton *spin_button, > gdouble *step, > gdouble *page); > >void gtk_spin_button_set_range (GtkSpinButton *spin_button, > gdouble min, > gdouble max); >void gtk_spin_button_get_range (GtkSpinButton *spin_button, > gdouble *min, > gdouble *max); > >gdouble gtk_spin_button_get_value (GtkSpinButton *spin_button); > >gint gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button); > >void gtk_spin_button_set_value (GtkSpinButton *spin_button, > gdouble value); > >void gtk_spin_button_set_update_policy (GtkSpinButton *spin_button, > GtkSpinButtonUpdatePolicy policy); >GtkSpinButtonUpdatePolicy gtk_spin_button_get_update_policy (GtkSpinButton *spin_button); > >void gtk_spin_button_set_numeric (GtkSpinButton *spin_button, > gboolean numeric); >gboolean gtk_spin_button_get_numeric (GtkSpinButton *spin_button); > >void gtk_spin_button_spin (GtkSpinButton *spin_button, > GtkSpinType direction, > gdouble increment); > >void gtk_spin_button_set_wrap (GtkSpinButton *spin_button, > gboolean wrap); >gboolean gtk_spin_button_get_wrap (GtkSpinButton *spin_button); > >void gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button, > gboolean snap_to_ticks); >gboolean gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button); >void gtk_spin_button_update (GtkSpinButton *spin_button); > > > > > > > >} ># 144 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkstatusbar.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkstatusbar.h" >extern "C" { ># 46 "/usr/include/gtk-2.0/gtk/gtkstatusbar.h" >typedef struct _GtkStatusbar GtkStatusbar; >typedef struct _GtkStatusbarClass GtkStatusbarClass; > >struct _GtkStatusbar >{ > GtkHBox parent_widget; > > GtkWidget *frame; > GtkWidget *label; > > GSList *messages; > GSList *keys; > > guint seq_context_id; > guint seq_message_id; > > GdkWindow *grip_window; > > guint has_resize_grip : 1; >}; > >struct _GtkStatusbarClass >{ > GtkHBoxClass parent_class; > > GMemChunk *messages_mem_chunk; > > void (*text_pushed) (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); > void (*text_popped) (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_statusbar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_statusbar_new (void); > > > >guint gtk_statusbar_get_context_id (GtkStatusbar *statusbar, > const gchar *context_description); > >guint gtk_statusbar_push (GtkStatusbar *statusbar, > guint context_id, > const gchar *text); >void gtk_statusbar_pop (GtkStatusbar *statusbar, > guint context_id); >void gtk_statusbar_remove (GtkStatusbar *statusbar, > guint context_id, > guint message_id); > >void gtk_statusbar_set_has_resize_grip (GtkStatusbar *statusbar, > gboolean setting); >gboolean gtk_statusbar_get_has_resize_grip (GtkStatusbar *statusbar); > > >} ># 145 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkstock.h" 1 ># 34 "/usr/include/gtk-2.0/gtk/gtkstock.h" >extern "C" { > > >typedef struct _GtkStockItem GtkStockItem; > >struct _GtkStockItem >{ > gchar *stock_id; > gchar *label; > GdkModifierType modifier; > guint keyval; > gchar *translation_domain; >}; > >void gtk_stock_add (const GtkStockItem *items, > guint n_items); >void gtk_stock_add_static (const GtkStockItem *items, > guint n_items); >gboolean gtk_stock_lookup (const gchar *stock_id, > GtkStockItem *item); > > > > >GSList* gtk_stock_list_ids (void); > >GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item); >void gtk_stock_item_free (GtkStockItem *item); ># 146 "/usr/include/gtk-2.0/gtk/gtkstock.h" >} ># 146 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtktable.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtktable.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtktable.h" >typedef struct _GtkTable GtkTable; >typedef struct _GtkTableClass GtkTableClass; >typedef struct _GtkTableChild GtkTableChild; >typedef struct _GtkTableRowCol GtkTableRowCol; > >struct _GtkTable >{ > GtkContainer container; > > GList *children; > GtkTableRowCol *rows; > GtkTableRowCol *cols; > guint16 nrows; > guint16 ncols; > guint16 column_spacing; > guint16 row_spacing; > guint homogeneous : 1; >}; > >struct _GtkTableClass >{ > GtkContainerClass parent_class; >}; > >struct _GtkTableChild >{ > GtkWidget *widget; > guint16 left_attach; > guint16 right_attach; > guint16 top_attach; > guint16 bottom_attach; > guint16 xpadding; > guint16 ypadding; > guint xexpand : 1; > guint yexpand : 1; > guint xshrink : 1; > guint yshrink : 1; > guint xfill : 1; > guint yfill : 1; >}; > >struct _GtkTableRowCol >{ > guint16 requisition; > guint16 allocation; > guint16 spacing; > guint need_expand : 1; > guint need_shrink : 1; > guint expand : 1; > guint shrink : 1; > guint empty : 1; >}; > > >GType gtk_table_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_table_new (guint rows, > guint columns, > gboolean homogeneous); >void gtk_table_resize (GtkTable *table, > guint rows, > guint columns); >void gtk_table_attach (GtkTable *table, > GtkWidget *child, > guint left_attach, > guint right_attach, > guint top_attach, > guint bottom_attach, > GtkAttachOptions xoptions, > GtkAttachOptions yoptions, > guint xpadding, > guint ypadding); >void gtk_table_attach_defaults (GtkTable *table, > GtkWidget *widget, > guint left_attach, > guint right_attach, > guint top_attach, > guint bottom_attach); >void gtk_table_set_row_spacing (GtkTable *table, > guint row, > guint spacing); >guint gtk_table_get_row_spacing (GtkTable *table, > guint row); >void gtk_table_set_col_spacing (GtkTable *table, > guint column, > guint spacing); >guint gtk_table_get_col_spacing (GtkTable *table, > guint column); >void gtk_table_set_row_spacings (GtkTable *table, > guint spacing); >guint gtk_table_get_default_row_spacing (GtkTable *table); >void gtk_table_set_col_spacings (GtkTable *table, > guint spacing); >guint gtk_table_get_default_col_spacing (GtkTable *table); >void gtk_table_set_homogeneous (GtkTable *table, > gboolean homogeneous); >gboolean gtk_table_get_homogeneous (GtkTable *table); > > > >} ># 148 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h" >typedef struct _GtkTearoffMenuItem GtkTearoffMenuItem; >typedef struct _GtkTearoffMenuItemClass GtkTearoffMenuItemClass; > >struct _GtkTearoffMenuItem >{ > GtkMenuItem menu_item; > > guint torn_off : 1; >}; > >struct _GtkTearoffMenuItemClass >{ > GtkMenuItemClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_tearoff_menu_item_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_tearoff_menu_item_new (void); > > >} ># 149 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktext.h" 1 ># 150 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" 1 ># 32 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktexttagtable.h" 1 > > > ># 1 "/usr/include/gtk-2.0/gtk/gtktexttag.h" 1 ># 12 "/usr/include/gtk-2.0/gtk/gtktexttag.h" >extern "C" { > > >typedef struct _GtkTextIter GtkTextIter; >typedef struct _GtkTextTagTable GtkTextTagTable; > >typedef struct _GtkTextAttributes GtkTextAttributes; ># 29 "/usr/include/gtk-2.0/gtk/gtktexttag.h" >typedef struct _GtkTextTag GtkTextTag; >typedef struct _GtkTextTagClass GtkTextTagClass; > >struct _GtkTextTag >{ > GObject parent_instance; > > GtkTextTagTable *table; > > char *name; > > > > int priority; ># 54 "/usr/include/gtk-2.0/gtk/gtktexttag.h" > GtkTextAttributes *values; > > > > > guint bg_color_set : 1; > guint bg_stipple_set : 1; > guint fg_color_set : 1; > guint scale_set : 1; > guint fg_stipple_set : 1; > guint justification_set : 1; > guint left_margin_set : 1; > guint indent_set : 1; > guint rise_set : 1; > guint strikethrough_set : 1; > guint right_margin_set : 1; > guint pixels_above_lines_set : 1; > guint pixels_below_lines_set : 1; > guint pixels_inside_wrap_set : 1; > guint tabs_set : 1; > guint underline_set : 1; > guint wrap_mode_set : 1; > guint bg_full_height_set : 1; > guint invisible_set : 1; > guint editable_set : 1; > guint language_set : 1; > guint pad1 : 1; > guint pad2 : 1; > guint pad3 : 1; >}; > >struct _GtkTextTagClass >{ > GObjectClass parent_class; > > gboolean (* event) (GtkTextTag *tag, > GObject *event_object, > GdkEvent *event, > const GtkTextIter *iter); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_text_tag_get_type (void) __attribute__((__const__)); >GtkTextTag *gtk_text_tag_new (const gchar *name); >gint gtk_text_tag_get_priority (GtkTextTag *tag); >void gtk_text_tag_set_priority (GtkTextTag *tag, > gint priority); >gboolean gtk_text_tag_event (GtkTextTag *tag, > GObject *event_object, > GdkEvent *event, > const GtkTextIter *iter); > > > > > >typedef struct _GtkTextAppearance GtkTextAppearance; > >struct _GtkTextAppearance >{ > > GdkColor bg_color; > GdkColor fg_color; > GdkBitmap *bg_stipple; > GdkBitmap *fg_stipple; > > > gint rise; > > > > > > gpointer padding1; > > > guint underline : 4; > guint strikethrough : 1; > > > > > > > guint draw_bg : 1; > > > > > > guint inside_selection : 1; > guint is_text : 1; > > > guint pad1 : 1; > guint pad2 : 1; > guint pad3 : 1; > guint pad4 : 1; >}; > >struct _GtkTextAttributes >{ > > guint refcount; > > > GtkTextAppearance appearance; > > GtkJustification justification; > GtkTextDirection direction; > > > PangoFontDescription *font; > > gdouble font_scale; > > gint left_margin; > > gint indent; > > gint right_margin; > > gint pixels_above_lines; > > gint pixels_below_lines; > > gint pixels_inside_wrap; > > PangoTabArray *tabs; > > GtkWrapMode wrap_mode; > > > > > PangoLanguage *language; > > > > > > gpointer padding1; > > > > guint invisible : 1; > > > > > guint bg_full_height : 1; > > > guint editable : 1; > > > guint realized : 1; > > > guint pad1 : 1; > guint pad2 : 1; > guint pad3 : 1; > guint pad4 : 1; >}; > >GtkTextAttributes* gtk_text_attributes_new (void); >GtkTextAttributes* gtk_text_attributes_copy (GtkTextAttributes *src); >void gtk_text_attributes_copy_values (GtkTextAttributes *src, > GtkTextAttributes *dest); >void gtk_text_attributes_unref (GtkTextAttributes *values); >void gtk_text_attributes_ref (GtkTextAttributes *values); > >GType gtk_text_attributes_get_type (void); > > > >} ># 5 "/usr/include/gtk-2.0/gtk/gtktexttagtable.h" 2 > > >extern "C" { > > > > >typedef void (* GtkTextTagTableForeach) (GtkTextTag *tag, gpointer data); ># 21 "/usr/include/gtk-2.0/gtk/gtktexttagtable.h" >typedef struct _GtkTextTagTableClass GtkTextTagTableClass; > >struct _GtkTextTagTable >{ > GObject parent_instance; > > GHashTable *hash; > GSList *anonymous; > gint anon_count; > > GSList *buffers; >}; > >struct _GtkTextTagTableClass >{ > GObjectClass parent_class; > > void (* tag_changed) (GtkTextTagTable *table, GtkTextTag *tag, gboolean size_changed); > void (* tag_added) (GtkTextTagTable *table, GtkTextTag *tag); > void (* tag_removed) (GtkTextTagTable *table, GtkTextTag *tag); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_text_tag_table_get_type (void) __attribute__((__const__)); > >GtkTextTagTable *gtk_text_tag_table_new (void); >void gtk_text_tag_table_add (GtkTextTagTable *table, > GtkTextTag *tag); >void gtk_text_tag_table_remove (GtkTextTagTable *table, > GtkTextTag *tag); >GtkTextTag *gtk_text_tag_table_lookup (GtkTextTagTable *table, > const gchar *name); >void gtk_text_tag_table_foreach (GtkTextTagTable *table, > GtkTextTagTableForeach func, > gpointer data); >gint gtk_text_tag_table_get_size (GtkTextTagTable *table); > > > > > >void _gtk_text_tag_table_add_buffer (GtkTextTagTable *table, > gpointer buffer); >void _gtk_text_tag_table_remove_buffer (GtkTextTagTable *table, > gpointer buffer); > > >} ># 33 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktextiter.h" 1 ># 31 "/usr/include/gtk-2.0/gtk/gtktextiter.h" ># 1 "/usr/include/gtk-2.0/gtk/gtktextchild.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtktextchild.h" >extern "C" { ># 42 "/usr/include/gtk-2.0/gtk/gtktextchild.h" >typedef struct _GtkTextChildAnchor GtkTextChildAnchor; >typedef struct _GtkTextChildAnchorClass GtkTextChildAnchorClass; ># 52 "/usr/include/gtk-2.0/gtk/gtktextchild.h" >struct _GtkTextChildAnchor >{ > GObject parent_instance; > > gpointer segment; >}; > >struct _GtkTextChildAnchorClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_text_child_anchor_get_type (void) __attribute__((__const__)); > >GtkTextChildAnchor* gtk_text_child_anchor_new (void); > >GList* gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor); >gboolean gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor); > > >} ># 32 "/usr/include/gtk-2.0/gtk/gtktextiter.h" 2 > > >extern "C" { > > >typedef enum { > GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0, > GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1 > >} GtkTextSearchFlags; > > > > > > > >typedef struct _GtkTextBuffer GtkTextBuffer; > > > >struct _GtkTextIter { > > > > > > gpointer dummy1; > gpointer dummy2; > gint dummy3; > gint dummy4; > gint dummy5; > gint dummy6; > gint dummy7; > gint dummy8; > gpointer dummy9; > gpointer dummy10; > gint dummy11; > gint dummy12; > > gint dummy13; > gpointer dummy14; >}; > > > > >GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter); > > > > > >GtkTextIter *gtk_text_iter_copy (const GtkTextIter *iter); >void gtk_text_iter_free (GtkTextIter *iter); > >GType gtk_text_iter_get_type (void); > > > > > >gint gtk_text_iter_get_offset (const GtkTextIter *iter); >gint gtk_text_iter_get_line (const GtkTextIter *iter); >gint gtk_text_iter_get_line_offset (const GtkTextIter *iter); >gint gtk_text_iter_get_line_index (const GtkTextIter *iter); > >gint gtk_text_iter_get_visible_line_offset (const GtkTextIter *iter); >gint gtk_text_iter_get_visible_line_index (const GtkTextIter *iter); > > > > > >gunichar gtk_text_iter_get_char (const GtkTextIter *iter); > > > > >gchar *gtk_text_iter_get_slice (const GtkTextIter *start, > const GtkTextIter *end); > > >gchar *gtk_text_iter_get_text (const GtkTextIter *start, > const GtkTextIter *end); > >gchar *gtk_text_iter_get_visible_slice (const GtkTextIter *start, > const GtkTextIter *end); >gchar *gtk_text_iter_get_visible_text (const GtkTextIter *start, > const GtkTextIter *end); > >GdkPixbuf* gtk_text_iter_get_pixbuf (const GtkTextIter *iter); >GSList * gtk_text_iter_get_marks (const GtkTextIter *iter); > >GtkTextChildAnchor* gtk_text_iter_get_child_anchor (const GtkTextIter *iter); > > > > >GSList *gtk_text_iter_get_toggled_tags (const GtkTextIter *iter, > gboolean toggled_on); > >gboolean gtk_text_iter_begins_tag (const GtkTextIter *iter, > GtkTextTag *tag); > >gboolean gtk_text_iter_ends_tag (const GtkTextIter *iter, > GtkTextTag *tag); > >gboolean gtk_text_iter_toggles_tag (const GtkTextIter *iter, > GtkTextTag *tag); > >gboolean gtk_text_iter_has_tag (const GtkTextIter *iter, > GtkTextTag *tag); >GSList *gtk_text_iter_get_tags (const GtkTextIter *iter); > >gboolean gtk_text_iter_editable (const GtkTextIter *iter, > gboolean default_setting); >gboolean gtk_text_iter_can_insert (const GtkTextIter *iter, > gboolean default_editability); > >gboolean gtk_text_iter_starts_word (const GtkTextIter *iter); >gboolean gtk_text_iter_ends_word (const GtkTextIter *iter); >gboolean gtk_text_iter_inside_word (const GtkTextIter *iter); >gboolean gtk_text_iter_starts_sentence (const GtkTextIter *iter); >gboolean gtk_text_iter_ends_sentence (const GtkTextIter *iter); >gboolean gtk_text_iter_inside_sentence (const GtkTextIter *iter); >gboolean gtk_text_iter_starts_line (const GtkTextIter *iter); >gboolean gtk_text_iter_ends_line (const GtkTextIter *iter); >gboolean gtk_text_iter_is_cursor_position (const GtkTextIter *iter); > >gint gtk_text_iter_get_chars_in_line (const GtkTextIter *iter); >gint gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter); > >gboolean gtk_text_iter_get_attributes (const GtkTextIter *iter, > GtkTextAttributes *values); >PangoLanguage* gtk_text_iter_get_language (const GtkTextIter *iter); >gboolean gtk_text_iter_is_end (const GtkTextIter *iter); >gboolean gtk_text_iter_is_start (const GtkTextIter *iter); > > > > > >gboolean gtk_text_iter_forward_char (GtkTextIter *iter); >gboolean gtk_text_iter_backward_char (GtkTextIter *iter); >gboolean gtk_text_iter_forward_chars (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_chars (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_forward_line (GtkTextIter *iter); >gboolean gtk_text_iter_backward_line (GtkTextIter *iter); >gboolean gtk_text_iter_forward_lines (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_lines (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_forward_word_end (GtkTextIter *iter); >gboolean gtk_text_iter_backward_word_start (GtkTextIter *iter); >gboolean gtk_text_iter_forward_word_ends (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_word_starts (GtkTextIter *iter, > gint count); > >gboolean gtk_text_iter_forward_visible_word_end (GtkTextIter *iter); >gboolean gtk_text_iter_backward_visible_word_start (GtkTextIter *iter); >gboolean gtk_text_iter_forward_visible_word_ends (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_visible_word_starts (GtkTextIter *iter, > gint count); > >gboolean gtk_text_iter_forward_sentence_end (GtkTextIter *iter); >gboolean gtk_text_iter_backward_sentence_start (GtkTextIter *iter); >gboolean gtk_text_iter_forward_sentence_ends (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_sentence_starts (GtkTextIter *iter, > gint count); > > > > > >gboolean gtk_text_iter_forward_cursor_position (GtkTextIter *iter); >gboolean gtk_text_iter_backward_cursor_position (GtkTextIter *iter); >gboolean gtk_text_iter_forward_cursor_positions (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_cursor_positions (GtkTextIter *iter, > gint count); > >gboolean gtk_text_iter_forward_visible_cursor_position (GtkTextIter *iter); >gboolean gtk_text_iter_backward_visible_cursor_position (GtkTextIter *iter); >gboolean gtk_text_iter_forward_visible_cursor_positions (GtkTextIter *iter, > gint count); >gboolean gtk_text_iter_backward_visible_cursor_positions (GtkTextIter *iter, > gint count); > > >void gtk_text_iter_set_offset (GtkTextIter *iter, > gint char_offset); >void gtk_text_iter_set_line (GtkTextIter *iter, > gint line_number); >void gtk_text_iter_set_line_offset (GtkTextIter *iter, > gint char_on_line); >void gtk_text_iter_set_line_index (GtkTextIter *iter, > gint byte_on_line); >void gtk_text_iter_forward_to_end (GtkTextIter *iter); >gboolean gtk_text_iter_forward_to_line_end (GtkTextIter *iter); > >void gtk_text_iter_set_visible_line_offset (GtkTextIter *iter, > gint char_on_line); >void gtk_text_iter_set_visible_line_index (GtkTextIter *iter, > gint byte_on_line); > > > > > >gboolean gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter, > GtkTextTag *tag); > >gboolean gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter, > GtkTextTag *tag); > >typedef gboolean (* GtkTextCharPredicate) (gunichar ch, gpointer user_data); > >gboolean gtk_text_iter_forward_find_char (GtkTextIter *iter, > GtkTextCharPredicate pred, > gpointer user_data, > const GtkTextIter *limit); >gboolean gtk_text_iter_backward_find_char (GtkTextIter *iter, > GtkTextCharPredicate pred, > gpointer user_data, > const GtkTextIter *limit); > >gboolean gtk_text_iter_forward_search (const GtkTextIter *iter, > const gchar *str, > GtkTextSearchFlags flags, > GtkTextIter *match_start, > GtkTextIter *match_end, > const GtkTextIter *limit); > >gboolean gtk_text_iter_backward_search (const GtkTextIter *iter, > const gchar *str, > GtkTextSearchFlags flags, > GtkTextIter *match_start, > GtkTextIter *match_end, > const GtkTextIter *limit); > > > > > >gboolean gtk_text_iter_equal (const GtkTextIter *lhs, > const GtkTextIter *rhs); >gint gtk_text_iter_compare (const GtkTextIter *lhs, > const GtkTextIter *rhs); >gboolean gtk_text_iter_in_range (const GtkTextIter *iter, > const GtkTextIter *start, > const GtkTextIter *end); > > >void gtk_text_iter_order (GtkTextIter *first, > GtkTextIter *second); > > >} ># 34 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktextmark.h" 1 ># 54 "/usr/include/gtk-2.0/gtk/gtktextmark.h" >extern "C" { > > > > >typedef struct _GtkTextMark GtkTextMark; >typedef struct _GtkTextMarkClass GtkTextMarkClass; ># 69 "/usr/include/gtk-2.0/gtk/gtktextmark.h" >struct _GtkTextMark >{ > GObject parent_instance; > > gpointer segment; >}; > >struct _GtkTextMarkClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >GType gtk_text_mark_get_type (void) __attribute__((__const__)); > >void gtk_text_mark_set_visible (GtkTextMark *mark, > gboolean setting); >gboolean gtk_text_mark_get_visible (GtkTextMark *mark); > >const gchar* gtk_text_mark_get_name (GtkTextMark *mark); >gboolean gtk_text_mark_get_deleted (GtkTextMark *mark); >GtkTextBuffer* gtk_text_mark_get_buffer (GtkTextMark *mark); >gboolean gtk_text_mark_get_left_gravity (GtkTextMark *mark); > > >} ># 35 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" 2 > > > >extern "C" { > > > > > > > >typedef struct _GtkTextBTree GtkTextBTree; > >typedef struct _GtkTextLogAttrCache GtkTextLogAttrCache; ># 57 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" >typedef struct _GtkTextBufferClass GtkTextBufferClass; > >struct _GtkTextBuffer >{ > GObject parent_instance; > > GtkTextTagTable *tag_table; > GtkTextBTree *btree; > > GSList *clipboard_contents_buffers; > GSList *selection_clipboards; > > GtkTextLogAttrCache *log_attr_cache; > > guint user_action_count; > > > guint modified : 1; >}; > >struct _GtkTextBufferClass >{ > GObjectClass parent_class; > > void (* insert_text) (GtkTextBuffer *buffer, > GtkTextIter *pos, > const gchar *text, > gint length); > > void (* insert_pixbuf) (GtkTextBuffer *buffer, > GtkTextIter *pos, > GdkPixbuf *pixbuf); > > void (* insert_child_anchor) (GtkTextBuffer *buffer, > GtkTextIter *pos, > GtkTextChildAnchor *anchor); > > void (* delete_range) (GtkTextBuffer *buffer, > GtkTextIter *start, > GtkTextIter *end); > > > > > void (* changed) (GtkTextBuffer *buffer); > > > > void (* modified_changed) (GtkTextBuffer *buffer); > > > void (* mark_set) (GtkTextBuffer *buffer, > const GtkTextIter *location, > GtkTextMark *mark); > > void (* mark_deleted) (GtkTextBuffer *buffer, > GtkTextMark *mark); > > void (* apply_tag) (GtkTextBuffer *buffer, > GtkTextTag *tag, > const GtkTextIter *start_char, > const GtkTextIter *end_char); > > void (* remove_tag) (GtkTextBuffer *buffer, > GtkTextTag *tag, > const GtkTextIter *start_char, > const GtkTextIter *end_char); > > > void (* begin_user_action) (GtkTextBuffer *buffer); > void (* end_user_action) (GtkTextBuffer *buffer); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); > void (*_gtk_reserved5) (void); > void (*_gtk_reserved6) (void); >}; > >GType gtk_text_buffer_get_type (void) __attribute__((__const__)); > > > > >GtkTextBuffer *gtk_text_buffer_new (GtkTextTagTable *table); >gint gtk_text_buffer_get_line_count (GtkTextBuffer *buffer); >gint gtk_text_buffer_get_char_count (GtkTextBuffer *buffer); > > >GtkTextTagTable* gtk_text_buffer_get_tag_table (GtkTextBuffer *buffer); > > >void gtk_text_buffer_set_text (GtkTextBuffer *buffer, > const gchar *text, > gint len); > > >void gtk_text_buffer_insert (GtkTextBuffer *buffer, > GtkTextIter *iter, > const gchar *text, > gint len); >void gtk_text_buffer_insert_at_cursor (GtkTextBuffer *buffer, > const gchar *text, > gint len); > >gboolean gtk_text_buffer_insert_interactive (GtkTextBuffer *buffer, > GtkTextIter *iter, > const gchar *text, > gint len, > gboolean default_editable); >gboolean gtk_text_buffer_insert_interactive_at_cursor (GtkTextBuffer *buffer, > const gchar *text, > gint len, > gboolean default_editable); > >void gtk_text_buffer_insert_range (GtkTextBuffer *buffer, > GtkTextIter *iter, > const GtkTextIter *start, > const GtkTextIter *end); >gboolean gtk_text_buffer_insert_range_interactive (GtkTextBuffer *buffer, > GtkTextIter *iter, > const GtkTextIter *start, > const GtkTextIter *end, > gboolean default_editable); > >void gtk_text_buffer_insert_with_tags (GtkTextBuffer *buffer, > GtkTextIter *iter, > const gchar *text, > gint len, > GtkTextTag *first_tag, > ...); > >void gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer, > GtkTextIter *iter, > const gchar *text, > gint len, > const gchar *first_tag_name, > ...); > > >void gtk_text_buffer_delete (GtkTextBuffer *buffer, > GtkTextIter *start, > GtkTextIter *end); >gboolean gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer, > GtkTextIter *start_iter, > GtkTextIter *end_iter, > gboolean default_editable); > > > > >gchar *gtk_text_buffer_get_text (GtkTextBuffer *buffer, > const GtkTextIter *start, > const GtkTextIter *end, > gboolean include_hidden_chars); > >gchar *gtk_text_buffer_get_slice (GtkTextBuffer *buffer, > const GtkTextIter *start, > const GtkTextIter *end, > gboolean include_hidden_chars); > > >void gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer, > GtkTextIter *iter, > GdkPixbuf *pixbuf); > > >void gtk_text_buffer_insert_child_anchor (GtkTextBuffer *buffer, > GtkTextIter *iter, > GtkTextChildAnchor *anchor); > > >GtkTextChildAnchor *gtk_text_buffer_create_child_anchor (GtkTextBuffer *buffer, > GtkTextIter *iter); > > >GtkTextMark *gtk_text_buffer_create_mark (GtkTextBuffer *buffer, > const gchar *mark_name, > const GtkTextIter *where, > gboolean left_gravity); >void gtk_text_buffer_move_mark (GtkTextBuffer *buffer, > GtkTextMark *mark, > const GtkTextIter *where); >void gtk_text_buffer_delete_mark (GtkTextBuffer *buffer, > GtkTextMark *mark); >GtkTextMark* gtk_text_buffer_get_mark (GtkTextBuffer *buffer, > const gchar *name); > >void gtk_text_buffer_move_mark_by_name (GtkTextBuffer *buffer, > const gchar *name, > const GtkTextIter *where); >void gtk_text_buffer_delete_mark_by_name (GtkTextBuffer *buffer, > const gchar *name); > >GtkTextMark* gtk_text_buffer_get_insert (GtkTextBuffer *buffer); >GtkTextMark* gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer); > > >void gtk_text_buffer_place_cursor (GtkTextBuffer *buffer, > const GtkTextIter *where); >void gtk_text_buffer_select_range (GtkTextBuffer *buffer, > const GtkTextIter *ins, > const GtkTextIter *bound); > > > > >void gtk_text_buffer_apply_tag (GtkTextBuffer *buffer, > GtkTextTag *tag, > const GtkTextIter *start, > const GtkTextIter *end); >void gtk_text_buffer_remove_tag (GtkTextBuffer *buffer, > GtkTextTag *tag, > const GtkTextIter *start, > const GtkTextIter *end); >void gtk_text_buffer_apply_tag_by_name (GtkTextBuffer *buffer, > const gchar *name, > const GtkTextIter *start, > const GtkTextIter *end); >void gtk_text_buffer_remove_tag_by_name (GtkTextBuffer *buffer, > const gchar *name, > const GtkTextIter *start, > const GtkTextIter *end); >void gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer, > const GtkTextIter *start, > const GtkTextIter *end); > > > > > >GtkTextTag *gtk_text_buffer_create_tag (GtkTextBuffer *buffer, > const gchar *tag_name, > const gchar *first_property_name, > ...); > > > > >void gtk_text_buffer_get_iter_at_line_offset (GtkTextBuffer *buffer, > GtkTextIter *iter, > gint line_number, > gint char_offset); >void gtk_text_buffer_get_iter_at_line_index (GtkTextBuffer *buffer, > GtkTextIter *iter, > gint line_number, > gint byte_index); >void gtk_text_buffer_get_iter_at_offset (GtkTextBuffer *buffer, > GtkTextIter *iter, > gint char_offset); >void gtk_text_buffer_get_iter_at_line (GtkTextBuffer *buffer, > GtkTextIter *iter, > gint line_number); >void gtk_text_buffer_get_start_iter (GtkTextBuffer *buffer, > GtkTextIter *iter); >void gtk_text_buffer_get_end_iter (GtkTextBuffer *buffer, > GtkTextIter *iter); >void gtk_text_buffer_get_bounds (GtkTextBuffer *buffer, > GtkTextIter *start, > GtkTextIter *end); >void gtk_text_buffer_get_iter_at_mark (GtkTextBuffer *buffer, > GtkTextIter *iter, > GtkTextMark *mark); > >void gtk_text_buffer_get_iter_at_child_anchor (GtkTextBuffer *buffer, > GtkTextIter *iter, > GtkTextChildAnchor *anchor); ># 336 "/usr/include/gtk-2.0/gtk/gtktextbuffer.h" >gboolean gtk_text_buffer_get_modified (GtkTextBuffer *buffer); >void gtk_text_buffer_set_modified (GtkTextBuffer *buffer, > gboolean setting); > >void gtk_text_buffer_add_selection_clipboard (GtkTextBuffer *buffer, > GtkClipboard *clipboard); >void gtk_text_buffer_remove_selection_clipboard (GtkTextBuffer *buffer, > GtkClipboard *clipboard); > >void gtk_text_buffer_cut_clipboard (GtkTextBuffer *buffer, > GtkClipboard *clipboard, > gboolean default_editable); >void gtk_text_buffer_copy_clipboard (GtkTextBuffer *buffer, > GtkClipboard *clipboard); >void gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer, > GtkClipboard *clipboard, > GtkTextIter *override_location, > gboolean default_editable); > >gboolean gtk_text_buffer_get_selection_bounds (GtkTextBuffer *buffer, > GtkTextIter *start, > GtkTextIter *end); >gboolean gtk_text_buffer_delete_selection (GtkTextBuffer *buffer, > gboolean interactive, > gboolean default_editable); > > >void gtk_text_buffer_begin_user_action (GtkTextBuffer *buffer); >void gtk_text_buffer_end_user_action (GtkTextBuffer *buffer); > > >void _gtk_text_buffer_spew (GtkTextBuffer *buffer); > >GtkTextBTree* _gtk_text_buffer_get_btree (GtkTextBuffer *buffer); > >const PangoLogAttr* _gtk_text_buffer_get_line_log_attrs (GtkTextBuffer *buffer, > const GtkTextIter *anywhere_in_line, > gint *char_len); > >void _gtk_text_buffer_notify_will_remove_tag (GtkTextBuffer *buffer, > GtkTextTag *tag); > > >} ># 151 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktextview.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtktextview.h" >extern "C" { ># 46 "/usr/include/gtk-2.0/gtk/gtktextview.h" >typedef enum >{ > GTK_TEXT_WINDOW_PRIVATE, > GTK_TEXT_WINDOW_WIDGET, > GTK_TEXT_WINDOW_TEXT, > GTK_TEXT_WINDOW_LEFT, > GTK_TEXT_WINDOW_RIGHT, > GTK_TEXT_WINDOW_TOP, > GTK_TEXT_WINDOW_BOTTOM >} GtkTextWindowType; > > > >typedef struct _GtkTextView GtkTextView; >typedef struct _GtkTextViewClass GtkTextViewClass; > > >typedef struct _GtkTextWindow GtkTextWindow; >typedef struct _GtkTextPendingScroll GtkTextPendingScroll; > >struct _GtkTextView >{ > GtkContainer parent_instance; > > struct _GtkTextLayout *layout; > GtkTextBuffer *buffer; > > guint selection_drag_handler; > guint scroll_timeout; > > > gint pixels_above_lines; > gint pixels_below_lines; > gint pixels_inside_wrap; > GtkWrapMode wrap_mode; > GtkJustification justify; > gint left_margin; > gint right_margin; > gint indent; > PangoTabArray *tabs; > guint editable : 1; > > > > guint overwrite_mode : 1; > guint cursor_visible : 1; > > > guint need_im_reset : 1; > > guint accepts_tab : 1; > > > guint reserved : 1; > > > > > guint onscreen_validated : 1; > > guint mouse_cursor_obscured : 1; > > GtkTextWindow *text_window; > GtkTextWindow *left_window; > GtkTextWindow *right_window; > GtkTextWindow *top_window; > GtkTextWindow *bottom_window; > > GtkAdjustment *hadjustment; > GtkAdjustment *vadjustment; > > gint xoffset; > gint yoffset; > gint width; > gint height; ># 131 "/usr/include/gtk-2.0/gtk/gtktextview.h" > gint virtual_cursor_x; > gint virtual_cursor_y; > > GtkTextMark *first_para_mark; > gint first_para_pixels; > > GtkTextMark *dnd_mark; > guint blink_timeout; > > guint first_validate_idle; > guint incremental_validate_idle; > > GtkIMContext *im_context; > GtkWidget *popup_menu; > > gint drag_start_x; > gint drag_start_y; > > GSList *children; > > GtkTextPendingScroll *pending_scroll; > > gint pending_place_cursor_button; >}; > >struct _GtkTextViewClass >{ > GtkContainerClass parent_class; > > void (* set_scroll_adjustments) (GtkTextView *text_view, > GtkAdjustment *hadjustment, > GtkAdjustment *vadjustment); > > void (* populate_popup) (GtkTextView *text_view, > GtkMenu *menu); > > > > > void (* move_cursor) (GtkTextView *text_view, > GtkMovementStep step, > gint count, > gboolean extend_selection); > > > > > > void (* page_horizontally) (GtkTextView *text_view, > gint count, > gboolean extend_selection); > > > void (* set_anchor) (GtkTextView *text_view); > > > void (* insert_at_cursor) (GtkTextView *text_view, > const gchar *str); > void (* delete_from_cursor) (GtkTextView *text_view, > GtkDeleteType type, > gint count); > > > void (* cut_clipboard) (GtkTextView *text_view); > void (* copy_clipboard) (GtkTextView *text_view); > void (* paste_clipboard) (GtkTextView *text_view); > > void (* toggle_overwrite) (GtkTextView *text_view); > > > void (* move_focus) (GtkTextView *text_view, > GtkDirectionType direction); > > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); > void (*_gtk_reserved5) (void); > void (*_gtk_reserved6) (void); > void (*_gtk_reserved7) (void); > void (*_gtk_reserved8) (void); >}; > >GType gtk_text_view_get_type (void) __attribute__((__const__)); >GtkWidget * gtk_text_view_new (void); >GtkWidget * gtk_text_view_new_with_buffer (GtkTextBuffer *buffer); >void gtk_text_view_set_buffer (GtkTextView *text_view, > GtkTextBuffer *buffer); >GtkTextBuffer *gtk_text_view_get_buffer (GtkTextView *text_view); >gboolean gtk_text_view_scroll_to_iter (GtkTextView *text_view, > GtkTextIter *iter, > gdouble within_margin, > gboolean use_align, > gdouble xalign, > gdouble yalign); >void gtk_text_view_scroll_to_mark (GtkTextView *text_view, > GtkTextMark *mark, > gdouble within_margin, > gboolean use_align, > gdouble xalign, > gdouble yalign); >void gtk_text_view_scroll_mark_onscreen (GtkTextView *text_view, > GtkTextMark *mark); >gboolean gtk_text_view_move_mark_onscreen (GtkTextView *text_view, > GtkTextMark *mark); >gboolean gtk_text_view_place_cursor_onscreen (GtkTextView *text_view); > >void gtk_text_view_get_visible_rect (GtkTextView *text_view, > GdkRectangle *visible_rect); >void gtk_text_view_set_cursor_visible (GtkTextView *text_view, > gboolean setting); >gboolean gtk_text_view_get_cursor_visible (GtkTextView *text_view); > >void gtk_text_view_get_iter_location (GtkTextView *text_view, > const GtkTextIter *iter, > GdkRectangle *location); >void gtk_text_view_get_iter_at_location (GtkTextView *text_view, > GtkTextIter *iter, > gint x, > gint y); >void gtk_text_view_get_line_yrange (GtkTextView *text_view, > const GtkTextIter *iter, > gint *y, > gint *height); > >void gtk_text_view_get_line_at_y (GtkTextView *text_view, > GtkTextIter *target_iter, > gint y, > gint *line_top); > >void gtk_text_view_buffer_to_window_coords (GtkTextView *text_view, > GtkTextWindowType win, > gint buffer_x, > gint buffer_y, > gint *window_x, > gint *window_y); >void gtk_text_view_window_to_buffer_coords (GtkTextView *text_view, > GtkTextWindowType win, > gint window_x, > gint window_y, > gint *buffer_x, > gint *buffer_y); > >GdkWindow* gtk_text_view_get_window (GtkTextView *text_view, > GtkTextWindowType win); >GtkTextWindowType gtk_text_view_get_window_type (GtkTextView *text_view, > GdkWindow *window); > >void gtk_text_view_set_border_window_size (GtkTextView *text_view, > GtkTextWindowType type, > gint size); >gint gtk_text_view_get_border_window_size (GtkTextView *text_view, > GtkTextWindowType type); > >gboolean gtk_text_view_forward_display_line (GtkTextView *text_view, > GtkTextIter *iter); >gboolean gtk_text_view_backward_display_line (GtkTextView *text_view, > GtkTextIter *iter); >gboolean gtk_text_view_forward_display_line_end (GtkTextView *text_view, > GtkTextIter *iter); >gboolean gtk_text_view_backward_display_line_start (GtkTextView *text_view, > GtkTextIter *iter); >gboolean gtk_text_view_starts_display_line (GtkTextView *text_view, > const GtkTextIter *iter); >gboolean gtk_text_view_move_visually (GtkTextView *text_view, > GtkTextIter *iter, > gint count); > > >void gtk_text_view_add_child_at_anchor (GtkTextView *text_view, > GtkWidget *child, > GtkTextChildAnchor *anchor); > >void gtk_text_view_add_child_in_window (GtkTextView *text_view, > GtkWidget *child, > GtkTextWindowType which_window, > > gint xpos, > gint ypos); > >void gtk_text_view_move_child (GtkTextView *text_view, > GtkWidget *child, > > gint xpos, > gint ypos); > > > >void gtk_text_view_set_wrap_mode (GtkTextView *text_view, > GtkWrapMode wrap_mode); >GtkWrapMode gtk_text_view_get_wrap_mode (GtkTextView *text_view); >void gtk_text_view_set_editable (GtkTextView *text_view, > gboolean setting); >gboolean gtk_text_view_get_editable (GtkTextView *text_view); >void gtk_text_view_set_overwrite (GtkTextView *text_view, > gboolean overwrite); >gboolean gtk_text_view_get_overwrite (GtkTextView *text_view); >void gtk_text_view_set_accepts_tab (GtkTextView *text_view, > gboolean accepts_tab); >gboolean gtk_text_view_get_accepts_tab (GtkTextView *text_view); >void gtk_text_view_set_pixels_above_lines (GtkTextView *text_view, > gint pixels_above_lines); >gint gtk_text_view_get_pixels_above_lines (GtkTextView *text_view); >void gtk_text_view_set_pixels_below_lines (GtkTextView *text_view, > gint pixels_below_lines); >gint gtk_text_view_get_pixels_below_lines (GtkTextView *text_view); >void gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view, > gint pixels_inside_wrap); >gint gtk_text_view_get_pixels_inside_wrap (GtkTextView *text_view); >void gtk_text_view_set_justification (GtkTextView *text_view, > GtkJustification justification); >GtkJustification gtk_text_view_get_justification (GtkTextView *text_view); >void gtk_text_view_set_left_margin (GtkTextView *text_view, > gint left_margin); >gint gtk_text_view_get_left_margin (GtkTextView *text_view); >void gtk_text_view_set_right_margin (GtkTextView *text_view, > gint right_margin); >gint gtk_text_view_get_right_margin (GtkTextView *text_view); >void gtk_text_view_set_indent (GtkTextView *text_view, > gint indent); >gint gtk_text_view_get_indent (GtkTextView *text_view); >void gtk_text_view_set_tabs (GtkTextView *text_view, > PangoTabArray *tabs); >PangoTabArray* gtk_text_view_get_tabs (GtkTextView *text_view); > > >GtkTextAttributes* gtk_text_view_get_default_attributes (GtkTextView *text_view); > > >} ># 152 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktipsquery.h" 1 ># 40 "/usr/include/gtk-2.0/gtk/gtktipsquery.h" >extern "C" { ># 54 "/usr/include/gtk-2.0/gtk/gtktipsquery.h" >typedef struct _GtkTipsQuery GtkTipsQuery; >typedef struct _GtkTipsQueryClass GtkTipsQueryClass; > > > >struct _GtkTipsQuery >{ > GtkLabel label; > > guint emit_always : 1; > guint in_query : 1; > gchar *label_inactive; > gchar *label_no_tip; > > GtkWidget *caller; > GtkWidget *last_crossed; > > GdkCursor *query_cursor; >}; > >struct _GtkTipsQueryClass >{ > GtkLabelClass parent_class; > > void (*start_query) (GtkTipsQuery *tips_query); > void (*stop_query) (GtkTipsQuery *tips_query); > void (*widget_entered) (GtkTipsQuery *tips_query, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private); > gint (*widget_selected) (GtkTipsQuery *tips_query, > GtkWidget *widget, > const gchar *tip_text, > const gchar *tip_private, > GdkEventButton *event); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > > >GtkType gtk_tips_query_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_tips_query_new (void); >void gtk_tips_query_start_query (GtkTipsQuery *tips_query); >void gtk_tips_query_stop_query (GtkTipsQuery *tips_query); >void gtk_tips_query_set_caller (GtkTipsQuery *tips_query, > GtkWidget *caller); >void gtk_tips_query_set_labels (GtkTipsQuery *tips_query, > const gchar *label_inactive, > const gchar *label_no_tip); > > > > >} ># 153 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-2.0/gtk/gtktoolbar.h" 1 ># 45 "/usr/include/gtk-2.0/gtk/gtktoolbar.h" ># 1 "/usr/include/gtk-2.0/gtk/gtkpixmap.h" 1 ># 46 "/usr/include/gtk-2.0/gtk/gtktoolbar.h" 2 > > > > >extern "C" { ># 60 "/usr/include/gtk-2.0/gtk/gtktoolbar.h" >typedef enum >{ > GTK_TOOLBAR_CHILD_SPACE, > GTK_TOOLBAR_CHILD_BUTTON, > GTK_TOOLBAR_CHILD_TOGGLEBUTTON, > GTK_TOOLBAR_CHILD_RADIOBUTTON, > GTK_TOOLBAR_CHILD_WIDGET >} GtkToolbarChildType; > >typedef struct _GtkToolbarChild GtkToolbarChild; > >struct _GtkToolbarChild >{ > GtkToolbarChildType type; > GtkWidget *widget; > GtkWidget *icon; > GtkWidget *label; >}; > > > >typedef enum >{ > GTK_TOOLBAR_SPACE_EMPTY, > GTK_TOOLBAR_SPACE_LINE >} GtkToolbarSpaceStyle; > >typedef struct _GtkToolbar GtkToolbar; >typedef struct _GtkToolbarClass GtkToolbarClass; >typedef struct _GtkToolbarPrivate GtkToolbarPrivate; > >struct _GtkToolbar >{ > GtkContainer container; > > > gint num_children; > GList *children; > GtkOrientation orientation; > GtkToolbarStyle style; > GtkIconSize icon_size; > > GtkTooltips *tooltips; > > > gint button_maxw; > gint button_maxh; > > guint style_set_connection; > guint icon_size_connection; > > guint style_set : 1; > guint icon_size_set : 1; >}; > >struct _GtkToolbarClass >{ > GtkContainerClass parent_class; > > > void (* orientation_changed) (GtkToolbar *toolbar, > GtkOrientation orientation); > void (* style_changed) (GtkToolbar *toolbar, > GtkToolbarStyle style); > gboolean (* popup_context_menu) (GtkToolbar *toolbar, > gint x, > gint y, > gint button_number); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); >}; > >GType gtk_toolbar_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_toolbar_new (void); >void gtk_toolbar_insert (GtkToolbar *toolbar, > GtkToolItem *item, > gint pos); >gint gtk_toolbar_get_item_index (GtkToolbar *toolbar, > GtkToolItem *item); >gint gtk_toolbar_get_n_items (GtkToolbar *toolbar); >GtkToolItem * gtk_toolbar_get_nth_item (GtkToolbar *toolbar, > gint n); >gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); >void gtk_toolbar_set_show_arrow (GtkToolbar *toolbar, > gboolean show_arrow); >GtkOrientation gtk_toolbar_get_orientation (GtkToolbar *toolbar); >void gtk_toolbar_set_orientation (GtkToolbar *toolbar, > GtkOrientation orientation); >gboolean gtk_toolbar_get_tooltips (GtkToolbar *toolbar); >void gtk_toolbar_set_tooltips (GtkToolbar *toolbar, > gboolean enable); >GtkToolbarStyle gtk_toolbar_get_style (GtkToolbar *toolbar); >void gtk_toolbar_set_style (GtkToolbar *toolbar, > GtkToolbarStyle style); >void gtk_toolbar_unset_style (GtkToolbar *toolbar); >GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); >GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); >gint gtk_toolbar_get_drop_index (GtkToolbar *toolbar, > gint x, > gint y); >void gtk_toolbar_set_drop_highlight_item (GtkToolbar *toolbar, > GtkToolItem *tool_item, > gint index); > > >gchar * _gtk_toolbar_elide_underscores (const gchar *original); >void _gtk_toolbar_paint_space_line (GtkWidget *widget, > GtkToolbar *toolbar, > GdkRectangle *area, > GtkAllocation *allocation); >gint _gtk_toolbar_get_default_space_size (void); > > > > > >void gtk_toolbar_set_icon_size (GtkToolbar *toolbar, > GtkIconSize icon_size); >void gtk_toolbar_unset_icon_size (GtkToolbar *toolbar); > > >GtkWidget* gtk_toolbar_append_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); >GtkWidget* gtk_toolbar_prepend_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); >GtkWidget* gtk_toolbar_insert_item (GtkToolbar *toolbar, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data, > gint position); > > >GtkWidget* gtk_toolbar_insert_stock (GtkToolbar *toolbar, > const gchar *stock_id, > const char *tooltip_text, > const char *tooltip_private_text, > GtkSignalFunc callback, > gpointer user_data, > gint position); > > >void gtk_toolbar_append_space (GtkToolbar *toolbar); >void gtk_toolbar_prepend_space (GtkToolbar *toolbar); >void gtk_toolbar_insert_space (GtkToolbar *toolbar, > gint position); >void gtk_toolbar_remove_space (GtkToolbar *toolbar, > gint position); > >GtkWidget* gtk_toolbar_append_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); > >GtkWidget* gtk_toolbar_prepend_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data); > >GtkWidget* gtk_toolbar_insert_element (GtkToolbar *toolbar, > GtkToolbarChildType type, > GtkWidget *widget, > const char *text, > const char *tooltip_text, > const char *tooltip_private_text, > GtkWidget *icon, > GtkSignalFunc callback, > gpointer user_data, > gint position); > > >void gtk_toolbar_append_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text); >void gtk_toolbar_prepend_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text); >void gtk_toolbar_insert_widget (GtkToolbar *toolbar, > GtkWidget *widget, > const char *tooltip_text, > const char *tooltip_private_text, > gint position); > > > > >} ># 157 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > > ># 1 "/usr/include/gtk-2.0/gtk/gtktree.h" 1 ># 162 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreednd.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtktreednd.h" >extern "C" { > > > > > > > >typedef struct _GtkTreeDragSource GtkTreeDragSource; >typedef struct _GtkTreeDragSourceIface GtkTreeDragSourceIface; > >struct _GtkTreeDragSourceIface >{ > GTypeInterface g_iface; > > > > gboolean (* row_draggable) (GtkTreeDragSource *drag_source, > GtkTreePath *path); > > gboolean (* drag_data_get) (GtkTreeDragSource *drag_source, > GtkTreePath *path, > GtkSelectionData *selection_data); > > gboolean (* drag_data_delete) (GtkTreeDragSource *drag_source, > GtkTreePath *path); >}; > >GType gtk_tree_drag_source_get_type (void) __attribute__((__const__)); > > >gboolean gtk_tree_drag_source_row_draggable (GtkTreeDragSource *drag_source, > GtkTreePath *path); > > >gboolean gtk_tree_drag_source_drag_data_delete (GtkTreeDragSource *drag_source, > GtkTreePath *path); > > > > >gboolean gtk_tree_drag_source_drag_data_get (GtkTreeDragSource *drag_source, > GtkTreePath *path, > GtkSelectionData *selection_data); > > > > > > >typedef struct _GtkTreeDragDest GtkTreeDragDest; >typedef struct _GtkTreeDragDestIface GtkTreeDragDestIface; > >struct _GtkTreeDragDestIface >{ > GTypeInterface g_iface; > > > > gboolean (* drag_data_received) (GtkTreeDragDest *drag_dest, > GtkTreePath *dest, > GtkSelectionData *selection_data); > > gboolean (* row_drop_possible) (GtkTreeDragDest *drag_dest, > GtkTreePath *dest_path, > GtkSelectionData *selection_data); >}; > >GType gtk_tree_drag_dest_get_type (void) __attribute__((__const__)); > > > > >gboolean gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest, > GtkTreePath *dest, > GtkSelectionData *selection_data); > > > >gboolean gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest, > GtkTreePath *dest_path, > GtkSelectionData *selection_data); > > > > > >gboolean gtk_tree_set_row_drag_data (GtkSelectionData *selection_data, > GtkTreeModel *tree_model, > GtkTreePath *path); >gboolean gtk_tree_get_row_drag_data (GtkSelectionData *selection_data, > GtkTreeModel **tree_model, > GtkTreePath **path); > > > >} ># 163 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreeitem.h" 1 ># 164 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > ># 1 "/usr/include/gtk-2.0/gtk/gtktreemodelsort.h" 1 ># 26 "/usr/include/gtk-2.0/gtk/gtktreemodelsort.h" >extern "C" { ># 35 "/usr/include/gtk-2.0/gtk/gtktreemodelsort.h" >typedef struct _GtkTreeModelSort GtkTreeModelSort; >typedef struct _GtkTreeModelSortClass GtkTreeModelSortClass; > >struct _GtkTreeModelSort >{ > GObject parent; > > > gpointer root; > gint stamp; > guint child_flags; > GtkTreeModel *child_model; > gint zero_ref_count; > > > GList *sort_list; > gint sort_column_id; > GtkSortType order; > > > GtkTreeIterCompareFunc default_sort_func; > gpointer default_sort_data; > GtkDestroyNotify default_sort_destroy; > > > guint changed_id; > guint inserted_id; > guint has_child_toggled_id; > guint deleted_id; > guint reordered_id; >}; > >struct _GtkTreeModelSortClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_tree_model_sort_get_type (void) __attribute__((__const__)); >GtkTreeModel *gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model); > >GtkTreeModel *gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model); >GtkTreePath *gtk_tree_model_sort_convert_child_path_to_path (GtkTreeModelSort *tree_model_sort, > GtkTreePath *child_path); >void gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sort, > GtkTreeIter *sort_iter, > GtkTreeIter *child_iter); >GtkTreePath *gtk_tree_model_sort_convert_path_to_child_path (GtkTreeModelSort *tree_model_sort, > GtkTreePath *sorted_path); >void gtk_tree_model_sort_convert_iter_to_child_iter (GtkTreeModelSort *tree_model_sort, > GtkTreeIter *child_iter, > GtkTreeIter *sorted_iter); >void gtk_tree_model_sort_reset_default_sort_func (GtkTreeModelSort *tree_model_sort); >void gtk_tree_model_sort_clear_cache (GtkTreeModelSort *tree_model_sort); >gboolean gtk_tree_model_sort_iter_is_valid (GtkTreeModelSort *tree_model_sort, > GtkTreeIter *iter); > > >} ># 167 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreeselection.h" 1 ># 27 "/usr/include/gtk-2.0/gtk/gtktreeselection.h" >extern "C" { ># 37 "/usr/include/gtk-2.0/gtk/gtktreeselection.h" >typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection, > GtkTreeModel *model, > GtkTreePath *path, > gboolean path_currently_selected, > gpointer data); >typedef void (* GtkTreeSelectionForeachFunc) (GtkTreeModel *model, > GtkTreePath *path, > GtkTreeIter *iter, > gpointer data); > >struct _GtkTreeSelection >{ > GObject parent; > > > > GtkTreeView *tree_view; > GtkSelectionMode type; > GtkTreeSelectionFunc user_func; > gpointer user_data; > GtkDestroyNotify destroy; >}; > >struct _GtkTreeSelectionClass >{ > GObjectClass parent_class; > > void (* changed) (GtkTreeSelection *selection); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_tree_selection_get_type (void); > >void gtk_tree_selection_set_mode (GtkTreeSelection *selection, > GtkSelectionMode type); >GtkSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection); >void gtk_tree_selection_set_select_function (GtkTreeSelection *selection, > GtkTreeSelectionFunc func, > gpointer data, > GtkDestroyNotify destroy); >gpointer gtk_tree_selection_get_user_data (GtkTreeSelection *selection); >GtkTreeView* gtk_tree_selection_get_tree_view (GtkTreeSelection *selection); > > > >gboolean gtk_tree_selection_get_selected (GtkTreeSelection *selection, > GtkTreeModel **model, > GtkTreeIter *iter); >GList * gtk_tree_selection_get_selected_rows (GtkTreeSelection *selection, > GtkTreeModel **model); >gint gtk_tree_selection_count_selected_rows (GtkTreeSelection *selection); >void gtk_tree_selection_selected_foreach (GtkTreeSelection *selection, > GtkTreeSelectionForeachFunc func, > gpointer data); >void gtk_tree_selection_select_path (GtkTreeSelection *selection, > GtkTreePath *path); >void gtk_tree_selection_unselect_path (GtkTreeSelection *selection, > GtkTreePath *path); >void gtk_tree_selection_select_iter (GtkTreeSelection *selection, > GtkTreeIter *iter); >void gtk_tree_selection_unselect_iter (GtkTreeSelection *selection, > GtkTreeIter *iter); >gboolean gtk_tree_selection_path_is_selected (GtkTreeSelection *selection, > GtkTreePath *path); >gboolean gtk_tree_selection_iter_is_selected (GtkTreeSelection *selection, > GtkTreeIter *iter); >void gtk_tree_selection_select_all (GtkTreeSelection *selection); >void gtk_tree_selection_unselect_all (GtkTreeSelection *selection); >void gtk_tree_selection_select_range (GtkTreeSelection *selection, > GtkTreePath *start_path, > GtkTreePath *end_path); >void gtk_tree_selection_unselect_range (GtkTreeSelection *selection, > GtkTreePath *start_path, > GtkTreePath *end_path); > > > >} ># 168 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtktreestore.h" 1 ># 28 "/usr/include/gtk-2.0/gtk/gtktreestore.h" >extern "C" { ># 38 "/usr/include/gtk-2.0/gtk/gtktreestore.h" >typedef struct _GtkTreeStore GtkTreeStore; >typedef struct _GtkTreeStoreClass GtkTreeStoreClass; > >struct _GtkTreeStore >{ > GObject parent; > > gint stamp; > gpointer root; > gpointer last; > gint n_columns; > gint sort_column_id; > GList *sort_list; > GtkSortType order; > GType *column_headers; > GtkTreeIterCompareFunc default_sort_func; > gpointer default_sort_data; > GtkDestroyNotify default_sort_destroy; > guint columns_dirty : 1; >}; > >struct _GtkTreeStoreClass >{ > GObjectClass parent_class; > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > > >GType gtk_tree_store_get_type (void); >GtkTreeStore *gtk_tree_store_new (gint n_columns, > ...); >GtkTreeStore *gtk_tree_store_newv (gint n_columns, > GType *types); >void gtk_tree_store_set_column_types (GtkTreeStore *tree_store, > gint n_columns, > GType *types); > > > >void gtk_tree_store_set_value (GtkTreeStore *tree_store, > GtkTreeIter *iter, > gint column, > GValue *value); >void gtk_tree_store_set (GtkTreeStore *tree_store, > GtkTreeIter *iter, > ...); >void gtk_tree_store_set_valist (GtkTreeStore *tree_store, > GtkTreeIter *iter, > va_list var_args); >gboolean gtk_tree_store_remove (GtkTreeStore *tree_store, > GtkTreeIter *iter); >void gtk_tree_store_insert (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *parent, > gint position); >void gtk_tree_store_insert_before (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *parent, > GtkTreeIter *sibling); >void gtk_tree_store_insert_after (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *parent, > GtkTreeIter *sibling); >void gtk_tree_store_prepend (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *parent); >void gtk_tree_store_append (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *parent); >gboolean gtk_tree_store_is_ancestor (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *descendant); >gint gtk_tree_store_iter_depth (GtkTreeStore *tree_store, > GtkTreeIter *iter); >void gtk_tree_store_clear (GtkTreeStore *tree_store); >gboolean gtk_tree_store_iter_is_valid (GtkTreeStore *tree_store, > GtkTreeIter *iter); >void gtk_tree_store_reorder (GtkTreeStore *tree_store, > GtkTreeIter *parent, > gint *new_order); >void gtk_tree_store_swap (GtkTreeStore *tree_store, > GtkTreeIter *a, > GtkTreeIter *b); >void gtk_tree_store_move_before (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *position); >void gtk_tree_store_move_after (GtkTreeStore *tree_store, > GtkTreeIter *iter, > GtkTreeIter *position); > > > >} ># 169 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > > > ># 1 "/usr/include/gtk-2.0/gtk/gtkuimanager.h" 1 ># 41 "/usr/include/gtk-2.0/gtk/gtkuimanager.h" >extern "C" { ># 50 "/usr/include/gtk-2.0/gtk/gtkuimanager.h" >typedef struct _GtkUIManager GtkUIManager; >typedef struct _GtkUIManagerClass GtkUIManagerClass; >typedef struct _GtkUIManagerPrivate GtkUIManagerPrivate; > > >struct _GtkUIManager { > GObject parent; > > > > GtkUIManagerPrivate *private_data; >}; > >struct _GtkUIManagerClass { > GObjectClass parent_class; > > > void (* add_widget) (GtkUIManager *merge, > GtkWidget *widget); > void (* actions_changed) (GtkUIManager *merge); > void (* connect_proxy) (GtkUIManager *merge, > GtkAction *action, > GtkWidget *proxy); > void (* disconnect_proxy) (GtkUIManager *merge, > GtkAction *action, > GtkWidget *proxy); > void (* pre_activate) (GtkUIManager *merge, > GtkAction *action); > void (* post_activate) (GtkUIManager *merge, > GtkAction *action); > > > void (*_gtk_reserved1) (void); > void (*_gtk_reserved2) (void); > void (*_gtk_reserved3) (void); > void (*_gtk_reserved4) (void); >}; > >typedef enum { > GTK_UI_MANAGER_AUTO = 0, > GTK_UI_MANAGER_MENUBAR = 1 << 0, > GTK_UI_MANAGER_MENU = 1 << 1, > GTK_UI_MANAGER_TOOLBAR = 1 << 2, > GTK_UI_MANAGER_PLACEHOLDER = 1 << 3, > GTK_UI_MANAGER_POPUP = 1 << 4, > GTK_UI_MANAGER_MENUITEM = 1 << 5, > GTK_UI_MANAGER_TOOLITEM = 1 << 6, > GTK_UI_MANAGER_SEPARATOR = 1 << 7, > GTK_UI_MANAGER_ACCELERATOR = 1 << 8 >} GtkUIManagerItemType; > >GType gtk_ui_manager_get_type (void); >GtkUIManager *gtk_ui_manager_new (void); >void gtk_ui_manager_set_add_tearoffs (GtkUIManager *self, > gboolean add_tearoffs); >gboolean gtk_ui_manager_get_add_tearoffs (GtkUIManager *self); >void gtk_ui_manager_insert_action_group (GtkUIManager *self, > GtkActionGroup *action_group, > gint pos); >void gtk_ui_manager_remove_action_group (GtkUIManager *self, > GtkActionGroup *action_group); >GList *gtk_ui_manager_get_action_groups (GtkUIManager *self); >GtkAccelGroup *gtk_ui_manager_get_accel_group (GtkUIManager *self); >GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *self, > const gchar *path); >GSList *gtk_ui_manager_get_toplevels (GtkUIManager *self, > GtkUIManagerItemType types); >GtkAction *gtk_ui_manager_get_action (GtkUIManager *self, > const gchar *path); >guint gtk_ui_manager_add_ui_from_string (GtkUIManager *self, > const gchar *buffer, > gssize length, > GError **error); >guint gtk_ui_manager_add_ui_from_file (GtkUIManager *self, > const gchar *filename, > GError **error); >void gtk_ui_manager_add_ui (GtkUIManager *self, > guint merge_id, > const gchar *path, > const gchar *name, > const gchar *action, > GtkUIManagerItemType type, > gboolean top); >void gtk_ui_manager_remove_ui (GtkUIManager *self, > guint merge_id); >gchar *gtk_ui_manager_get_ui (GtkUIManager *self); >void gtk_ui_manager_ensure_update (GtkUIManager *self); >guint gtk_ui_manager_new_merge_id (GtkUIManager *self); > >} ># 173 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkvbbox.h" 1 ># 35 "/usr/include/gtk-2.0/gtk/gtkvbbox.h" >extern "C" { ># 47 "/usr/include/gtk-2.0/gtk/gtkvbbox.h" >typedef struct _GtkVButtonBox GtkVButtonBox; >typedef struct _GtkVButtonBoxClass GtkVButtonBoxClass; > >struct _GtkVButtonBox >{ > GtkButtonBox button_box; >}; > >struct _GtkVButtonBoxClass >{ > GtkButtonBoxClass parent_class; >}; > > >GType gtk_vbutton_box_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_vbutton_box_new (void); > > > > >gint gtk_vbutton_box_get_spacing_default (void); >void gtk_vbutton_box_set_spacing_default (gint spacing); > >GtkButtonBoxStyle gtk_vbutton_box_get_layout_default (void); >void gtk_vbutton_box_set_layout_default (GtkButtonBoxStyle layout); > > > > >} ># 174 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkversion.h" 1 ># 176 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkvpaned.h" 1 ># 33 "/usr/include/gtk-2.0/gtk/gtkvpaned.h" >extern "C" { ># 45 "/usr/include/gtk-2.0/gtk/gtkvpaned.h" >typedef struct _GtkVPaned GtkVPaned; >typedef struct _GtkVPanedClass GtkVPanedClass; > >struct _GtkVPaned >{ > GtkPaned paned; >}; > >struct _GtkVPanedClass >{ > GtkPanedClass parent_class; >}; > >GType gtk_vpaned_get_type (void) __attribute__((__const__)); >GtkWidget *gtk_vpaned_new (void); > > > >} ># 178 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkvruler.h" 1 ># 46 "/usr/include/gtk-2.0/gtk/gtkvruler.h" >extern "C" { ># 58 "/usr/include/gtk-2.0/gtk/gtkvruler.h" >typedef struct _GtkVRuler GtkVRuler; >typedef struct _GtkVRulerClass GtkVRulerClass; > >struct _GtkVRuler >{ > GtkRuler ruler; >}; > >struct _GtkVRulerClass >{ > GtkRulerClass parent_class; >}; > > >GType gtk_vruler_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_vruler_new (void); > > > >} ># 179 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 1 "/usr/include/gtk-2.0/gtk/gtkvscale.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkvscale.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkvscale.h" >typedef struct _GtkVScale GtkVScale; >typedef struct _GtkVScaleClass GtkVScaleClass; > >struct _GtkVScale >{ > GtkScale scale; >}; > >struct _GtkVScaleClass >{ > GtkScaleClass parent_class; >}; > > >GType gtk_vscale_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_vscale_new (GtkAdjustment *adjustment); >GtkWidget* gtk_vscale_new_with_range (gdouble min, > gdouble max, > gdouble step); > > > > >} ># 180 "/usr/include/gtk-2.0/gtk/gtk.h" 2 > ># 1 "/usr/include/gtk-2.0/gtk/gtkvseparator.h" 1 ># 36 "/usr/include/gtk-2.0/gtk/gtkvseparator.h" >extern "C" { ># 48 "/usr/include/gtk-2.0/gtk/gtkvseparator.h" >typedef struct _GtkVSeparator GtkVSeparator; >typedef struct _GtkVSeparatorClass GtkVSeparatorClass; > >struct _GtkVSeparator >{ > GtkSeparator separator; >}; > >struct _GtkVSeparatorClass >{ > GtkSeparatorClass parent_class; >}; > > >GType gtk_vseparator_get_type (void) __attribute__((__const__)); >GtkWidget* gtk_vseparator_new (void); > > > > >} ># 182 "/usr/include/gtk-2.0/gtk/gtk.h" 2 ># 49 "nsDrawingSurfaceGTK.h" 2 > > >typedef struct _XftDraw XftDraw; > > >class nsDrawingSurfaceGTK : public nsIDrawingSurface >{ >public: > nsDrawingSurfaceGTK(); > virtual ~nsDrawingSurfaceGTK(); ># 68 "nsDrawingSurfaceGTK.h" > nsresult Init(GdkDrawable *aDrawable, GdkGC *aGC); ># 84 "nsDrawingSurfaceGTK.h" > nsresult Init(GdkGC *aGC, PRUint32 aWidth, PRUint32 aHeight, > PRUint32 aFlags); > > public: virtual nsresult QueryInterface(const nsIID& aIID, void** aInstancePtr); virtual nsrefcnt AddRef(void); virtual nsrefcnt Release(void); protected: nsAutoRefCnt mRefCnt; public: > > > > virtual nsresult Lock(PRInt32 aX, PRInt32 aY, PRUint32 aWidth, PRUint32 aHeight, > void **aBits, PRInt32 *aStride, PRInt32 *aWidthBytes, > PRUint32 aFlags); > virtual nsresult Unlock(void); > virtual nsresult GetDimensions(PRUint32 *aWidth, PRUint32 *aHeight); > virtual nsresult IsOffscreen(PRBool *aOffScreen); > virtual nsresult IsPixelAddressable(PRBool *aAddressable); > virtual nsresult GetPixelFormat(nsPixelFormat *aFormat); > > > > > > > GdkDrawable *GetDrawable(void) { return mPixmap; } > > void GetSize(PRUint32 *aWidth, PRUint32 *aHeight) { *aWidth = mWidth; *aHeight = mHeight; } > > PRInt32 GetDepth() { return mDepth; } > > > XftDraw *GetXftDraw (void); > void GetLastXftClip (nsIRegion **aLastRegion); > void SetLastXftClip (nsIRegion *aLastRegion); > > >protected: > inline PRUint8 ConvertMaskToCount(unsigned long val); > >private: > > GdkPixmap *mPixmap; > GdkGC *mGC; > gint mDepth; > nsPixelFormat mPixFormat; > PRUint32 mWidth; > PRUint32 mHeight; > PRUint32 mFlags; > PRBool mIsOffscreen; > > > GdkImage *mImage; > PRInt32 mLockX; > PRInt32 mLockY; > PRUint32 mLockWidth; > PRUint32 mLockHeight; > PRUint32 mLockFlags; > PRBool mLocked; > > > XftDraw *mXftDraw; > nsCOMPtr<nsIRegion> mLastXftClip; > > > > >}; ># 55 "nsRenderingContextGTK.h" 2 ># 1 "nsRegionGTK.h" 1 ># 30 "nsRegionGTK.h" >class nsRegionGTK : public nsIRegion >{ >public: > nsRegionGTK(); > virtual ~nsRegionGTK(); > > public: virtual nsresult QueryInterface(const nsIID& aIID, void** aInstancePtr); virtual nsrefcnt AddRef(void); virtual nsrefcnt Release(void); protected: nsAutoRefCnt mRefCnt; public: > > virtual nsresult Init(); > > > > > virtual void SetTo(const nsIRegion &aRegion); > virtual void SetTo(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight); > virtual void Intersect(const nsIRegion &aRegion); > virtual void Intersect(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight); > virtual void Union(const nsIRegion &aRegion); > virtual void Union(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight); > virtual void Subtract(const nsIRegion &aRegion); > virtual void Subtract(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight); > virtual PRBool IsEmpty(void); > virtual PRBool IsEqual(const nsIRegion &aRegion); > virtual void GetBoundingBox(PRInt32 *aX, PRInt32 *aY, PRInt32 *aWidth, PRInt32 *aHeight); > virtual void Offset(PRInt32 aXOffset, PRInt32 aYOffset); > virtual PRBool ContainsRect(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight); > virtual nsresult GetRects(nsRegionRectSet **aRects); > virtual nsresult FreeRects(nsRegionRectSet *aRects); > virtual nsresult GetNativeRegion(void *&aRegion) const; > virtual nsresult GetRegionComplexity(nsRegionComplexity &aComplexity) const; > virtual nsresult GetNumRects(PRUint32 *aRects) const; > >protected: ># 74 "nsRegionGTK.h" >private: > > GdkRegion *mRegion; >}; ># 56 "nsRenderingContextGTK.h" 2 ># 1 "nsIFontMetricsGTK.h" 1 ># 42 "nsIFontMetricsGTK.h" ># 1 "../../../dist/include/gfx/nsIFontMetrics.h" 1 ># 45 "../../../dist/include/gfx/nsIFontMetrics.h" >struct nsFont; >class nsString; >class nsIDeviceContext; >class nsIAtom; ># 60 "../../../dist/include/gfx/nsIFontMetrics.h" >typedef void* nsFontHandle; ># 79 "../../../dist/include/gfx/nsIFontMetrics.h" >class nsIFontMetrics : public nsISupports >{ >public: > static const nsIID& GetIID() {static const nsIID iid = { 0xc74cb770, 0xa33e, 0x11d1, { 0xa8, 0x24, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }; return iid;} > > > > > > > > virtual nsresult Init(const nsFont& aFont, nsIAtom* aLangGroup, > nsIDeviceContext *aContext) = 0; > > > > > > virtual nsresult Destroy() = 0; > > > > > virtual nsresult GetXHeight(nscoord& aResult) = 0; > > > > > > > virtual nsresult GetSuperscriptOffset(nscoord& aResult) = 0; > > > > > > > virtual nsresult GetSubscriptOffset(nscoord& aResult) = 0; > > > > > > > virtual nsresult GetStrikeout(nscoord& aOffset, nscoord& aSize) = 0; > > > > > > > virtual nsresult GetUnderline(nscoord& aOffset, nscoord& aSize) = 0; ># 139 "../../../dist/include/gfx/nsIFontMetrics.h" > virtual nsresult GetHeight(nscoord &aHeight) = 0; ># 164 "../../../dist/include/gfx/nsIFontMetrics.h" > virtual nsresult GetLeading(nscoord &aLeading) = 0; > > > > > virtual nsresult GetNormalLineHeight(nscoord &aHeight) = 0; > > > > > > > virtual nsresult GetEmHeight(nscoord &aHeight) = 0; > > > > > virtual nsresult GetEmAscent(nscoord &aAscent) = 0; > > > > > virtual nsresult GetEmDescent(nscoord &aDescent) = 0; > > > > > > virtual nsresult GetMaxHeight(nscoord &aHeight) = 0; > > > > > > virtual nsresult GetMaxAscent(nscoord &aAscent) = 0; > > > > > > virtual nsresult GetMaxDescent(nscoord &aDescent) = 0; > > > > > virtual nsresult GetMaxAdvance(nscoord &aAdvance) = 0; > > > > > virtual nsresult GetFont(const nsFont *&aFont) = 0; > > > > > virtual nsresult GetLangGroup(nsIAtom** aLangGroup) = 0; > > > > > virtual nsresult GetFontHandle(nsFontHandle &aHandle) = 0; > > > > > virtual nsresult GetAveCharWidth(nscoord& aAveCharWidth) = 0; > > > > > virtual nsresult GetSpaceWidth(nscoord& aSpaceCharWidth) = 0; >}; ># 43 "nsIFontMetricsGTK.h" 2 > > > > >class nsRenderingContextGTK; > >class nsIFontMetricsGTK : public nsIFontMetrics { >public: > > > > virtual nsresult GetWidth(const char* aString, PRUint32 aLength, > nscoord& aWidth, > nsRenderingContextGTK *aContext) = 0; > > virtual nsresult GetWidth(const PRUnichar* aString, PRUint32 aLength, > nscoord& aWidth, PRInt32 *aFontID, > nsRenderingContextGTK *aContext) = 0; > > > virtual nsresult GetTextDimensions(const PRUnichar* aString, > PRUint32 aLength, > nsTextDimensions& aDimensions, > PRInt32* aFontID, > nsRenderingContextGTK *aContext) = 0; > virtual nsresult GetTextDimensions(const char* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID, > nsRenderingContextGTK *aContext)=0; > virtual nsresult GetTextDimensions(const PRUnichar* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID, > nsRenderingContextGTK *aContext)=0; > > > virtual nsresult DrawString(const char *aString, PRUint32 aLength, > nscoord aX, nscoord aY, > const nscoord* aSpacing, > nsRenderingContextGTK *aContext, > nsDrawingSurfaceGTK *aSurface) = 0; > > virtual nsresult DrawString(const PRUnichar* aString, PRUint32 aLength, > nscoord aX, nscoord aY, > PRInt32 aFontID, > const nscoord* aSpacing, > nsRenderingContextGTK *aContext, > nsDrawingSurfaceGTK *aSurface) = 0; > > > > > > > virtual nsresult GetBoundingMetrics(const char *aString, PRUint32 aLength, > nsBoundingMetrics &aBoundingMetrics, > nsRenderingContextGTK *aContext) = 0; > > virtual nsresult GetBoundingMetrics(const PRUnichar *aString, > PRUint32 aLength, > nsBoundingMetrics &aBoundingMetrics, > PRInt32 *aFontID, > nsRenderingContextGTK *aContext) = 0; > > > > > > virtual GdkFont* GetCurrentGDKFont(void) = 0; > >}; ># 57 "nsRenderingContextGTK.h" 2 > > > >class nsRenderingContextGTK : public nsRenderingContextImpl >{ >public: > nsRenderingContextGTK(); > virtual ~nsRenderingContextGTK(); > static nsresult Shutdown(); > > void* operator new(size_t sz) throw() { void* rv = ::operator new(sz); if (rv) { memset(rv, 0, sz); } return rv; } void operator delete(void* ptr) { ::operator delete(ptr); } > > public: virtual nsresult QueryInterface(const nsIID& aIID, void** aInstancePtr); virtual nsrefcnt AddRef(void); virtual nsrefcnt Release(void); protected: nsAutoRefCnt mRefCnt; public: > > virtual nsresult Init(nsIDeviceContext* aContext, nsIWidget *aWindow); > virtual nsresult Init(nsIDeviceContext* aContext, nsDrawingSurface aSurface); > > virtual nsresult Reset(void); > > virtual nsresult GetDeviceContext(nsIDeviceContext *&aContext); > > virtual nsresult LockDrawingSurface(PRInt32 aX, PRInt32 aY, PRUint32 aWidth, PRUint32 aHeight, > void **aBits, PRInt32 *aStride, PRInt32 *aWidthBytes, > PRUint32 aFlags); > virtual nsresult UnlockDrawingSurface(void); > > virtual nsresult SelectOffScreenDrawingSurface(nsDrawingSurface aSurface); > virtual nsresult GetDrawingSurface(nsDrawingSurface *aSurface); > virtual nsresult GetHints(PRUint32& aResult); > > > > > virtual nsresult PushState(void); > virtual nsresult PopState(PRBool &aClipEmpty); > > virtual nsresult IsVisibleRect(const nsRect& aRect, PRBool &aVisible); > > virtual nsresult SetClipRect(const nsRect& aRect, nsClipCombine aCombine, PRBool &aClipEmpty); > virtual nsresult GetClipRect(nsRect &aRect, PRBool &aClipValid); > virtual nsresult SetClipRegion(const nsIRegion& aRegion, nsClipCombine aCombine, PRBool &aClipEmpty); > virtual nsresult CopyClipRegion(nsIRegion &aRegion); > virtual nsresult GetClipRegion(nsIRegion **aRegion); > > virtual nsresult SetLineStyle(nsLineStyle aLineStyle); > virtual nsresult GetLineStyle(nsLineStyle &aLineStyle); > > virtual nsresult SetColor(nscolor aColor); > virtual nsresult GetColor(nscolor &aColor) const; > > virtual nsresult SetFont(const nsFont& aFont, nsIAtom* aLangGroup); > virtual nsresult SetFont(nsIFontMetrics *aFontMetrics); > > virtual nsresult GetFontMetrics(nsIFontMetrics *&aFontMetrics); > > virtual nsresult Translate(nscoord aX, nscoord aY); > virtual nsresult Scale(float aSx, float aSy); > virtual nsresult GetCurrentTransform(nsTransform2D *&aTransform); > > virtual nsresult CreateDrawingSurface(const nsRect& aBounds, PRUint32 aSurfFlags, nsDrawingSurface &aSurface); > virtual nsresult DestroyDrawingSurface(nsDrawingSurface aDS); > > virtual nsresult DrawLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1); > virtual nsresult DrawStdLine(nscoord aX0, nscoord aY0, nscoord aX1, nscoord aY1); > virtual nsresult DrawPolyline(const nsPoint aPoints[], PRInt32 aNumPoints); > > virtual nsresult DrawRect(const nsRect& aRect); > virtual nsresult DrawRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > > virtual nsresult FillRect(const nsRect& aRect); > virtual nsresult FillRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > > virtual nsresult InvertRect(const nsRect& aRect); > virtual nsresult InvertRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > > virtual nsresult DrawPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); > virtual nsresult FillPolygon(const nsPoint aPoints[], PRInt32 aNumPoints); > > virtual nsresult DrawEllipse(const nsRect& aRect); > virtual nsresult DrawEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > virtual nsresult FillEllipse(const nsRect& aRect); > virtual nsresult FillEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight); > > virtual nsresult DrawArc(const nsRect& aRect, > float aStartAngle, float aEndAngle); > virtual nsresult DrawArc(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, > float aStartAngle, float aEndAngle); > virtual nsresult FillArc(const nsRect& aRect, > float aStartAngle, float aEndAngle); > virtual nsresult FillArc(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight, > float aStartAngle, float aEndAngle); > > virtual nsresult GetWidth(char aC, nscoord &aWidth); > virtual nsresult GetWidth(PRUnichar aC, nscoord &aWidth, > PRInt32 *aFontID); > virtual nsresult GetWidth(const nsString& aString, nscoord &aWidth, > PRInt32 *aFontID); > virtual nsresult GetWidth(const char *aString, nscoord &aWidth); > virtual nsresult GetWidth(const char *aString, PRUint32 aLength, nscoord &aWidth); > virtual nsresult GetWidth(const PRUnichar *aString, PRUint32 aLength, nscoord &aWidth, > PRInt32 *aFontID); > > virtual nsresult DrawString(const char *aString, PRUint32 aLength, > nscoord aX, nscoord aY, > const nscoord* aSpacing); > virtual nsresult DrawString(const PRUnichar *aString, PRUint32 aLength, > nscoord aX, nscoord aY, > PRInt32 aFontID, > const nscoord* aSpacing); > virtual nsresult DrawString(const nsString& aString, nscoord aX, nscoord aY, > PRInt32 aFontID, > const nscoord* aSpacing); > > virtual nsresult GetTextDimensions(const char* aString, PRUint32 aLength, > nsTextDimensions& aDimensions); > virtual nsresult GetTextDimensions(const PRUnichar *aString, PRUint32 aLength, > nsTextDimensions& aDimensions,PRInt32 *aFontID); > virtual nsresult GetTextDimensions(const char* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID); > virtual nsresult GetTextDimensions(const PRUnichar* aString, > PRInt32 aLength, > PRInt32 aAvailWidth, > PRInt32* aBreaks, > PRInt32 aNumBreaks, > nsTextDimensions& aDimensions, > PRInt32& aNumCharsFit, > nsTextDimensions& aLastWordDimensions, > PRInt32* aFontID); > > virtual nsresult CopyOffScreenBits(nsDrawingSurface aSrcSurf, PRInt32 aSrcX, PRInt32 aSrcY, > const nsRect &aDestBounds, PRUint32 aCopyFlags); > virtual nsresult RetrieveCurrentNativeGraphicData(PRUint32 * ngd); > > virtual nsresult DrawImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsPoint * aDestPoint); > virtual nsresult DrawScaledImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsRect * aDestRect); > > virtual nsresult GetBackbuffer(const nsRect &aRequestedSize, const nsRect &aMaxSize, nsDrawingSurface &aBackbuffer); > virtual nsresult ReleaseBackbuffer(void); > > > > > > virtual nsresult GetBoundingMetrics(const char* aString, > PRUint32 aLength, > nsBoundingMetrics& aBoundingMetrics); > > > > > virtual nsresult GetBoundingMetrics(const PRUnichar* aString, > PRUint32 aLength, > nsBoundingMetrics& aBoundingMetrics, > PRInt32* aFontID = 0); > > > > > virtual nsresult CommonInit(); > > void CreateClipRegion() { > static const nsCID kRegionCID = { 0xe12752f0, 0xee9a, 0x11d1, { 0xa8, 0x2a, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }; > if (mClipRegion) > return; > > PRUint32 w, h; > mSurface->GetSize(&w, &h); > > mClipRegion = do_CreateInstance(kRegionCID); > if (mClipRegion) { > mClipRegion->Init(); > mClipRegion->SetTo(0,0,w,h); > } > } > > GdkGC *GetGC() { > if (!mGC) > UpdateGC(); > return gdk_gc_ref(mGC); > } > > void SetClipRectInPixels(const nsRect& aRect, nsClipCombine aCombine, PRBool &aClipEmpty); > > > void UpdateGC(); > > > nsTransform2D *GetTranMatrix() { > return mTranMatrix; > } > >private: > nsDrawingSurfaceGTK *mOffscreenSurface; > nsDrawingSurfaceGTK *mSurface; > nsIDeviceContext *mContext; > nsIFontMetricsGTK *mFontMetrics; > nsCOMPtr<nsIRegion> mClipRegion; > float mP2T; > GdkWChar* mDrawStringBuf; > PRUint32 mDrawStringSize; > > > nsAutoVoidArray mStateCache; > > GdkGC *mGC; > GdkFunction mFunction; > GdkLineStyle mLineStyle; > char mDashList[2]; > int mDashes; > nscolor mCurrentColor; > nsLineStyle mCurrentLineStyle; > > > > void ConditionRect(nscoord &x, nscoord &y, nscoord &w, nscoord &h) { > if ( y < -32766 ) { > y = -32766; > } > > if ( y + h > 32766 ) { > h = 32766 - y; > } > > if ( x < -32766 ) { > x = -32766; > } > > if ( x + w > 32766 ) { > w = 32766 - x; > } > } >}; ># 46 "nsXFontAAScaledBitmap.cpp" 2 ># 1 "../x11shared/nsX11AlphaBlend.h" 1 ># 46 "../x11shared/nsX11AlphaBlend.h" >class nsAntiAliasedGlyph; ># 64 "../x11shared/nsX11AlphaBlend.h" >void nsX11AlphaBlendFreeGlobals(void); >nsresult nsX11AlphaBlendInitGlobals(Display *dsp); > > >typedef void (*blendGlyph)(XImage *, nsAntiAliasedGlyph *, PRUint8*, > nscolor, int, int); >typedef void (*blendPixel)(XImage *, int, int, nscolor, int); >typedef nscolor (*pixelToNSColor)(unsigned long aPixel); > > > > > > >class nsX11AlphaBlend { >public: > inline static PRBool CanAntiAlias() { return sAvailable; }; > inline static blendPixel GetBlendPixel() { return sBlendPixel; }; > inline static blendGlyph GetBlendGlyph() { return sBlendMonoImage; }; > > static XImage* GetXImage(PRUint32 width, PRUint32 height); > static void FreeGlobals(); > static nsresult InitGlobals(Display *dsp); > static XImage* GetBackground(Display *, int, Drawable, > PRInt32, PRInt32, PRUint32, PRUint32); > static nscolor PixelToNSColor(unsigned long aPixel); > >protected: > static void ClearGlobals(); > static void ClearFunctions(); > static PRBool InitLibrary(Display *dsp); > > static PRBool sAvailable; > static PRUint16 sBitmapPad; > static PRUint16 sBitsPerPixel; > static blendGlyph sBlendMonoImage; > static blendPixel sBlendPixel; > static PRUint16 sBytesPerPixel; > static int sDepth; > static PRBool sInited; > static pixelToNSColor sPixelToNSColor; >}; ># 47 "nsXFontAAScaledBitmap.cpp" 2 > > > > ># 1 "../../../dist/include/xpcom/nsHashtable.h" 1 ># 40 "../../../dist/include/xpcom/nsHashtable.h" ># 1 "../../../dist/include/xpcom/pldhash.h" 1 ># 47 "../../../dist/include/xpcom/pldhash.h" >extern "C" { ># 72 "../../../dist/include/xpcom/pldhash.h" >typedef PRUint32 PLDHashNumber; >typedef struct PLDHashEntryHdr PLDHashEntryHdr; >typedef struct PLDHashEntryStub PLDHashEntryStub; >typedef struct PLDHashTable PLDHashTable; >typedef struct PLDHashTableOps PLDHashTableOps; ># 106 "../../../dist/include/xpcom/pldhash.h" >struct PLDHashEntryHdr { > PLDHashNumber keyHash; >}; ># 186 "../../../dist/include/xpcom/pldhash.h" >struct PLDHashTable { > const PLDHashTableOps *ops; > void *data; > PRInt16 hashShift; > uint8 maxAlphaFrac; > uint8 minAlphaFrac; > PRUint32 entrySize; > PRUint32 entryCount; > PRUint32 removedCount; > PRUint32 generation; > char *entryStore; ># 218 "../../../dist/include/xpcom/pldhash.h" >}; ># 232 "../../../dist/include/xpcom/pldhash.h" >typedef void * >(* PLDHashAllocTable)(PLDHashTable *table, PRUint32 nbytes); > >typedef void >(* PLDHashFreeTable) (PLDHashTable *table, void *ptr); > > > > > > > >typedef const void * >(* PLDHashGetKey) (PLDHashTable *table, > PLDHashEntryHdr *entry); > > > > > >typedef PLDHashNumber >(* PLDHashHashKey) (PLDHashTable *table, const void *key); > > > > > >typedef PRBool >(* PLDHashMatchEntry)(PLDHashTable *table, > const PLDHashEntryHdr *entry, > const void *key); > > > > > > > >typedef void >(* PLDHashMoveEntry)(PLDHashTable *table, > const PLDHashEntryHdr *from, > PLDHashEntryHdr *to); > > > > > > >typedef void >(* PLDHashClearEntry)(PLDHashTable *table, > PLDHashEntryHdr *entry); > > > > > > >typedef void >(* PLDHashFinalize) (PLDHashTable *table); ># 299 "../../../dist/include/xpcom/pldhash.h" >typedef PRBool >(* PLDHashInitEntry)(PLDHashTable *table, > PLDHashEntryHdr *entry, > const void *key); ># 331 "../../../dist/include/xpcom/pldhash.h" >struct PLDHashTableOps { > > PLDHashAllocTable allocTable; > PLDHashFreeTable freeTable; > PLDHashGetKey getKey; > PLDHashHashKey hashKey; > PLDHashMatchEntry matchEntry; > PLDHashMoveEntry moveEntry; > PLDHashClearEntry clearEntry; > PLDHashFinalize finalize; > > > PLDHashInitEntry initEntry; >}; > > > > >extern void * >PL_DHashAllocTable(PLDHashTable *table, PRUint32 nbytes); > >extern void >PL_DHashFreeTable(PLDHashTable *table, void *ptr); > >extern PLDHashNumber >PL_DHashStringKey(PLDHashTable *table, const void *key); > > >struct PLDHashEntryStub { > PLDHashEntryHdr hdr; > const void *key; >}; > >extern const void * >PL_DHashGetKeyStub(PLDHashTable *table, PLDHashEntryHdr *entry); > >extern PLDHashNumber >PL_DHashVoidPtrKeyStub(PLDHashTable *table, const void *key); > >extern PRBool >PL_DHashMatchEntryStub(PLDHashTable *table, > const PLDHashEntryHdr *entry, > const void *key); > >extern PRBool >PL_DHashMatchStringKey(PLDHashTable *table, > const PLDHashEntryHdr *entry, > const void *key); > >extern void >PL_DHashMoveEntryStub(PLDHashTable *table, > const PLDHashEntryHdr *from, > PLDHashEntryHdr *to); > >extern void >PL_DHashClearEntryStub(PLDHashTable *table, PLDHashEntryHdr *entry); > >extern void >PL_DHashFreeStringKey(PLDHashTable *table, PLDHashEntryHdr *entry); > >extern void >PL_DHashFinalizeStub(PLDHashTable *table); > > > > > > >extern const PLDHashTableOps * >PL_DHashGetStubOps(void); > > > > > > > >extern PLDHashTable * >PL_NewDHashTable(const PLDHashTableOps *ops, void *data, PRUint32 entrySize, > PRUint32 capacity); > > > > > >extern void >PL_DHashTableDestroy(PLDHashTable *table); > > > > > > > >extern PRBool >PL_DHashTableInit(PLDHashTable *table, const PLDHashTableOps *ops, void *data, > PRUint32 entrySize, PRUint32 capacity); ># 437 "../../../dist/include/xpcom/pldhash.h" >void >PL_DHashTableSetAlphaBounds(PLDHashTable *table, > float maxAlpha, > float minAlpha); ># 457 "../../../dist/include/xpcom/pldhash.h" >extern void >PL_DHashTableFinish(PLDHashTable *table); > > > > > > > >typedef enum PLDHashOperator { > PL_DHASH_LOOKUP = 0, > PL_DHASH_ADD = 1, > PL_DHASH_REMOVE = 2, > PL_DHASH_NEXT = 0, > PL_DHASH_STOP = 1 >} PLDHashOperator; ># 504 "../../../dist/include/xpcom/pldhash.h" >extern PLDHashEntryHdr * >PL_DHashTableOperate(PLDHashTable *table, const void *key, PLDHashOperator op); ># 516 "../../../dist/include/xpcom/pldhash.h" >extern void >PL_DHashTableRawRemove(PLDHashTable *table, PLDHashEntryHdr *entry); ># 558 "../../../dist/include/xpcom/pldhash.h" >typedef PLDHashOperator >(* PLDHashEnumerator)(PLDHashTable *table, PLDHashEntryHdr *hdr, > PRUint32 number, void *arg); > >extern PRUint32 >PL_DHashTableEnumerate(PLDHashTable *table, PLDHashEnumerator etor, void *arg); ># 572 "../../../dist/include/xpcom/pldhash.h" >} ># 41 "../../../dist/include/xpcom/nsHashtable.h" 2 > > > > >class nsIObjectInputStream; >class nsIObjectOutputStream; > >class nsHashtable; >class nsStringKey; > >class nsHashKey { > protected: > nsHashKey(void) { > > > > ; > } > > > public: > virtual ~nsHashKey(void); > virtual PRUint32 HashCode(void) const = 0; > virtual PRBool Equals(const nsHashKey *aKey) const = 0; > virtual nsHashKey *Clone() const = 0; > virtual nsresult Write(nsIObjectOutputStream* aStream) const; ># 84 "../../../dist/include/xpcom/nsHashtable.h" >}; > > > > >enum { > kHashEnumerateStop = 0, > kHashEnumerateNext = 1, > kHashEnumerateRemove = 2 >}; > >typedef PRIntn >(* nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* aClosure); > >typedef nsresult >(* nsHashtableReadEntryFunc)(nsIObjectInputStream *aStream, > nsHashKey **aKey, > void **aData); > > >typedef void >(* nsHashtableFreeEntryFunc)(nsIObjectInputStream *aStream, > nsHashKey *aKey, > void *aData); > >typedef nsresult >(* nsHashtableWriteDataFunc)(nsIObjectOutputStream *aStream, > void *aData); > >class nsHashtable { > protected: > > PRLock* mLock; > PLDHashTable mHashtable; > PRBool mEnumerating; > > public: > nsHashtable(PRUint32 aSize = 16, PRBool threadSafe = 0); > virtual ~nsHashtable(); > > PRInt32 Count(void) { return mHashtable.entryCount; } > PRBool Exists(nsHashKey *aKey); > void *Put(nsHashKey *aKey, void *aData); > void *Get(nsHashKey *aKey); > void *Remove(nsHashKey *aKey); > nsHashtable *Clone(); > void Enumerate(nsHashtableEnumFunc aEnumFunc, void* aClosure = __null); > void Reset(); > void Reset(nsHashtableEnumFunc destroyFunc, void* aClosure = __null); > > nsHashtable(nsIObjectInputStream* aStream, > nsHashtableReadEntryFunc aReadEntryFunc, > nsHashtableFreeEntryFunc aFreeEntryFunc, > nsresult *aRetVal); > nsresult Write(nsIObjectOutputStream* aStream, > nsHashtableWriteDataFunc aWriteDataFunc) const; >}; > > > > > >typedef void* (* nsHashtableCloneElementFunc)(nsHashKey *aKey, void *aData, void* aClosure); > >class nsObjectHashtable : public nsHashtable { > public: > nsObjectHashtable(nsHashtableCloneElementFunc cloneElementFun, > void* cloneElementClosure, > nsHashtableEnumFunc destroyElementFun, > void* destroyElementClosure, > PRUint32 aSize = 16, PRBool threadSafe = 0); > ~nsObjectHashtable(); > > nsHashtable *Clone(); > void Reset(); > PRBool RemoveAndDelete(nsHashKey *aKey); > > protected: > static PLDHashOperator CopyElement(PLDHashTable* table, > PLDHashEntryHdr* hdr, > PRUint32 i, void *arg); > > nsHashtableCloneElementFunc mCloneElementFun; > void* mCloneElementClosure; > nsHashtableEnumFunc mDestroyElementFun; > void* mDestroyElementClosure; >}; > > > > >class nsISupports; > >class nsSupportsHashtable > : private nsHashtable >{ > public: > typedef PRBool (* EnumFunc) (nsHashKey *aKey, void *aData, void* aClosure); > > nsSupportsHashtable(PRUint32 aSize = 16, PRBool threadSafe = 0) > : nsHashtable(aSize, threadSafe) {} > ~nsSupportsHashtable(); > > PRInt32 Count(void) { > return nsHashtable::Count(); > } > PRBool Exists(nsHashKey *aKey) { > return nsHashtable::Exists (aKey); > } > PRBool Put(nsHashKey *aKey, > nsISupports *aData, > nsISupports **value = 0); > nsISupports* Get(nsHashKey *aKey); > PRBool Remove(nsHashKey *aKey, nsISupports **value = 0); > nsHashtable *Clone(); > void Enumerate(EnumFunc aEnumFunc, void* aClosure = __null) { > nsHashtable::Enumerate(aEnumFunc, aClosure); > } > void Reset(); > > private: > static PRBool ReleaseElement(nsHashKey *, void *, void *); > static PLDHashOperator EnumerateCopy(PLDHashTable*, > PLDHashEntryHdr* hdr, > PRUint32 i, void *arg); >}; > > > > > > >class nsISupportsKey : public nsHashKey { > protected: > nsISupports* mKey; > > public: > nsISupportsKey(const nsISupportsKey& aKey) : mKey(aKey.mKey) { > > > > ns_if_addref(mKey); > } > > nsISupportsKey(nsISupports* key) { > > > > mKey = key; > ns_if_addref(mKey); > } > > ~nsISupportsKey(void) { > do { if (mKey) { (mKey)->Release(); (mKey) = 0; } } while (0); > } > > PRUint32 HashCode(void) const { > return ((char *)(mKey) - (char *)0); > } > > PRBool Equals(const nsHashKey *aKey) const { > ; > return (mKey == ((nsISupportsKey *) aKey)->mKey); > } > > nsHashKey *Clone() const { > return new nsISupportsKey(mKey); > } > > nsISupportsKey(nsIObjectInputStream* aStream, nsresult *aResult); > nsresult Write(nsIObjectOutputStream* aStream) const; >}; > > >class nsPRUint32Key : public nsHashKey { >protected: > PRUint32 mKey; >public: > nsPRUint32Key(PRUint32 key) { > > > > mKey = key; > } > > PRUint32 HashCode(void) const { > return mKey; > } > > PRBool Equals(const nsHashKey *aKey) const { > return mKey == ((const nsPRUint32Key *) aKey)->mKey; > } > nsHashKey *Clone() const { > return new nsPRUint32Key(mKey); > } > PRUint32 GetValue() { return mKey; } >}; > > > > >class nsVoidKey : public nsHashKey { > protected: > void* mKey; > > public: > nsVoidKey(const nsVoidKey& aKey) : mKey(aKey.mKey) { > > > > } > > nsVoidKey(void* key) { > > > > mKey = key; > } > > PRUint32 HashCode(void) const { > return ((char *)(mKey) - (char *)0); > } > > PRBool Equals(const nsHashKey *aKey) const { > ; > return (mKey == ((const nsVoidKey *) aKey)->mKey); > } > > nsHashKey *Clone() const { > return new nsVoidKey(mKey); > } > > void* GetValue() { return mKey; } >}; > > > > > > >class nsIDKey : public nsHashKey { > protected: > nsID mID; > > public: > nsIDKey(const nsIDKey& aKey) : mID(aKey.mID) { > > > > } > > nsIDKey(const nsID &aID) { > > > > mID = aID; > } > > PRUint32 HashCode(void) const { > return mID.m0; > } > > PRBool Equals(const nsHashKey *aKey) const { > ; > return (mID.Equals(((const nsIDKey *) aKey)->mID)); > } > > nsHashKey *Clone() const { > return new nsIDKey(mID); > } > > nsIDKey(nsIObjectInputStream* aStream, nsresult *aResult); > nsresult Write(nsIObjectOutputStream* aStream) const; >}; > > > > > > >class nsCStringKey : public nsHashKey { > public: > > > enum Ownership { > NEVER_OWN, > OWN_CLONE, > OWN > }; > > nsCStringKey(const nsCStringKey& aStrKey); > nsCStringKey(const char* str, PRInt32 strLen = -1, Ownership own = OWN_CLONE); > nsCStringKey(const nsAFlatCString& str); > nsCStringKey(const nsACString& str); > ~nsCStringKey(void); > > PRUint32 HashCode(void) const; > PRBool Equals(const nsHashKey* aKey) const; > nsHashKey* Clone() const; > nsCStringKey(nsIObjectInputStream* aStream, nsresult *aResult); > nsresult Write(nsIObjectOutputStream* aStream) const; > > > > const char* GetString() const { return mStr; } > PRUint32 GetStringLength() const { return mStrLen; } > > protected: > char* mStr; > PRUint32 mStrLen; > Ownership mOwnership; >}; > > >class nsStringKey : public nsHashKey { > public: > > > enum Ownership { > NEVER_OWN, > OWN_CLONE, > OWN > }; > > nsStringKey(const nsStringKey& aKey); > nsStringKey(const PRUnichar* str, PRInt32 strLen = -1, Ownership own = OWN_CLONE); > nsStringKey(const nsAFlatString& str); > nsStringKey(const nsAString& str); > ~nsStringKey(void); > > PRUint32 HashCode(void) const; > PRBool Equals(const nsHashKey* aKey) const; > nsHashKey* Clone() const; > nsStringKey(nsIObjectInputStream* aStream, nsresult *aResult); > nsresult Write(nsIObjectOutputStream* aStream) const; > > > > const PRUnichar* GetString() const { return mStr; } > PRUint32 GetStringLength() const { return mStrLen; } > > protected: > PRUnichar* mStr; > PRUint32 mStrLen; > Ownership mOwnership; >}; ># 52 "nsXFontAAScaledBitmap.cpp" 2 ># 73 "nsXFontAAScaledBitmap.cpp" >void dump_byte_table(PRUint8 *table, int width, int height); > >static void scale_image(nsAntiAliasedGlyph *, nsAntiAliasedGlyph *); >static void scale_imageAntiJag(nsAntiAliasedGlyph *, nsAntiAliasedGlyph *); >static void WeightTableInitLinearCorrection(PRUint8*, PRUint8, double); > >Display *nsXFontAAScaledBitmap::sDisplay = 0; >GC nsXFontAAScaledBitmap::sBackgroundGC = 0; >PRUint8 nsXFontAAScaledBitmap::sWeightedScaleDarkText[256]; >PRUint8 nsXFontAAScaledBitmap::sWeightedScaleLightText[256]; ># 117 "nsXFontAAScaledBitmap.cpp" >PRUint8 gAASBDarkTextMinValue = 64; >double gAASBDarkTextGain = 0.6; >PRUint8 gAASBLightTextMinValue = 64; >double gAASBLightTextGain = 1.3; > >PRBool >nsXFontAAScaledBitmap::DisplayIsLocal(Display *aDisplay) >{ > > if (gdk_get_use_xshm()) > return 1; > > return 0; > >} > >void >nsXFontAAScaledBitmap::DrawText8(GdkDrawable *aDrawable, GdkGC *aGC, > PRInt32 aX, PRInt32 aY, > const char *aString, PRUint32 aLength) >{ > DrawText8or16(aDrawable, aGC, aX, aY, (void*)aString, aLength); >} > >void >nsXFontAAScaledBitmap::DrawText16(GdkDrawable *aDrawable, GdkGC *aGC, > PRInt32 aX, PRInt32 aY, > const XChar2b *aString, PRUint32 aLength) >{ > DrawText8or16(aDrawable, aGC, aX, aY, (void*)aString, aLength); >} > > > > > > > >void >nsXFontAAScaledBitmap::DrawText8or16(GdkDrawable *aDrawable, GdkGC *aGC, > PRInt32 aX, PRInt32 aY, > void *a8or16String, PRUint32 aLength) >{ > > const char *string8 = (const char *)a8or16String; > const XChar2b *string16 = (const XChar2b *)a8or16String; > > > > > > > > if (aLength < 1) { > return; > } ># 183 "nsXFontAAScaledBitmap.cpp" > PRUint32 image_width = (mScaledMax.width * aLength) + mScaledMax.lbearing; > PRUint32 image_height = mScaledMax.ascent+mScaledMax.descent; > PRInt32 x_pos = mScaledMax.lbearing; > > Drawable win = (gdk_x11_drawable_get_xid (aDrawable)); > GC gc = (gdk_x11_gc_get_xgc (aGC)); > XGCValues values; > if (!XGetGCValues(mDisplay, gc, (1L<<2), &values)) { > ; > return; > } > nscolor color = nsX11AlphaBlend::PixelToNSColor(values.foreground); > > > PRUint32 color_val = ((PRUint8) ((color) & 0xff)) + ((PRUint8) (((color) >> 8) & 0xff)) + ((PRUint8) (((color) >> 16) & 0xff)); > PRUint8 *weight_table; > if ((((PRUint8) ((color) & 0xff))>200) || (((PRUint8) ((color) & 0xff))>200) || (((PRUint8) ((color) & 0xff))>200) > || (color_val>3*128)) > weight_table = sWeightedScaleLightText; > else > weight_table = sWeightedScaleDarkText; > > > > > XImage *sub_image = nsX11AlphaBlend::GetBackground(mDisplay, mScreen, win, > aX-mScaledMax.lbearing, aY-mScaledMax.ascent, > image_width, image_height); > if (sub_image==0) { ># 224 "nsXFontAAScaledBitmap.cpp" > return; > } ># 244 "nsXFontAAScaledBitmap.cpp" > blendGlyph blendGlyph = nsX11AlphaBlend::GetBlendGlyph(); > for (PRUint32 i=0; i<aLength; i++) { ># 257 "nsXFontAAScaledBitmap.cpp" > nsAntiAliasedGlyph *scaled_glyph; > PRBool got_image; > if (mIsSingleByte) > got_image = GetScaledGreyImage(&string8[i], &scaled_glyph); > else > got_image = GetScaledGreyImage((const char*)&string16[i], &scaled_glyph); > if (!got_image) { > PRUint32 char_width; > if (mIsSingleByte) > char_width = XTextWidth(mUnscaledFontInfo, &string8[i], 1); > else > char_width = XTextWidth16(mUnscaledFontInfo, &string16[i], 1); > x_pos += (PRInt32)(rint(((double)(char_width))*mRatio)); > continue; > } > ; > > ; > > > > > > (*blendGlyph)(sub_image, scaled_glyph, weight_table, color, > x_pos + scaled_glyph->GetLBearing(), 0); > > ; > x_pos += scaled_glyph->GetAdvance(); > } > ; > > > > > XPutImage(mDisplay, win, gc, sub_image, > 0, 0, aX-mScaledMax.lbearing, aY-mScaledMax.ascent, > image_width, image_height); > ((*((sub_image)->f.destroy_image))((sub_image))); >} > >void >nsXFontAAScaledBitmap::FreeGlobals() >{ > if (sBackgroundGC) { > XFreeGC(sDisplay, sBackgroundGC); > sBackgroundGC = 0; > } > sDisplay = 0; >} > >static PRBool >FreeGlyphHash(nsHashKey* aKey, void* aData, void* aClosure) >{ > delete (nsAntiAliasedGlyph *)aData; > > return 1; >} > >PRBool >nsXFontAAScaledBitmap::GetScaledGreyImage(const char *aChar, > nsAntiAliasedGlyph **aGreyImage) >{ > XChar2b *aChar2b = 0; > PRUint32 antiJagPadding; > XImage *ximage; > nsAntiAliasedGlyph *scaled_image; > PRUnichar charKey[2]; > > > if (mIsSingleByte) > charKey[0] = (PRUnichar)*aChar; > else { > aChar2b = (XChar2b *)aChar; > charKey[0] = aChar2b->byte1<<8 | aChar2b->byte2; > } > charKey[1] = 0; > nsStringKey key(charKey, 1); > > > scaled_image = (nsAntiAliasedGlyph*)mGlyphHash->Get(&key); > if (!scaled_image) { > > int direction, font_ascent, font_descent; > XCharStruct charMetrics; > if (mIsSingleByte) > XTextExtents(mUnscaledFontInfo, aChar, 1, &direction, > &font_ascent, &font_descent, &charMetrics); > else > XTextExtents16(mUnscaledFontInfo, aChar2b,1, &direction, > &font_ascent, &font_descent, &charMetrics); > > > PRInt32 left_edge = (((0) < ((&charMetrics)->lbearing)) ? (0) : ((&charMetrics)->lbearing)); > PRInt32 right_edge = ((((&charMetrics)->width) > ((&charMetrics)->rbearing)) ? ((&charMetrics)->width) : ((&charMetrics)->rbearing)); > PRUint32 unscaled_width = right_edge - left_edge; > ; > > > XFillRectangle(mDisplay, mUnscaledBitmap, sBackgroundGC, 0, 0, > unscaled_width, mUnscaledMax.height); > > if (mIsSingleByte) > XDrawString(mDisplay, mUnscaledBitmap, mForegroundGC, > -left_edge, mUnscaledMax.ascent, aChar, 1); > else > XDrawString16(mDisplay, mUnscaledBitmap, mForegroundGC, > -left_edge, mUnscaledMax.ascent, aChar2b, 1); > > ximage = XGetImage(mDisplay, mUnscaledBitmap, > 0, 0, unscaled_width, mUnscaledMax.height, > ((unsigned long)~0L), 2); > ; > if (!ximage) { > return 0; > } > ; > > > if (mRatio < 1.25) > antiJagPadding = 0; > else > antiJagPadding = 2; > > > nsAntiAliasedGlyph unscaled_image(unscaled_width, mUnscaledMax.height, > antiJagPadding); > PRUint8 buf[2048]; > if (!unscaled_image.Init(buf, 2048)) { > ; > ((*((ximage)->f.destroy_image))((ximage))); > return 0; > } > > > > > unscaled_image.SetImage(&charMetrics, ximage); > ; > > > ((*((ximage)->f.destroy_image))((ximage))); > > > > > GlyphMetrics glyphMetrics; > glyphMetrics.width = (PRInt32)(rint(((double)(unscaled_width))*mRatio)); > glyphMetrics.height = (PRInt32)(rint(((double)(mUnscaledMax.height))*mRatio)); > glyphMetrics.lbearing = (PRInt32)(rint(((double)(left_edge))*mRatio)); > glyphMetrics.rbearing = (PRInt32)(rint(((double)(right_edge))*mRatio)); > glyphMetrics.advance = (PRInt32)(rint(((double)(charMetrics.width))*mRatio)); > glyphMetrics.ascent = (PRInt32)(rint(((double)(charMetrics.ascent))*mRatio)); > glyphMetrics.descent = (PRInt32)(rint(((double)(charMetrics.descent))*mRatio)); > > scaled_image = new nsAntiAliasedGlyph((PRInt32)(rint(((double)(unscaled_width))*mRatio)), > (PRInt32)(rint(((double)(mUnscaledMax.height))*mRatio)), 0); > ; > if (!scaled_image) { > return 0; > } > if (!scaled_image->Init()) { > ; > return 0; > } > scaled_image->SetSize(&glyphMetrics); > > > > > if (antiJagPadding==0) > scale_image(&unscaled_image, scaled_image); > else > scale_imageAntiJag(&unscaled_image, scaled_image); > > ; > > > > > mGlyphHash->Put(&key, scaled_image); > } > *aGreyImage = scaled_image; > return 1; >} > >PRBool >nsXFontAAScaledBitmap::GetXFontProperty(Atom aAtom, unsigned long *aValue) >{ > unsigned long val; > PRBool rslt = ::XGetFontProperty(mUnscaledFontInfo, aAtom, &val); > if (!rslt) > return 0; > > switch (aAtom) { > case ((Atom) 56): > if (val >= 0x00ffffff) { > return 0; > } > case ((Atom) 50): > case ((Atom) 48): > case ((Atom) 51): > case ((Atom) 52): > *aValue = (unsigned long)(PRInt32)(rint(((double)(val))*mRatio)); > break; > default: > *aValue = val; > } > return rslt; >} > >XFontStruct * >nsXFontAAScaledBitmap::GetXFontStruct() >{ > ; > if (mGdkFont==0) > return 0; > > return &mScaledFontInfo; >} > >PRBool >nsXFontAAScaledBitmap::InitGlobals(Display *aDisplay, int aScreen) >{ > Window root_win; > > sDisplay = aDisplay; > > > if (!DisplayIsLocal(aDisplay)) { > goto cleanup_and_return; > } > > root_win = ((&((_XPrivDisplay)sDisplay)->screens[aScreen])->root); > sBackgroundGC = XCreateGC(sDisplay, root_win, 0, __null); > ; > if (!sBackgroundGC) { > goto cleanup_and_return; > } > XSetForeground(sDisplay, sBackgroundGC, 0); > > WeightTableInitLinearCorrection(sWeightedScaleDarkText, > gAASBDarkTextMinValue, gAASBDarkTextGain); > WeightTableInitLinearCorrection(sWeightedScaleLightText, > gAASBLightTextMinValue, gAASBLightTextGain); > return 1; > >cleanup_and_return: > if (sBackgroundGC) { > XFreeGC(sDisplay, sBackgroundGC); > sBackgroundGC = 0; > } > > return 0; >} > >PRBool >nsXFontAAScaledBitmap::LoadFont() >{ > ; > mAlreadyLoaded = 1; > > if (!mGdkFont) > return 0; > mUnscaledFontInfo = (XFontStruct *)(gdk_x11_font_get_xfont (mGdkFont)); > > XFontStruct *usfi = mUnscaledFontInfo; > XFontStruct *sfi = &mScaledFontInfo; > > mIsSingleByte = (usfi->min_byte1 == 0) && (usfi->max_byte1 == 0); > > mUnscaledMax.width = (((usfi->max_bounds.rbearing) > (usfi->max_bounds.width)) ? (usfi->max_bounds.rbearing) : (usfi->max_bounds.width)); > mUnscaledMax.width -= (((usfi->min_bounds.lbearing) < (0)) ? (usfi->min_bounds.lbearing) : (0)); > mUnscaledMax.height = usfi->max_bounds.ascent + usfi->max_bounds.descent; > mUnscaledMax.lbearing = usfi->max_bounds.lbearing; > mUnscaledMax.rbearing = usfi->max_bounds.rbearing; > mUnscaledMax.advance = usfi->max_bounds.width; > mUnscaledMax.ascent = usfi->max_bounds.ascent; > mUnscaledMax.descent = usfi->max_bounds.descent; > > mScaledMax.width = (PRInt32)(rint(((double)(mUnscaledMax.width))*mRatio)); > mScaledMax.lbearing = (PRInt32)(rint(((double)(mUnscaledMax.lbearing))*mRatio)); > mScaledMax.rbearing = (PRInt32)(rint(((double)(mUnscaledMax.rbearing))*mRatio)); > mScaledMax.advance = (PRInt32)(rint(((double)(mUnscaledMax.width))*mRatio)); > mScaledMax.ascent = (PRInt32)(rint(((double)(mUnscaledMax.ascent))*mRatio)); > mScaledMax.descent = (PRInt32)(rint(((double)(mUnscaledMax.ascent + mUnscaledMax.descent))*mRatio)) > - (PRInt32)(rint(((double)(mUnscaledMax.ascent))*mRatio)); > mScaledMax.height = mScaledMax.ascent + mScaledMax.descent; > > > > > sfi->fid = 0; > sfi->direction = usfi->direction; > sfi->min_char_or_byte2 = usfi->min_char_or_byte2; > sfi->max_char_or_byte2 = usfi->max_char_or_byte2; > sfi->min_byte1 = usfi->min_byte1; > sfi->max_byte1 = usfi->max_byte1; > sfi->all_chars_exist = usfi->all_chars_exist; > sfi->default_char = usfi->default_char; > sfi->n_properties = 0; > sfi->properties = 0; > sfi->ext_data = 0; > > sfi->min_bounds.lbearing = (PRInt32)(rint(((double)(usfi->min_bounds.lbearing))*mRatio)); > sfi->min_bounds.rbearing = (PRInt32)(rint(((double)(usfi->min_bounds.rbearing))*mRatio)); > sfi->min_bounds.width = (PRInt32)(rint(((double)(usfi->min_bounds.width))*mRatio)); > sfi->min_bounds.ascent = (PRInt32)(rint(((double)(usfi->min_bounds.ascent))*mRatio)); > sfi->min_bounds.descent = > (PRInt32)(rint(((double)(usfi->min_bounds.ascent + usfi->min_bounds.descent))*mRatio)) > - (PRInt32)(rint(((double)(usfi->min_bounds.ascent))*mRatio)); > sfi->min_bounds.attributes = usfi->min_bounds.attributes; > > sfi->max_bounds.lbearing = (PRInt32)(rint(((double)(usfi->max_bounds.lbearing))*mRatio)); > sfi->max_bounds.rbearing = (PRInt32)(rint(((double)(usfi->max_bounds.rbearing))*mRatio)); > sfi->max_bounds.width = (PRInt32)(rint(((double)(usfi->max_bounds.width))*mRatio)); > sfi->max_bounds.ascent = (PRInt32)(rint(((double)(usfi->max_bounds.ascent))*mRatio)); > sfi->max_bounds.descent = > (PRInt32)(rint(((double)(usfi->max_bounds.ascent + usfi->max_bounds.descent))*mRatio)) > - (PRInt32)(rint(((double)(usfi->max_bounds.ascent))*mRatio)); > sfi->max_bounds.attributes = usfi->max_bounds.attributes; > > sfi->per_char = 0; > sfi->ascent = (PRInt32)(rint(((double)(usfi->ascent))*mRatio)); > sfi->descent = (PRInt32)(rint(((double)(usfi->descent))*mRatio)); > > > > > > mForegroundGC = XCreateGC(mDisplay, ((&((_XPrivDisplay)mDisplay)->screens[mScreen])->root), 0, __null); > ; > if (!mForegroundGC) { > goto cleanup_and_return; > } > > XSetFont(mDisplay, mForegroundGC, usfi->fid); > XSetForeground(mDisplay, mForegroundGC, 0xFFFFFF); > > mUnscaledBitmap = XCreatePixmap(mDisplay, > ((&((_XPrivDisplay)mDisplay)->screens[(((_XPrivDisplay)mDisplay)->default_screen)])->root), > mUnscaledMax.width, mUnscaledMax.height, > ((&((_XPrivDisplay)mDisplay)->screens[mScreen])->root_depth)); > if (!mUnscaledBitmap) > goto cleanup_and_return; > > mGlyphHash = new nsHashtable(); > if (!mGlyphHash) > goto cleanup_and_return; > > if (mGdkFont) { > > > > > > return 1; > } > else > return 0; > >cleanup_and_return: > if (mUnscaledFontInfo) { > mUnscaledFontInfo = 0; > } > if (mForegroundGC) { > XFreeGC(mDisplay, mForegroundGC); > mForegroundGC = 0; > } > if (mUnscaledBitmap) { > XFreePixmap(mDisplay, mUnscaledBitmap); > mUnscaledBitmap = 0; > } > if (mGlyphHash) { > delete mGlyphHash; > mGlyphHash = 0; > } > memset(&mScaledFontInfo, 0, sizeof(mScaledFontInfo)); > memset(&mUnscaledMax, 0, sizeof(mUnscaledMax)); > memset(&mScaledMax, 0, sizeof(mScaledMax)); > return 0; >} > >nsXFontAAScaledBitmap::nsXFontAAScaledBitmap(Display *aDisplay, > int aScreen, > GdkFont *aGdkFont, > PRUint16 aSize, > PRUint16 aUnscaledSize) >{ > mAlreadyLoaded = 0; > mDisplay = aDisplay; > mScreen = aScreen; > mGdkFont = ::gdk_font_ref(aGdkFont); > mUnscaledSize = aUnscaledSize; > mRatio = ((double)aSize)/((double)aUnscaledSize); > mIsSingleByte = 0; > mForegroundGC = 0; > mGlyphHash = 0; > mUnscaledBitmap = 0; > memset(&mScaledFontInfo, 0, sizeof(mScaledFontInfo)); > memset(&mUnscaledMax, 0, sizeof(mUnscaledMax)); > memset(&mScaledMax, 0, sizeof(mScaledMax)); >} > >void >nsXFontAAScaledBitmap::TextExtents8(const char *aString, PRUint32 aLength, > PRInt32* aLBearing, PRInt32* aRBearing, > PRInt32* aWidth, PRInt32* aAscent, > PRInt32* aDescent) >{ > TextExtents8or16((void *)aString, aLength, aLBearing, aRBearing, aWidth, > aAscent, aDescent); >} > >void >nsXFontAAScaledBitmap::TextExtents16(const XChar2b *aString, PRUint32 aLength, > PRInt32* aLBearing, PRInt32* aRBearing, > PRInt32* aWidth, PRInt32* aAscent, > PRInt32* aDescent) >{ > TextExtents8or16((void *)aString, aLength, aLBearing, aRBearing, aWidth, > aAscent, aDescent); >} > > > > > > > >void >nsXFontAAScaledBitmap::TextExtents8or16(void *a8or16String, PRUint32 aLength, > PRInt32* aLBearing, PRInt32* aRBearing, > PRInt32* aWidth, PRInt32* aAscent, > PRInt32* aDescent) >{ > > const char *string8 = (const char *)a8or16String; > const XChar2b *string16 = (const XChar2b *)a8or16String; > > int dir, unscaled_ascent, unscaled_descent; > XCharStruct char_metrics; > int leftBearing = 0; > int rightBearing = 0; > int width = 0; > int ascent = 0; > int descent = 0; > > > if (aLength >= 1) { > if (mIsSingleByte) > XTextExtents(mUnscaledFontInfo, string8++, 1, > &dir, &unscaled_ascent, &unscaled_descent, &char_metrics); > else > XTextExtents16(mUnscaledFontInfo, string16++, 1, > &dir, &unscaled_ascent, &unscaled_descent, &char_metrics); > leftBearing = (PRInt32)(rint(((double)(char_metrics.lbearing))*mRatio)); > rightBearing = (PRInt32)(rint(((double)(char_metrics.rbearing))*mRatio)); > ascent = (PRInt32)(rint(((double)(char_metrics.ascent))*mRatio)); > descent = (PRInt32)(rint(((double)(mUnscaledMax.ascent+char_metrics.descent))*mRatio)) > - (PRInt32)(rint(((double)(mUnscaledMax.ascent))*mRatio)); > width = (PRInt32)(rint(((double)(char_metrics.width))*mRatio)); > } > > > > > > > > for (PRUint32 i=1; i<aLength; i++) { > if (mIsSingleByte) > XTextExtents(mUnscaledFontInfo, string8++, 1, > &dir, &unscaled_ascent, &unscaled_descent, &char_metrics); > else > XTextExtents16(mUnscaledFontInfo, string16++, 1, > &dir, &unscaled_ascent, &unscaled_descent, &char_metrics); > > > > > > leftBearing = (((leftBearing) < (width+(PRInt32)(rint(((double)(char_metrics.lbearing))*mRatio)))) ? (leftBearing) : (width+(PRInt32)(rint(((double)(char_metrics.lbearing))*mRatio)))); > rightBearing = (((rightBearing) > (width+(PRInt32)(rint(((double)(char_metrics.rbearing))*mRatio)))) ? (rightBearing) : (width+(PRInt32)(rint(((double)(char_metrics.rbearing))*mRatio)))); > ascent = (((ascent) > ((PRInt32)(rint(((double)(char_metrics.ascent))*mRatio)))) ? (ascent) : ((PRInt32)(rint(((double)(char_metrics.ascent))*mRatio)))); > descent = (((descent) > ((PRInt32)(rint(((double)(mUnscaledMax.ascent+char_metrics.descent))*mRatio)) - (PRInt32)(rint(((double)(mUnscaledMax.ascent))*mRatio)))) ? (descent) : ((PRInt32)(rint(((double)(mUnscaledMax.ascent+char_metrics.descent))*mRatio)) - (PRInt32)(rint(((double)(mUnscaledMax.ascent))*mRatio)))); > > > width += (PRInt32)(rint(((double)(char_metrics.width))*mRatio)); > } > *aLBearing = leftBearing; > *aRBearing = rightBearing; > *aWidth = width; > *aAscent = ascent; > *aDescent = descent; >} > >PRInt32 >nsXFontAAScaledBitmap::TextWidth8(const char *aString, PRUint32 aLength) >{ > int width = 0; > > for (PRUint32 i=0; i<aLength; i++) { > int unscaled_width = XTextWidth(mUnscaledFontInfo, aString+i, 1); > width += (PRInt32)(rint(((double)(unscaled_width))*mRatio)); > } > > return width; >} > >PRInt32 >nsXFontAAScaledBitmap::TextWidth16(const XChar2b *aString, PRUint32 aLength) >{ > int width = 0; > > for (PRUint32 i=0; i<aLength; i++) { > int unscaled_width = XTextWidth16(mUnscaledFontInfo, aString+i, 1); > width += (PRInt32)(rint(((double)(unscaled_width))*mRatio)); > } > return width; >} > >void >nsXFontAAScaledBitmap::UnloadFont() >{ > ; > delete this; >} > >nsXFontAAScaledBitmap::~nsXFontAAScaledBitmap() >{ > if (mGlyphHash) { > mGlyphHash->Reset(FreeGlyphHash, 0); > delete mGlyphHash; > } > if (mForegroundGC) { > XFreeGC(mDisplay, mForegroundGC); > } > if (mGdkFont) { > ::gdk_font_unref(mGdkFont); > } > if (mUnscaledBitmap) { > XFreePixmap(mDisplay, mUnscaledBitmap); > } >} ># 833 "nsXFontAAScaledBitmap.cpp" >static void >scale_image(nsAntiAliasedGlyph *aSrc, nsAntiAliasedGlyph *aDst) >{ > PRUint32 x, y, col; > PRUint8 buffer[65536]; > PRUint8 *horizontally_scaled_data = buffer; > PRUint8 *pHsd, *pDst; > PRUint32 dst_width = aDst->GetWidth(); > PRUint32 dst_buffer_width = aDst->GetBufferWidth(); > PRUint32 dst_height = aDst->GetHeight(); > PRUint8 *dst = aDst->GetBuffer(); > > if (aDst->GetBorder() != 0) { > ; > return; > } > > PRUint32 ratio; > > PRUint8 *src = aSrc->GetBuffer(); > PRUint32 src_width = aSrc->GetWidth(); > ; > if (src_width==0) > return; > > PRUint32 src_height = aSrc->GetHeight(); > ; > if (src_height==0) > return; ># 870 "nsXFontAAScaledBitmap.cpp" > ratio = (dst_width<<8)/src_width; > > PRUint32 hsd_len = dst_buffer_width * src_height; > > if (hsd_len > sizeof(buffer)) { > horizontally_scaled_data = (PRUint8*)nsMemory::Alloc(hsd_len); > memset(horizontally_scaled_data, 0, hsd_len); > } > for (y=0; y<(dst_buffer_width*src_height); y++) > horizontally_scaled_data[y] = 0; > > pHsd = horizontally_scaled_data; > for (y=0; y<src_height; y++,pHsd+=dst_buffer_width) { > for (x=0; x<src_width; x++) { > > PRUint8 src_val = src[x + (y*src_width)]; > if (!src_val) > continue; > > > PRUint32 area_begin = x * ratio; > PRUint32 area_end = (x+1) * ratio; > PRUint32 end_pixel = (area_end+255)&0xffffff00; > > > for (col=(area_begin&0xffffff00); col<end_pixel; col+=256) { > > > PRUint32 this_begin = (((col) > (area_begin)) ? (col) : (area_begin)); > PRUint32 this_end = ((((col+256)) < (area_end)) ? ((col+256)) : (area_end)); > > pHsd[col>>8] += (PRUint8)(((this_end-this_begin)*src_val)>>8); > } > ; > > } > } ># 915 "nsXFontAAScaledBitmap.cpp" > ratio = (dst_height<<8)/src_height; > > for (x=0; x<dst_width; x++) { > pHsd = horizontally_scaled_data + x; > pDst = dst + x; > for (y=0; y<src_height; y++,pHsd+=dst_buffer_width) { > > PRUint8 src_val = *pHsd; > if (src_val == 0) > continue; > > > PRUint32 area_begin = y * ratio; > PRUint32 area_end = area_begin + ratio; > PRUint32 end_pixel = (area_end+255)&0xffffff00; > PRUint32 c; > PRUint32 col; > > > for (c=(area_begin>>8)*dst_buffer_width,col=(area_begin&0xffffff00); > col<end_pixel; c+=dst_buffer_width,col+=256) { > > > PRUint32 this_begin = (((col) > (area_begin)) ? (col) : (area_begin)); > PRUint32 this_end = ((((col+256)) < (area_end)) ? ((col+256)) : (area_end)); > > pDst[c] += (((this_end-this_begin)*src_val)>>8); > } > ; > } > } > if (horizontally_scaled_data != buffer) > free(horizontally_scaled_data); >} ># 990 "nsXFontAAScaledBitmap.cpp" >static void >scale_imageAntiJag(nsAntiAliasedGlyph *aSrc, nsAntiAliasedGlyph *aDst) >{ > PRUint32 x, y, col; > PRUint8 buffer[65536]; > PRUint8 *padded_src = aSrc->GetBuffer(); > PRUint8 exp_buffer[65536]; > PRUint8 *horizontally_scaled_data = buffer; > PRUint8 *pHsd, *pDst; > PRUint32 dst_width = aDst->GetWidth(); > PRUint32 dst_buffer_width = aDst->GetBufferWidth(); > PRUint32 dst_height = aDst->GetHeight(); > PRUint8 *dst = aDst->GetBuffer(); > > if (aDst->GetBorder() != 0) { > ; > return; > } > PRUint32 expand = (((dst_width<<8)/aSrc->GetWidth())+255)>>8; > > PRUint32 src_width = aSrc->GetWidth(); > PRUint32 src_height = aSrc->GetHeight(); > PRUint32 border_width = aSrc->GetBorder(); > PRUint32 padded_width = aSrc->GetWidth() + (2*border_width); > PRUint32 padded_height = aSrc->GetHeight() + (2*border_width); > > > > > PRUint32 expanded_width = padded_width * expand; > PRUint32 expanded_height = padded_height * expand; > > PRUint32 start_x = border_width * expand; > PRUint32 start_y = border_width * expand; > > PRUint8 *expanded_data = exp_buffer; > PRUint32 exp_len = expanded_width*expanded_height; > if (exp_len > sizeof(exp_buffer)) > expanded_data = (PRUint8*)malloc(expanded_width*expanded_height); > for (y=0; y<padded_height; y++) { > for (int i=0; i<expand; i++) { > for (x=0; x<padded_width; x++) { > PRUint32 padded_index = x+(y*padded_width); > PRUint32 exp_index = (x*expand) + ((i+(y*expand))*expanded_width); > for (int j=0; j<expand; j++) { > expanded_data[exp_index+j] = padded_src[padded_index]; > } > } > } > } > ; ># 1113 "nsXFontAAScaledBitmap.cpp" > ; > PRUint8 *ps, *es; > PRUint32 jag_len = (expand)/2; > PRUint32 i, j; > for (y=0; y<src_height; y++) { > ps = padded_src + (border_width + (border_width+y)*padded_width); > es = expanded_data > + (border_width+((border_width+y)*expanded_width))*expand; > for (x=0; x<src_width; x++,ps++,es+=expand) { > > > > if (*(ps)==0) { > jag_len = ((expand+1)/2); > if ((*(ps+1)==255) && (*(ps+padded_width)==255)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[expand-1-j+((expand-1-i)*expanded_width)] = > 255-(((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps+padded_width)==255) && (*(ps-1)==255)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[j+((expand-1-i)*expanded_width)] = > 255-(((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps-1)==255) && (*(ps-padded_width)==255)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[j+(i*expanded_width)] = > 255-(((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps-padded_width)==255) && (*(ps+1)==255)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[expand-1-j+(i*expanded_width)] = > 255-(((((i+j)<<8)/jag_len)*255)>>8); > } > } > > > else { > jag_len = ((expand+1)/2); > if ((*(ps-padded_width-1)==0) && (*(ps-padded_width)==0) && (*(ps-1)==0)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[j+(i*expanded_width)] = > (((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps-padded_width)==0) && (*(ps-padded_width+1)==0) && (*(ps+1)==0)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[expand-1-j+(i*expanded_width)] = > (((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps-1)==0) && (*(ps+padded_width-1)==0) && (*(ps+padded_width)==0)) { > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[j+((expand-1-i)*expanded_width)] = > (((((i+j)<<8)/jag_len)*255)>>8); > } > if ((*(ps+1)==0) && (*(ps+padded_width+1)==0) && (*(ps+padded_width)==0)){ > > for (i=0; i<jag_len; i++) > for (j=0; j<jag_len-i; j++) > es[(expand-1-j)+((expand-1-i)*expanded_width)] = > (((((i+j)<<8)/jag_len)*255)>>8); > } > } > } > } > ; > > > > > > > PRUint32 ratio = ((dst_width<<8)/expand)/src_width; > > PRUint32 hsd_len = (dst_buffer_width+1) * expanded_height; > if (hsd_len > sizeof(buffer)) { > horizontally_scaled_data = (PRUint8*)nsMemory::Alloc(hsd_len); > memset(horizontally_scaled_data, 0, hsd_len); > } > for (i=0; i<hsd_len; i++) > horizontally_scaled_data[i] = 0; > > PRUint32 len_x = src_width * expand; > pHsd = horizontally_scaled_data; > for (y=0; y<expanded_height; y++,pHsd+=dst_buffer_width) { > for (x=0; x<len_x; x++) { > PRUint32 exp_index = start_x + x + (y*expanded_width); > PRUint8 src_val = expanded_data[exp_index]; > if (!src_val) > continue; > PRUint32 area_begin = x * ratio; > PRUint32 area_end = (x+1) * ratio; > PRUint32 end_pixel = (area_end+255)&0xffffff00; > for (col=(area_begin&0xffffff00); col<end_pixel; col+=256) { > PRUint32 this_begin = (((col) > (area_begin)) ? (col) : (area_begin)); > PRUint32 this_end = ((((col+256)) < (area_end)) ? ((col+256)) : (area_end)); > pHsd[col>>8] += (PRUint8)(((this_end-this_begin)*src_val)>>8); > if ((&pHsd[col>>8]-horizontally_scaled_data) > (int)hsd_len) { > ; > return; > } > } > } > > ; > > } > > > > > ratio = ((dst_height<<8)/expand)/src_height; > PRUint32 len_y = src_height * expand; > for (x=0; x<dst_width; x++) { > pHsd = horizontally_scaled_data + x + (start_y*dst_buffer_width); > pDst = dst + x; > for (y=0; y<len_y; y++,pHsd+=dst_buffer_width) { > PRUint8 src_val = *pHsd; > if (src_val == 0) > continue; > PRUint32 area_begin = y * ratio; > PRUint32 area_end = area_begin + ratio; > PRUint32 end_pixel = (area_end+255)&0xffffff00; > PRUint32 c; > PRUint32 col; > for (c=(area_begin>>8)*dst_buffer_width,col=(area_begin&0xffffff00); > col<end_pixel; c+=dst_buffer_width,col+=256) { > PRUint32 this_begin = (((col) > (area_begin)) ? (col) : (area_begin)); > PRUint32 this_end = ((((col+256)) < (area_end)) ? ((col+256)) : (area_end)); > PRUint32 val = (((this_end-this_begin)*src_val)>>8); > pDst[c] += val; > } > } > ; > } > if (expanded_data != exp_buffer) > free(expanded_data); > if (horizontally_scaled_data != buffer) > free(horizontally_scaled_data); >} ># 1338 "nsXFontAAScaledBitmap.cpp" >static void >WeightTableInitLinearCorrection(PRUint8* aTable, PRUint8 aMinValue, > double aGain) >{ > > for (int i=0; i<256; i++) { > int val = i; > if (i>=aMinValue) > val += (int)rint((double)(i-aMinValue)*aGain); > val = (((0) > (val)) ? (0) : (val)); > val = (((val) < (255)) ? (val) : (255)); > aTable[i] = (PRUint8)val; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 53303
: 32914